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 4 tables in the GDEF table, each with their own structure:
15
16 GLYPH
17 This is an Font::TTF::Coverage Class Definition table containing
18 information as to what type each glyph is.
19
20 ATTACH
21 The attach table consists of a coverage table and then attachment
22 points for each glyph in the coverage table:
23
24 COVERAGE
25 This is a coverage table
26
27 POINTS This is an array of point elements. Each element is an
28 array of curve points corresponding to the attachment
29 points on that glyph. The order of the curve points in the
30 array corresponds to the attachment point number specified
31 in the MARKS coverage table (see below).
32
33 LIG This contains the ligature caret positioning information for
34 ligature glyphs
35
36 COVERAGE
37 A coverage table to say which glyphs are ligatures
38
39 LIGS An array of elements for each ligature. Each element is an
40 array of information for each caret position in the
41 ligature (there being number of components - 1 of these,
42 generally)
43
44 FMT This is the format of the information and is
45 important to provide the semantics for the
46 value. This value must be set correctly before
47 output
48
49 VAL The value which has meaning according to FMT
50
51 DEVICE For FMT = 3, a device table is also referenced
52 which is stored here
53
54 MARKS
55 Due to confusion in the GDEF specification, this field is currently
56 withdrawn until the confusion is resolved. That way, perhaps this
57 stuff will work!
58
59 This class definition table stores the mark attachment point
60 numbers for each attachment mark, to indicate which attachment
61 point the mark attaches to on its base glyph.
62
64 $t->read
65 Reads the table into the data structure
66
67 $t->out($fh)
68 Writes out this table.
69
70
71
72perl v5.10.1 2008-06-11 Font::TTF::GDEF(3)