1Font::TTF::GDEF(3) User Contributed Perl Documentation Font::TTF::GDEF(3)
2
3
4
6 Font::TTF::GDEF - Opentype GDEF table support
7
9 The GDEF table contains various global lists of information which are
10 apparantly used in other places in an OpenType renderer. But precisely
11 where is open to speculation...
12
14 There are up to 5 tables in the GDEF table, each with their own
15 structure:
16
17 GLYPH
18 This is an Font::TTF::Coverage Class Definition table containing
19 information as to what type each glyph is.
20
21 ATTACH
22 The attach table consists of a coverage table and then attachment
23 points for each glyph in the coverage table:
24
25 COVERAGE
26 This is a coverage table
27
28 POINTS This is an array of point elements. Each element is an
29 array of curve points corresponding to the attachment
30 points on that glyph. The order of the curve points in the
31 array corresponds to the attachment point number specified
32 in the MARKS coverage table (see below).
33
34 LIG This contains the ligature caret positioning information for
35 ligature glyphs
36
37 COVERAGE
38 A coverage table to say which glyphs are ligatures
39
40 LIGS An array of elements for each ligature. Each element is an
41 array of information for each caret position in the
42 ligature (there being number of components - 1 of these,
43 generally)
44
45 FMT This is the format of the information and is
46 important to provide the semantics for the
47 value. This value must be set correctly before
48 output
49
50 VAL The value which has meaning according to FMT
51
52 DEVICE For FMT = 3, a device table is also referenced
53 which is stored here
54
55 MARKS
56 This class definition table defines the classes of mark glyphs that
57 can be selected for processing using the MarkAttachmentType field
58 of lookup FLAG words.
59
60 MARKSETS
61 Contains an array of coverage tables indexed by the FILTER value of
62 a lookup.
63
65 $t->read
66 Reads the table into the data structure
67
68 $t->out($fh)
69 Writes out this table.
70
71 $t->update
72 Sort COVERAGE tables.
73
74
75
76perl v5.16.3 2012-08-08 Font::TTF::GDEF(3)