Subclassed from PDF::API2::PDF::TTFont0 and PDF::API2::Font.
Returns a truetype font object (called from $pdf->ttfont).
Returns a properly formated string-representation of $text for use in the PDF but requires $text to be in UCS2.
Returns a properly formated string-representation of $text for use in the PDF but requires $text to be in UTF8.
Returns a properly formated string-representation of $text for use in the PDF.
Returns the width of $text as if it were at size 1.
Returns the widths of the words in $text as if they were at size 1.
Returns the width of $text as if it were at size 1, but requires $text to be in UCS2.
Returns the width of $text as if it were at size 1, but requires $text to be in UTF8.
Returns the texts bounding-box as if it were at size 1.
Returns the texts bounding-box as if it were at size 1.
Returns the texts bounding-box as if it were at size 1.
Changes the encoding of the font object. Since encodings are one virtual in ::API2 for truetype fonts you DONT have to use 'clone'.
alfred reibenschuh