Font::TTF::OldMort(3)
β¨ NAME β¨
Font::TTF::OldMort β Glyph Metamorphosis table in a font. This page is from the User Contributed Perl Documentation, bestie, and itβs all about that table.
π DESCRIPTION π
Okay so thereβs literally no extra description text here β the NAME already gave you the whole Glyph Metamorphosis table in a font vibe. The actual detail starts in INSTANCE VARIABLES, so letβs go π¦.
π§ INSTANCE VARIABLES π§
Hereβs the field-by-field tea β β all the names and values stay exactly as the original lists them.
versionβ table version number (Fixed: currently1.0)chainsβ list of metamorphosis chains, each of which has its own fields:defaultFlagsβ chain's default subfeature flags (UInt32)featureEntriesβ list of feature entries, each of which has fields:typesettingenabledisable
subtablesβ list of metamorphosis subtables, each of which has fields:typeβ subtable type (0: rearrangement;1: contextual substitution;2: ligature;4: non-contextual substitution;5: insertion)directionβ processing direction ('LR'or'RL')orientationβ applies to text in which orientation ('VH','V', or'H')subFeatureFlagsβ the subfeature flags controlling whether the table is used (UInt32)- Further fields depend on the type of subtable:
- Rearrangement table:
classesβ array of lists of glyphsstatesβ array of arrays ofhashes{'nextState', 'flags'}
- Contextual substitution table:
classesβ array of lists of glyphsstatesβ array of array ofhashes{'nextState', 'flags', 'actions'}, whereactionsis an array of two elements which are offsets to be added to [marked, current] glyph to get index intomappings(orundefif no mapping to be applied)mappingsβ list of glyph codes mapped to through the state table mappings
- Ligature table: β no extra fields are listed here in the original
- Non-contextual substitution table: β no extra fields are listed here in the original
- Insertion table: β no extra fields are listed here in the original
- Rearrangement table:
π οΈ METHODS π οΈ
π $t->read
Reads the table into memory. Thatβs the whole assignment, bestie.
π $t->out($fh)
Writes the table to a file either from memory or by copying. Both routes are in the original, so we keep both.
π $t->print($fh)
Prints a human-readable representation of the table. Very βlet me see the table with my own eyesβ energy.
π BUGS π
None known. Thatβs it β the original says None known, periodt.
π AUTHOR π
Jonathan Kew <http://scripts.sil.org/FontUtils>.
π LICENSING π
Copyright (c) 1998-2016, SIL International (http://www.sil.org)
This module is released under the terms of the Artistic License 2.0. For details, see the full text of the license in the file LICENSE.
mwah π this page came from perl v5.42.0 and is dated 2016-08-28 β periodt.
π¦ where this page comes from
- opensuse-leap 16.0: perl-Font-TTF 1.06-bp160.1.12 Β· Artistic-2.0 and OFL-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms