DOKK / manpages / debian 12 / libpdf-api2-perl / PDF::API2::Resource::CIDFont.3pm.en
PDF::API2::Resource::CIDFont(3pm) User Contributed Perl Documentation PDF::API2::Resource::CIDFont(3pm)

PDF::API2::Resource::CIDFont - Base class for CID fonts

$font = PDF::API2::Resource::CIDFont->new $pdf, $name
Returns a cid-font object. base class form all CID based fonts.
$cidstring = $font->cidsByStr $string
Returns the cid-string from string based on the fonts encoding map.
$cidstring = $font->cidsByUtf $utf8string
Returns the cid-encoded string from utf8-string.
2022-12-23 perl v5.36.0