PDF::API2::Resource::BaseFont - Base class for font resources
Return a font resource object.
Return the font's FontDescriptor key structure based on the font's data.
Return the font's name (a.k.a. display name).
Return the font's alternative name (a.k.a. Windows name for a postscript font).
Return the font's subname (a.k.a. font variant, schriftschnitt).
Return the font's name to be used internally (should be equal to $font->name()).
Return the font's symbol flag.
Return the font's Compact Font Format flag.
Return the font's bounding box.
Return the font's capheight value.
Return the font's xheight value.
Return the font's missingwidth value.
Return the font's maxwidth value.
Return the font's avgwidth value.
Return the font's flags value.
Return the font's stemv value.
Return the font's stemh value.
Return the font's italicangle value.
Return the font's isfixedpitch flag.
Return the font's underlineposition value.
Return the font's underlinethickness value.
Return the font's ascender value.
Return the font's descender value.
Return the defined glyph names of the font.
Return the number of defined glyph names of the font.
Return the unicode by glyph name.
Return the unicode by the fonts encoding map.
Return the unicode by the font's default map.
Return the character by the given glyph name of the font's encoding map.
Return the character by the given unicode of the font's encoding map.
Return the character by the given glyph name of the font's default map.
Return the character by the given unicode of the fonts default map.
Return the glyph's name by the font's unicode map. BEWARE: non-standard glyph-names are mapped onto the ms-symbol area (0xF000).
Return the glyph's name by the font's encoding map.
Return the glyph's name by the font's default map.
Return the glyph's width.
Return the unicode's width.
Return the character's width based on the current encoding.
Return the character's width based on the font's default encoding.
Return the width of $text as if it were at size 1.
Return the widths of the words in $text as if they were at size 1.
Return the utf8-string from string based on the font's encoding map.
Return the encoded string from utf8-string based on the font's encoding map.
Return a properly formatted representation of $text for use in the PDF.
To install PDF::API2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PDF::API2
CPAN shell
perl -MCPAN -e shell install PDF::API2
For more information on module installation, please visit the detailed CPAN module installation guide.