Returns a font object.
Defined Options:
-nonembed ... prohibits embedding of the font (you cant use utf8 with that). |
-encode ... specify fonts encoding for non-utf8 text. |
Returns a corefont object. This method is different from 'new' that it needs an PDF::API2-object rather than a Text::PDF::File-object.
Returns a properly formated string-representation of $text for use in the PDF.
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 the width of $text as if it 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 widths of the words in $text as if they were at size 1.
Returns a font object.
Returns a properly formated string-representation of $text for use in the PDF.
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 the width of $text as if it 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 widths of the words in $text as if they were at size 1.
alfred reibenschuh