1PDF::API2::Resource::FoUnste:r:BCdoFnotnrti(b3u)ted PerlPDDFo:c:uAmPeIn2t:a:tRieosnource::Font::BdFont(3)
2
3
4
6 PDF::API2::Resource::Font::BdFont - Module for using bitmapped Fonts.
7
9 #
10 use PDF::API2;
11 #
12 $pdf = PDF::API2->new;
13 $sft = $pdf->bdfont($file);
14 #
15
17 $font = PDF::API2::Resource::Font::BdFont->new $pdf, $font, %options
18 Returns a BmpFont object.
19
20 Valid %options are:
21
22 -encode ... changes the encoding of the font from its default. See
23 perl's Encode for the supported values.
24
25 -pdfname ... changes the reference-name of the font from its
26 default. The reference-name is normally generated automatically
27 and can be retrieved via $pdfname=$font->name.
28
29
30
31perl v5.34.0 2022-01-2P1DF::API2::Resource::Font::BdFont(3)