Text::PDF::TTFont->new($parent,$fontfname.$pdfname)
Creates a new font resource for the given fontfile. This includes the font descriptor and the font
stream. The $pdfname is the name by which this font resource will be known throughout a particular PDF
file.
All font resources are full PDF objects.
out_text($text)
Returns the string to be put into a content stream for text to be output in this font. The text is
assumed to be UTF8 encoded and the return string is a glyph sequence for the text. If subsetting is
enabled, then all the glyphs returned are also marked for output.
out_glyphs(@n)
Marks the glyphs as being needed in the output font when subsetting. Returns a string to render the
glyphs as specified.
width($text)
Returns the width of the string, assuming it to be UTF8 encoded.
outobjdeep($fh,$pdf,%opts)
Handles the creation of the font stream including subsetting at this point. So if you get this far,
that's it for subsetting.
ship_out($pdf)
Ship this font out to the given $pdf file context
empty
Empty the font of as much as possible in order to save memory
perl v5.36.0 2022-10-22 Text::PDF::TTFont0(3pm)