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

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.
2014-09-12 perl v5.20.1