Font::TTF::OldMort(3) User Contributed Perl Documentation Font::TTF::OldMort(3)

# [NAME](#NAME)

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

# [DESCRIPTION](#DESCRIPTION)

# [INSTANCE VARIABLES](#INSTANCE_VARIABLES)

[version](#version)

table version number (Fixed: currently 1.0)

[chains](#chains)

list of metamorphosis chains, each of which has its own fields:

[defaultFlags](#defaultFlags)

chain's default subfeature flags (UInt32)

[featureEntries](#featureEntries)

list of feature entries, each of which has fields:

[type](#type)

[setting](#setting)

[enable](#enable)

[disable](#disable)

[subtables](#subtables)

list of metamorphosis subtables, each of which has fields:

[type](#type~2)

subtable type (0: rearrangement; 1: contextual substitution; 2: ligature; 4: non-contextual substitution; 5: insertion)

[direction](#direction)

processing direction ('LR' or 'RL')

[orientation](#orientation)

applies to text in which orientation ('VH', 'V', or 'H')

[subFeatureFlags](#subFeatureFlags)

the subfeature flags controlling whether the table is used (UInt32)

Further fields depend on the type of subtable:

Rearrangement table:

[classes](#classes)

array of lists of glyphs

[states](#states)

array of arrays of hashes{'nextState', 'flags'}

Contextual substitution table:

[classes](#classes~2)

array of lists of glyphs

[states](#states~2)

array of array of hashes{'nextState', 'flags', 'actions'}, where "actions" is an array of two elements which are offsets to be added to \[marked, current] glyph to get index into "mappings" (or "undef" if no mapping to be applied)

[mappings](#mappings)

list of glyph codes mapped to through the state table mappings

Ligature table:

Non-contextual substitution table:

Insertion table:

# [METHODS](#METHODS)

## [$t-&gt;read](#$t)

Reads the table into memory

## [$t-&gt;out($fh)](#$t~2)

Writes the table to a file either from memory or by copying

## [$t-&gt;print($fh)](#$t~3)

Prints a human-readable representation of the table

# [BUGS](#BUGS)

None known

# [AUTHOR](#AUTHOR)

Jonathan Kew &lt;http://scripts.sil.org/FontUtils&gt;.

# [LICENSING](#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.

2026-09-25 perl v5.44.0

---

Document: Font::TTF::OldMort(3pm) from perl-font-ttf 1.06-r0 (Chainguard OS)
