PDF::API2::Resource::BaseFont3pm
Base class for font resources
Methods
$font = PDF::API2::Resource::BaseFont->new($pdf, $name)
|
Return a font resource object. |
|---|---|
$descriptor = $font->
|
Return the font's FontDescriptor key structure based on the font's data. |
String methods
$utf8_string = $font->utfByStr($string)
|
Return the utf8-string from string based on the font's encoding map. |
|---|---|
$string = $font->strByUtf($utf8_string)
|
Return the encoded string from utf8-string based on the font's encoding map. |
$pdf_string = $font->textByStr($text)
|
Return a properly formatted representation of |
Releases
11 releases since Debian 3.1 (Sarge); the text changed 10 times.