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

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

METHODS

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

BUGS

87       None known
88

AUTHOR

90       Jonathan Kew <http://scripts.sil.org/FontUtils>.
91

LICENSING

93       Copyright (c) 1998-2016, SIL International (http://www.sil.org)
94
95       This module is released under the terms of the Artistic License 2.0.
96       For details, see the full text of the license in the file LICENSE.
97
98
99
100perl v5.34.0                      2021-07-22             Font::TTF::OldMort(3)
Impressum