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 retrieved 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
42
43perl v5.30.0                      2019-09-P1D8F::API2::Resource::Font::SynFont(3)
Impressum