GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PDF::Builder::Resource::Font::Postscript(3) User Contributed Perl Documentation PDF::Builder::Resource::Font::Postscript(3)

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_file" is still accepted as an (older) alternative to "afmfile".

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_file" is still accepted as an (older) alternative to "pfmfile".

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.

"kerning" is still accepted as an (older) alternative to "dokern".

2025-04-19 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.