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::TTFONT (3)

.ds Aq ’

NAME

Text::PDF::TTFont - Inherits from Text::PDF::Dict and represents a TrueType 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, CW%opts)

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 throught a particular PDF file.

All font resources are full PDF objects.

CW$t->width($text)

Measures the width of the given text according to the widths in the font

CW$t->trim($text, CW$len)

Trims the given text to the given length (in per mille em) returning the trimmed text

CW$t->out_text($text)

Indicates to the font that the text is to be output and returns the text to be output

CW$f->copy

Copies the font object excluding the name, widths and encoding, etc.

TITLE

Text::PDF::TTIOString - internal IO type handle for string output for font embedding. This code is ripped out of IO::Scalar, to save the direct dependence for so little. See IO::Scalar for details
Search for    or go to Top of page |  Section 3 |  Main Index


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

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