($llx,$lly, $urx,$ury) = $font->fontbbox()
Return the font's bounding box.
$capheight = $font->capheight()
Return the font's capheight value.
$xheight = $font->xheight()
Return the font's xheight value.
$missingwidth = $font->missingwidth()
Return the font's missingwidth value.
$maxwidth = $font->maxwidth()
Return the font's maxwidth value.
$avgwidth = $font->avgwidth()
Return the font's avgwidth (average width) value.
$flags = $font->flags()
Return the font's flags value.
$stemv = $font->stemv()
Return the font's stemv value.
$stemh = $font->stemh()
Return the font's stemh value.
$italicangle = $font->italicangle()
Return the font's italicangle (slant, obliqueness)
value.
$isfixedpitch = $font->isfixedpitch()
Return the font's isfixedpitch flag.
$underlineposition = $font->underlineposition()
Return the font's underlineposition value.
$underlinethickness = $font->underlinethickness()
Return the font's underlinethickness value.
$ascender = $font->ascender()
Return the font's ascender value.
$descender = $font->descender()
Return the font's descender value.
@names = $font->glyphNames()
Return the defined glyph names of the font.
$glNum = $font->glyphNum()
Return the number of defined glyph names of the
font.
$uni = $font->uniByGlyph($char)
Return the unicode by glyph name.
$uni = $font->uniByEnc($char)
Return the Unicode by the font's encoding map.
$uni = $font->uniByMap($char)
Return the Unicode by the font's default map.
$char = $font->encByGlyph($glyph)
Return the character by the given glyph name of the
font's encoding map.
$char = $font->encByUni($uni)
Return the character by the given Unicode of the font's
encoding map.
$char = $font->mapByGlyph($glyph)
Return the character by the given glyph name of the
font's default map.
$char = $font->mapByUni($uni)
Return the character by the given Unicode of the font's
default map.
$name = $font->glyphByUni($unicode)
Return the glyph's name by the font's Unicode map.
CAUTION: non-standard glyph-names are mapped onto the ms-symbol area
(0xF000).
$name = $font->glyphByEnc($char)
Return the glyph's name by the font's encoding map.
$name = $font->glyphByMap($char)
Return the glyph's name by the font's default map.
$width = $font->wxByGlyph($glyph)
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.
$width = $font->wxByUni($uni)
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.
$width = $font->wxByEnc($char)
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.
$flag = $font->wxMissingByEnc($char)
Return true if the character's width (based on the
current encoding) is supplied by "missing width" of font.
$width = $font->wxByMap($char)
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.
$wd = $font->width($text)
Return the width of $text as if
it were at font size 1 (unscaled). CAUTION: works correctly only if a
proper Perl string is used, either in native or UTF-8 format (check
utf8-flag).
@widths = $font->width_array($text)
Return (as an array) the widths of the words in
$text as if they were at size 1.
$utf8string = $font->utfByStr($string)
Return the utf8-string from string based on the font's
encoding map.
$string = $font->strByUtf($utf8_string)
Return the encoded string from utf8-string based on the
font's encoding map.
$pdf_string = $font->textByStr($string)
Return a properly formatted representation of
$string for use in the PDF.
$pdf_string = $font->textByStrKern($string)
Return a properly formatted representation of
$string, with kerning, for use in the PDF.