1PDF::API2::Resource::FoUnste:r:SCyonnFtornitb(u3t)ed PerPlDFD:o:cAuPmIe2n:t:aRteisoonurce::Font::SynFont(3)
2
3
4

NAME

6       PDF::API2::Resource::Font::SynFont - Module for using synthetic Fonts.
7

SYNOPSIS

9           #
10           use PDF::API2;
11           #
12           $pdf = PDF::API2->new;
13           $sft = $pdf->synfont($cft);
14           #
15

METHODS

17       $font = PDF::API2::Resource::Font::SynFont->new $pdf, $fontobj,
18       %options
19           Returns a synfont object.
20
21           Valid %options are:
22
23           -encode ... changes the encoding of the font from its default.  See
24           perl's Encode for the supported values.
25
26           -pdfname ... changes the reference-name of the font from its
27           default.  The reference-name is normally generated automatically
28           and can be retrived via $pdfname=$font->name.
29
30           -slant ... slant/expansion factor (0.1-0.9 = slant, 1.1+ =
31           expansion).
32
33           -oblique ... italic angle (+/-)
34
35           -bold ... embolding factor (0.1+, bold=1, heavy=2, ...).
36
37           -space ... additional charspacing in em (0-1000).
38
39           -caps ... create synthetic small-caps.
40
41       $font = PDF::API2::Resource::Font::SynFont->new_api $api, $fontobj,
42       %options
43           Returns a synfont object. This method is different from 'new' that
44           it needs an PDF::API2-object rather than a
45           PDF::API2::PDF::File-object.
46

AUTHOR

48       alfred reibenschuh
49
50
51
52perl v5.12.2                      2011-01-P2D4F::API2::Resource::Font::SynFont(3)
Impressum