1Font::TTF::GDEF(3)    User Contributed Perl Documentation   Font::TTF::GDEF(3)
2
3
4

NAME

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

DESCRIPTION

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

INSTANCE VARIABLES

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

METHODS

65   $t->read
66       Reads the table into the data structure
67
68   $t->out($fh)
69       Writes out this table.
70
71   $t->minsize()
72       Returns the minimum size this table can be. If it is smaller than this,
73       then the table must be bad and should be deleted or whatever.
74
75   $t->update
76       Sort COVERAGE tables.
77

AUTHOR

79       Martin Hosken <http://scripts.sil.org/FontUtils>.
80

LICENSING

82       Copyright (c) 1998-2016, SIL International (http://www.sil.org)
83
84       This module is released under the terms of the Artistic License 2.0.
85       For details, see the full text of the license in the file LICENSE.
86
87
88
89perl v5.32.0                      2020-07-28                Font::TTF::GDEF(3)
Impressum