Returns a font resource object.
Returns a font resource object. This method is different from 'new' that it needs an PDF::API3::Compat::API2-object rather than a Text::PDF::File-object.
Returns the fonts FontDescriptor key-structure based on the fonts data.
Returns the fonts name (aka. display-name).
Returns the fonts alternative-name (aka. windows-name for a postscript font).
Returns the fonts subname (aka. font-variant, schriftschnitt).
Returns the fonts name to be used internally (should be equal to $font->name).
Returns the fonts symbol flag.
Returns the fonts compact-font-format flag.
Returns the fonts bounding-box.
Returns the fonts capheight value.
Returns the fonts xheight value.
Returns the fonts missingwidth value.
Returns the fonts maxwidth value.
Returns the fonts avgwidth value.
Returns the fonts flags value.
Returns the fonts stemv value.
Returns the fonts stemh value.
Returns the fonts italicangle value.
Returns the fonts isfixedpitch flag.
Returns the fonts underlineposition value.
Returns the fonts underlinethickness value.
Returns the fonts ascender value.
Returns the fonts descender value.
Returns the defined glyph-names of the font.
Returns the number of defined glyph-names of the font.
Returns the unicode by glyph-name.
Returns the unicode by the fonts encoding map.
Returns the unicode by the fonts default map.
Returns the character by the given glyph-name of the fonts encoding map.
Returns the character by the given unicode of the fonts encoding map.
Returns the character by the given glyph-name of the fonts default map.
Returns the character by the given unicode of the fonts default map.
Returns the glyphs name by the fonts unicode map. BEWARE: non-standard glyph-names are mapped onto the ms-symbol area (0xF000).
Returns the glyphs name by the fonts encoding map.
Returns the glyphs name by the fonts default map.
Returns the glyphs width.
Returns the unicodes width.
Returns the characters width based on the current encoding.
Returns the characters width based on the fonts default encoding.
Returns the width of $text as if it were at size 1. BEWARE: works only correctly if a proper perl-string is used either in native or utf8 format (check utf8-flag).
Returns the widths of the words in $text as if they were at size 1.
Returns the utf8-string from string based on the fonts encoding map.
Returns the encoded string from utf8-string based on the fonts encoding map.
Returns a properly formatted representation of $text for use in the PDF.
alfred reibenschuh.
$Log: BaseFont.pm,v $ Revision 2.9 2007/10/16 20:08:19 areibens changed undef safeguards for wx* methods Revision 2.8 2007/10/10 06:18:15 areibens fixed noisy undef handling of isvirtual Revision 2.7 2007/04/07 10:25:46 areibens fixed fix for wxByGlyph not honoring cidfont width arrays Revision 2.6 2007/04/07 09:51:16 areibens fix for wxByGlyph not honoring cidfont width arrays Revision 2.5 2007/01/04 16:33:20 areibens fix acro 8 fix Revision 2.4 2007/01/04 16:02:28 areibens applied untested fix for acrobat 8 "<ident> TJ" bug Revision 2.3 2006/08/14 18:11:47 areibens fixed wxByGlyph Revision 2.2 2006/06/14 16:57:52 areibens fixed ToUnicode cmap greneration to use actual encoden rather than the default Revision 2.1 2006/06/14 16:53:00 areibens fixed unicode lookup to use actual encoding rather than default Revision 2.0 2005/11/16 02:16:04 areibens revision workaround for SF cvs import not to screw up CPAN Revision 1.2 2005/11/16 01:27:48 areibens genesis2 Revision 1.1 2005/11/16 01:19:25 areibens genesis Revision 1.18 2005/10/19 19:06:27 fredo added handling of kerning Revision 1.17 2005/06/17 19:44:03 fredo fixed CPAN modulefile versioning (again) Revision 1.16 2005/06/17 18:53:34 fredo fixed CPAN modulefile versioning (dislikes cvs) Revision 1.15 2005/03/14 22:01:06 fredo upd 2005 Revision 1.14 2005/01/21 10:03:09 fredo added object saver for cmap Revision 1.13 2004/12/16 00:30:53 fredo added no warn for recursion Revision 1.12 2004/11/24 20:10:55 fredo added virtual font handling Revision 1.11 2004/11/22 02:05:32 fredo added pdf-1.5 font param specs Revision 1.10 2004/10/26 14:41:37 fredo added panose identification style entry Revision 1.9 2004/10/17 03:55:00 fredo simplified ToUnicode associated CMap for single-byte fonts Revision 1.8 2004/10/17 03:47:36 fredo fixed inclusion of ToUnicode compatible key and associated CMap Revision 1.7 2004/06/15 09:14:41 fredo removed cr+lf Revision 1.6 2004/06/07 19:44:36 fredo cleaned out cr+lf for lf Revision 1.5 2004/04/20 09:47:34 fredo fixed unicode to font-encoding-vector conversion Revision 1.4 2003/12/08 13:05:32 Administrator corrected to proper licencing statement Revision 1.3 2003/11/30 17:28:54 Administrator merged into default Revision 1.2.2.1 2003/11/30 16:56:35 Administrator merged into default Revision 1.2 2003/11/30 11:44:49 Administrator added CVS id/log
1 POD Error
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
To install PDF::API3, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PDF::API3
CPAN shell
perl -MCPAN -e shell install PDF::API3
For more information on module installation, please visit the detailed CPAN module installation guide.