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


Manual Reference Pages  -  TEXT::PDF::TTFONT0 (3)

.ds Aq ’

NAME

Text::PDF::TTFont0 - Inherits from PDF::Dict and represents a TrueType Type 0 font within a PDF file.

CONTENTS

DESCRIPTION

A font consists of two primary parts in a PDF file: the header and the font descriptor. Whilst two fonts may share font descriptors, they will have their own header dictionaries including encoding and widhth information.

INSTANCE VARIABLES

There are no instance variables beyond the variables which directly correspond to entries in the appropriate PDF dictionaries.

METHODS

Text::PDF::TTFont->new($parent, CW$fontfname. CW$pdfname)

Creates a new font resource for the given fontfile. This includes the font descriptor and the font stream. The $pdfname is the name by which this font resource will be known throughout a particular PDF file.

All font resources are full PDF objects.

    out_text($text)

Returns the string to be put into a content stream for text to be output in this font. The text is assumed to be UTF8 encoded and the return string is a glyph sequence for the text. If subsetting is enabled, then all the glyphs returned are also marked for output.

    out_glyphs(@n)

Marks the glyphs as being needed in the output font when subsetting. Returns a string to render the glyphs as specified.

    width($text)

Returns the width of the string, assuming it to be UTF8 encoded.

outobjdeep($fh, CW$pdf, CW%opts)

Handles the creation of the font stream including subsetting at this point. So if you get this far, that’s it for subsetting.

    ship_out($pdf)

Ship this font out to the given $pdf file context

    empty

Empty the font of as much as possible in order to save memory
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TEXT::PDF::TTFONT0 (3) 2006-03-17

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