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

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

$font = PDF::Builder::Resource::CIDFont->new($pdf, $name)
Returns a cid-font object, base class for all CID-based fonts.
$cidstring = $font->cidsByStr($string)
Returns the cid-string from string based on the font's encoding map.
$cidstring = $font->cidsByUtf($utf8string)
Returns the CID-encoded string from utf8-string.
2023-01-24 perl v5.36.0