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  -  FONT::TTF::POST (3)

.ds Aq ’

NAME

Font::TTF::Post - Holds the Postscript names for each glyph

CONTENTS

DESCRIPTION

Holds the postscript names for glyphs. Note that they are not held as an array, but as indexes into two lists. The first list is the standard Postscript name list defined by the TrueType standard. The second comes from the font directly.

Looking up a glyph from a Postscript name or a name from a glyph number is achieved through methods rather than variable lookup.

This class handles PostScript table types of 1, 2, 2.5 & 3, but not version 4. Support for version 2.5 is as per Apple spec rather than MS.

The way to look up Postscript names or glyphs is:



    $pname = $f->{post}{VAL}[$gnum];
    $gnum = $f->{post}{STRINGS}{$pname};



INSTANCE VARIABLES

Due to different systems having different limitations, there are various class variables available to control what post table types can be written.
$Font::TTF::Post::no25 If set tells Font::TTF::Post::out to use table type 2 instead of 2.5 in case apps cannot handle version 2.5.
VAL Contains an array indexed by glyph number of Postscript names. This is used when writing out a font.
STRINGS An associative array of Postscript names mapping to the highest glyph with that name. These may not be in sync with VAL.
In addition there are the standard introductory variables defined in the standard:



    FormatType
    italicAngle
    underlinePosition
    underlineThickness
    isFixedPitch
    minMemType42
    maxMemType42
    minMemType1
    maxMemType1



METHODS

CW$t->read

Reads the Postscript table into memory from disk

CW$t->out($fh)

Writes out a new Postscript name table from memory or copies from disk

CW$t->XML_element($context, CW$depth, CW$key, CW$val)

Outputs the names as one block of XML

CW$t->minsize()

Returns the minimum size this table can be. If it is smaller than this, then the table must be bad and should be deleted or whatever.

BUGS

o No support for type 4 tables

AUTHOR

Martin Hosken <http://scripts.sil.org/FontUtils>.

LICENSING

Copyright (c) 1998-2014, SIL International (http://www.sil.org)

This module is released under the terms of the Artistic License 2.0. For details, see the full text of the license in the file LICENSE.

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


perl v5.20.3 FONT::TTF::POST (3) 2014-12-10

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