1PDF::Builder::Resource:U:sFeorntC:o:nBtdrFiobnutt(e3d)PPeDrFl::DBouciulmdeenrt:a:tRieosnource::Font::BdFont(3)
2
3
4

NAME

6       PDF::Builder::Resource::Font::BdFont - Module for using bitmapped
7       Fonts.
8

SYNOPSIS

10           #
11           use PDF::Builder;
12           #
13           $pdf = PDF::Builder->new();
14           $sft = $pdf->bdfont($file);
15           #
16
17       This creates a bitmapped font from a .bdf (bitmap distribution font)
18       file.  The default is to use square elements, and the style can be
19       changed to use filled dots (looking more like a dot-matrix printer).
20       The font will be embedded in the PDF file.
21
22       Bitmapped fonts are quite rough, low resolution, and difficult to read,
23       so unless you're a sadist who wants to force readers back to the good
24       old days of dot-matrix printers and bitmapped X terminals, try to limit
25       the use of such a font to decorative or novelty effects, such as
26       chapter titles and major headings. Have mercy on your readers and use a
27       real font (TrueType, etc.)  for body text!
28

METHODS

30       $font = PDF::Builder::Resource::Font::BdFont->new($pdf, $font,
31       %options)
32       $font = PDF::Builder::Resource::Font::BdFont->new($pdf, $font)
33           Returns a BmpFont object.
34
35           Valid %options are:
36
37           -pdfname ... changes the reference-name of the font from its
38           default.  The reference-name is normally generated automatically
39           and can be retrieved via "$pdfname=$font-"name()>.
40
41           -style ... a value of 'block' (default) assembles a character from
42           contiguous square blocks. A value of 'dot' assembles a character
43           from overlapping filled circles, in the style of a dot matrix
44           printer.
45

AUTHOR

47       alfred reibenschuh
48
49
50
51perl v5.32.1                      2021-0P3D-F2:9:Builder::Resource::Font::BdFont(3)
Impressum