1Font::TTF::OldMort(3) User Contributed Perl DocumentationFont::TTF::OldMort(3)
2
3
4

NAME

6       Font::TTF::OldMort - Glyph Metamorphosis table in a font
7

DESCRIPTION

INSTANCE VARIABLES

10version
11table version number (Fixed: currently 1.0)
12
13chains
14list of metamorphosis chains, each of which has its own fields:
15
16defaultFlags
17    chain's default subfeature flags (UInt32)
18
19featureEntries
20    list of feature entries, each of which has fields:
21
22    type
23    setting
24    enable
25    disable
26subtables
27    list of metamorphosis subtables, each of which has fields:
28
29    type
30        subtable type (0: rearrangement; 1: contextual substitution; 2: liga‐
31        ture; 4: non-contextual substitution; 5: insertion)
32
33    direction
34        processing direction ('LR' or 'RL')
35
36    orientation
37        applies to text in which orientation ('VH', 'V', or 'H')
38
39    subFeatureFlags
40        the subfeature flags controlling whether the table is used (UInt32)
41
42    Further fields depend on the type of subtable:
43
44        Rearrangement table:
45
46        classes
47            array of lists of glyphs
48
49        states
50            array of arrays of hashes{'nextState', 'flags'}
51
52        Contextual substitution table:
53
54        classes
55            array of lists of glyphs
56
57        states
58            array of array of hashes{'nextState', 'flags', 'actions'}, where
59            "actions" is an array of two elements which are offsets to be
60            added to [marked, current] glyph to get index into "mappings" (or
61            "undef" if no mapping to be applied)
62
63        mappings
64            list of glyph codes mapped to through the state table mappings
65
66        Ligature table:
67
68        Non-contextual substitution table:
69
70        Insertion table:
71

METHODS

73       $t->read
74
75       Reads the table into memory
76
77       $t->out($fh)
78
79       Writes the table to a file either from memory or by copying
80
81       $t->print($fh)
82
83       Prints a human-readable representation of the table
84

BUGS

86       None known
87

AUTHOR

89       Jonathan Kew Jonathan_Kew@sil.org. See Font::TTF::Font for copyright
90       and licensing.
91
92
93
94perl v5.8.8                       2005-06-14             Font::TTF::OldMort(3)
Impressum