Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

PDF::API2::Basic::TTF::Post
Holds the Postscript names for each glyph

PDF::API2::Basic::TTF::Post - Holds the Postscript names for each glyph


NAME

PDF::API2::Basic::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.

$PDF::API2::Basic::TTF::Post::no25
If set tells PDF::API2::Basic::TTF::Post::out to use table type 2 instead of 2.5 in case apps can't 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


BUGS

  • No support for type 4 tables


AUTHOR

Martin Hosken Martin_Hosken@sil.org. See the PDF::API2::Basic::TTF::Font manpage for copyright and licensing.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy