1PDF::API2::Resource::FoUnste:r:CCoornetFroinbtu(t3e)d PePrDlF:D:oAcPuIm2e:n:tRaetsioounrce::Font::CoreFont(3)
2
3
4
6 PDF::API2::Resource::Font::CoreFont - Module for using the 14 PDF
7 built-in Fonts.
8
10 #
11 use PDF::API2;
12 #
13 $pdf = PDF::API2->new;
14 $cft = $pdf->corefont('Times-Roman');
15 #
16
18 $font = PDF::API2::Resource::Font::CoreFont->new $pdf, $fontname,
19 %options
20 Returns a corefont object.
21
22 Valid %options are:
23
24 -encode ... changes the encoding of the font from its default. See
25 perl's Encode for the supported values.
26
27 -pdfname ... changes the reference-name of the font from its
28 default. The reference-name is normally generated automatically
29 and can be retrieved via $pdfname=$font->name.
30
31 PDF::API2::Resource::Font::CoreFont->loadallfonts()
32 "Requires in" all fonts available as corefonts.
33
35 PDF::API2::CoreFont supports the following 'Adobe Core Fonts':
36 Courier
37 Courier-Bold
38 Courier-BoldOblique
39 Courier-Oblique
40 Helvetica
41 Helvetica-Bold
42 Helvetica-BoldOblique
43 Helvetica-Oblique
44 Symbol
45 Times-Bold
46 Times-BoldItalic
47 Times-Italic
48 Times-Roman
49 ZapfDingbats
50
51 PDF::API2::CoreFont supports the following 'Windows Fonts':
52 Georgia
53 Georgia,Bold
54 Georgia,BoldItalic
55 Georgia,Italic
56 Verdana
57 Verdana,Bold
58 Verdana,BoldItalic
59 Verdana,Italic
60 Webdings
61 Wingdings
62
64 Alfred Reibenschuh
65
66
67
68perl v5.32.0 2020-07P-D2F8::API2::Resource::Font::CoreFont(3)