SWF.Font man page on Cygwin

Man page or keyword search:  
man Server   22533 pages
apropos Keyword Search (all sections)
Output format
Cygwin logo
[printable version]

SWF::Font(3)	      User Contributed Perl Documentation	  SWF::Font(3)

NAME
       SWF::Font - SWF Font class

SYNOPSIS
	       use SWF::Font;
	       $font = new SWF::Font();

DESCRIPTION
       Font object for later usage in Text and TextField objects.

NOTES
       Ming 0.3's old getShape($font, $code) has been removed from interface.
       For getting details of glyph information you could draw a character
       into a shape and call dumpOutline() method, just like

	       $sh=new SWF::Shape();
	       $sh->drawGlyph($font, $char_nr);
	       print $sh->dumpOutline();

METHODS
       new SWF::Font($filename)
	   Creates a Font object. $filename selects either True-Type Font
	   '(ttf') file or Font Definition Block ('fdb') file as written by
	   makefdb tool.

       $font->getStringWidth($string)
       $font->getUTF8StringWidth($UTF8string)
	   Returns width of given string in pixels.

       $font->getAscent()
	   Returns the ascent of the current font, or 0 if not available.

       $font->getDescent()
	   Returns the descent of the current font, or 0 if not available.

       $font->getLeading()
	   Returns the leading of the current font, or 0 if not available.

       $font->getName()
	   Returns the name of the current font, do not confuse with font
	   filename.

       $font->getGlyphCount()
	   Returns the glyph count of the current font.

AUTHOR
       developers of ming ming.sourceforge.net

SEE ALSO
       SWF, SWF::BrowserFont, SWF::Text, SWF::TextField, SWF::Shape, ISO 10646
       (Unicode)

perl v5.14.2			  2010-10-10			  SWF::Font(3)
[top]

List of man pages available for Cygwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net