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 retrived via $pdfname=$font->name.
28
29 $font = PDF::API2::Resource::Font::BdFont->new_api $api, %options
30 Returns a BdFont object. This method is different from 'new' that
31 it needs an PDF::API2-object rather than a
32 PDF::API2::PDF::File-object.
33
35 alfred reibenschuh
36
37
38
39perl v5.12.2 2011-01-2P4DF::API2::Resource::Font::BdFont(3)