1PDF::API2::Resource::FoUnste:r:CCoornetFroinbtu(t3e)d PePrDlF:D:oAcPuIm2e:n:tRaetsioounrce::Font::CoreFont(3)
2
3
4

NAME

6       PDF::API2::Resource::Font::CoreFont - Module for using the 14 PDF
7       built-in fonts.
8

SYNOPSIS

10           use PDF::API2;
11           my $pdf = PDF::API2->new();
12           my $font = $pdf->corefont('Times-Roman');
13

METHODS

15       $font = PDF::API2::Resource::Font::CoreFont->new($pdf, $name, %options)
16           Returns a corefont object.  Spaces and hyphens are ignored in the
17           name, which is also case-insensitive.
18
19           Valid %options are:
20
21           "-encode" changes the encoding of the font from its default.  See
22           Encode for the supported values.
23
24           "-pdfname" changes the reference name of the font from its default.
25           The reference name is normally generated automatically and can be
26           retrieved via "$name = $font-"fontname()>.
27

SUPPORTED FONTS

29       PDF::API2::CoreFont supports the following Adobe core fonts:
30             Courier
31             Courier-Bold
32             Courier-BoldOblique
33             Courier-Oblique
34             Helvetica
35             Helvetica-Bold
36             Helvetica-BoldOblique
37             Helvetica-Oblique
38             Symbol
39             Times-Bold
40             Times-BoldItalic
41             Times-Italic
42             Times-Roman
43             ZapfDingbats
44
45       PDF::API2::CoreFont supports the following Windows fonts:
46             Georgia
47             Georgia,Bold
48             Georgia,BoldItalic
49             Georgia,Italic
50             Verdana
51             Verdana,Bold
52             Verdana,BoldItalic
53             Verdana,Italic
54             Webdings
55             Wingdings
56
57
58
59perl v5.32.1                      2021-04P-D1F4::API2::Resource::Font::CoreFont(3)
Impressum