PDF::Builder
v3.027 Released, 18 April 2025
Please also see the
CPAN listing, the
GitHub entry, and the latest changes list.
No man ever steps in the same river twice, for it’s not the same river and he’s not the same man.
— Heraclitus
PDF::Builder::Resource::Font::Postscript - Support routines for using PostScript (Type 1) fonts
Inherits from PDF::Builder::Resource::Font
PDF::Builder::Resource::Font::Postscript->new($pdf, $psfile, %opts)
Create an object for a PostScript font. Handles ASCII (.pfa), binary (.pfb), and T1 (.t1) font files, as well as ASCII (.afm) and binary (.pfm) metrics files.
See "PS Fonts" in PDF::Builder::Docs for additional information.
Valid %opts are:
Changes the encoding of the font from its default. Notice that the encoding (not the entire font's glyph list) is shown in a PDF object (record), listing 256 glyphs associated with this encoding (and that are available in this font).
Specifies the location of the ASCII font metrics file (.afm). It may be used with either an ASCII (.pfa) or binary (.pfb) glyph file.
afm_fileis still accepted as an (older) alternative toafmfile.
Specifies the location of the binary font metrics file (.pfm). It may be used with either an ASCII (.pfa) or binary (.pfb) glyph file.
pfm_fileis still accepted as an (older) alternative topfmfile.
Changes the reference-name of the font from its default. The reference-name is normally generated automatically and can be retrieved via $pdfname=$font->name().
Enables kerning if data is available.
kerningis still accepted as an (older) alternative todokern.
Master Index
PDF::Builder -- Facilitates the creation and modification of PDF files
PDF::Builder::Resource -- Base class for PDF resources
PDF::Builder::Resource::Font -- Some common support routines for font files
PDF::Builder::Resource::Font::BdFont -- Module for using bitmapped Fonts
PDF::Builder::Resource::Font::CoreFont -- Module for using the 14 standard PDF built-in Fonts (plus 15 Windows Fonts)
PDF::Builder::Resource::Font::SynFont -- Module for creating temporary synthetic Fonts
All content © copyright 2005 – 2025
by Catskill Technology Services, LLC.
All rights reserved.
Note that Third Party software (whether Open Source or proprietary) on this
site remains under the copyright and license of its owners.
Catskill Technology Services, LLC does not claim copyright over such software.
This page is https://www.catskilltech.com/Documentation/PDF/Builder/Resource/Font/Postscript.html
Search Quotations database.
Last updated Sat, 19 Apr 2025 at 8:15 PM