PDF::Builder::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).
Return the font's name to be used internally (should be equal to $font->name()).
Return the font's symbol flag (i.e., is this a symbol font).
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 (average width) 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 font's 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 font's default map.
Return the glyph's name by the font's Unicode map. CAUTION: 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. This is a value, that when divided by 1000 and multiplied by the font size (height in points), gives the advance width to the next character's start. Typically, the width will be under 1000.
Return the Unicode character's width. This is a value, that when divided by 1000 and multiplied by the font size (height in points), gives the advance width to the next character's start. Typically, the width will be under 1000.
Return the character's width based on the current encoding. This is a value, that when divided by 1000 and multiplied by the font size (height in points), gives the advance width to the next character's start. Typically, the width will be under 1000.
Return true if the character's width (based on the current encoding) is supplied by "missing width" of font.
Return the character's width based on the font's default encoding. This is a value, that when divided by 1000 and multiplied by the font size (height in points), gives the advance width to the next character's start. Typically, the width will be under 1000.
Return the width of $text as if it were at size 1. CAUTION: works correctly only if a proper Perl string is used, either in native or UTF-8 format (check utf8-flag).
Return (as an array) 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 $string for use in the PDF.
Return a properly formatted representation of $string, with kerning, for use in the PDF.
To install PDF::Builder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PDF::Builder
CPAN shell
perl -MCPAN -e shell install PDF::Builder
For more information on module installation, please visit the detailed CPAN module installation guide.