5 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Apologies about the earlier post, i didnt realise, could i delete that post? I apologise again,
SynGc (1 Reply)
Discussion started by: SynGc
1 Replies
2. Forum Support Area for Unregistered Users & Account Problems
how to post threads (1 Reply)
Discussion started by: trims
1 Replies
3. Forum Support Area for Unregistered Users & Account Problems
Hi i am new to this forum, I sould'nt find the link to post anew topic. Please help me. Thanks (1 Reply)
Discussion started by: ygiriprashanth
1 Replies
4. Post Here to Contact Site Administrators and Moderators
Hi,
I had a post on Friday with subject like "Notification from background".
Its not visible today. :confused:
Any ideas. (6 Replies)
Discussion started by: vibhor_agarwali
6 Replies
5. Forum Support Area for Unregistered Users & Account Problems
I registed yesterday and still not able to post my question. what could be the reason?
Pl reply. (1 Reply)
Discussion started by: Ramshree
1 Replies
LEARN ABOUT CENTOS
font::ttf::post
Font::TTF::Post(3) User Contributed Perl Documentation Font::TTF::Post(3)
NAME
Font::TTF::Post - Holds the Postscript names for each glyph
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
$t->read
Reads the Postscript table into memory from disk
$t->out($fh)
Writes out a new Postscript name table from memory or copies from disk
$t->XML_element($context, $depth, $key, $val)
Outputs the names as one block of XML
BUGS
o No support for type 4 tables
AUTHOR
Martin Hosken Martin_Hosken@sil.org. See Font::TTF::Font for copyright and licensing.
perl v5.16.3 2012-02-23 Font::TTF::Post(3)