Scroll to navigation

PDF::API2::Resource::CIDFont::TrueType(3pm) User Contributed Perl Documentation PDF::API2::Resource::CIDFont::TrueType(3pm)

NAME

PDF::API2::Resource::CIDFont::TrueType - TrueType font support for PDF::API2

METHODS

$font = PDF::API2::Resource::CIDFont::TrueType->new $pdf, $file, %options
Returns a font object.
 
Defined Options:
 
    -encode ... specify fonts encoding for non-utf8 text.
    -nosubset ... disables subsetting.
    
$font = PDF::API2::Resource::CIDFont::TrueType->new_api $api, $file, %options
Returns a truetype-font object. This method is different from 'new' that it needs an PDF::API2-object rather than a Text::PDF::File-object.

AUTHOR

Alfred Reibenschuh
2014-03-09 perl v5.14.2