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

.ds Aq ’

NAME

Text::PDF::SFont - PDF Standard inbuilt font resource object. Inherits from Text::PDF::Dict

CONTENTS

METHODS

Text::PDF::SFont->new($parent, CW$name, CW$pdfname)

Creates a new font object with given parent and name. The name must be from one of the core 14 base fonts included with PDF. These are:



    Courier,     Courier-Bold,   Courier-Oblique,   Courier-BoldOblique
    Times-Roman, Times-Bold,     Times-Italic,      Times-BoldItalic
    Helvetica,   Helvetica-Bold, Helvetica-Oblique, Helvetica-BoldOblique
    Symbol,      ZapfDingbats



The $pdfname is the name that this particular font object will be referenced by throughout the PDF file. If you want to play silly games with naming, then you can write the code to do it!

All fonts in this system are full PDF objects.

BUGS

Currently no width support for Symbol or ZapfDingbats, I haven’t got my head around the AFMs yet.

MacExpertEncoding not supported yet (I don’t have the width info for any of the fonts)

CW$f->width($text)

Returns the width of the text in em.

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

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

CW$f->out_text($text)

Acknowledges the text to be output for subsetting purposes, etc.
Search for    or go to Top of page |  Section 3 |  Main Index


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

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