PDF::API2::Resource::Font::CoreUser(Contributed Perl DocuPDF::API2::Resource::Font::CoreFont(3pm)
NAME
PDF::API2::Resource::Font::CoreFont - Module for using the 14 standard PDF fonts.
SYNOPSIS
my $pdf = PDF::API2->new();
my $font = $pdf->font('Times-Roman');
my $page = $pdf->page();
my $text = $page->text();
$text->font($font, 20);
$text->translate(200, 700);
$text->text('Hello world!');
$pdf->save('/path/to/new.pdf');
STANDARD FONTS
The following fourteen fonts are available in all PDF readers that conform to the PDF
specification:
o Courier
o Courier-Bold
o Courier-BoldOblique
o Courier-Oblique
o Helvetica
o Helvetica-Bold
o Helvetica-BoldOblique
o Helvetica-Oblique
o Symbol
o Times-Bold
o Times-BoldItalic
o Times-Italic
o Times-Roman
o ZapfDingbats
These fonts (except Symbol and ZapfDingbats) include glyphs for ASCII and certain Latin
characters only. If other characters are needed, you will need to embed a font file.
METHODS
is_standard
my $boolean = $class->is_standard($name);
Returns true if $name is an exact, case-sensitive match for one of the standard font names
shown above.
perl v5.32.1 2021-12-11 PDF::API2::Resource::Font::CoreFont(3pm)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2025-11-21 16:29 @216.73.216.57 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)