Scroll to navigation

Font::TTF::GDEF(3) User Contributed Perl Documentation Font::TTF::GDEF(3)

NAME

Font::TTF::GDEF - Opentype GDEF table support

DESCRIPTION

The GDEF table contains various global lists of information which are apparantly used in other places in an OpenType renderer. But precisely where is open to speculation...

INSTANCE VARIABLES

There are up to 5 tables in the GDEF table, each with their own structure:

This is an Font::TTF::Coverage Class Definition table containing information as to what type each glyph is.
The attach table consists of a coverage table and then attachment points for each glyph in the coverage table:
This is a coverage table
This is an array of point elements. Each element is an array of curve points corresponding to the attachment points on that glyph. The order of the curve points in the array corresponds to the attachment point number specified in the MARKS coverage table (see below).
This contains the ligature caret positioning information for ligature glyphs
A coverage table to say which glyphs are ligatures
An array of elements for each ligature. Each element is an array of information for each caret position in the ligature (there being number of components - 1 of these, generally)
This is the format of the information and is important to provide the semantics for the value. This value must be set correctly before output
The value which has meaning according to FMT
For FMT = 3, a device table is also referenced which is stored here
This class definition table defines the classes of mark glyphs that can be selected for processing using the MarkAttachmentType field of lookup FLAG words.
Contains an array of coverage tables indexed by the FILTER value of a lookup.

METHODS

$t->read

Reads the table into the data structure

$t->out($fh)

Writes out this table.

$t->update

Sort COVERAGE tables.

2012-08-08 perl v5.16.3