-
-
25 Aug 2016 01:26:48 UTC
- Distribution: Font-TTF
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (2)
- Testers (8963 / 12 / 0)
- Kwalitee
Bus factor: 0- 37.68% Coverage
- License: artistic_2
- Activity
24 month- Tools
- Download (250.05KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- martin_hosken@sil.org
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Font::TTF::OldMort - Glyph Metamorphosis table in a font
DESCRIPTION
INSTANCE VARIABLES
- version
-
table version number (Fixed: currently 1.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:
- type
- setting
- enable
- disable
- 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:
- classes
-
array of lists of glyphs
- states
-
array of arrays of hashes{'nextState', 'flags'}
- classes
-
array of lists of glyphs
- states
-
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 intomappings
(orundef
if no mapping to be applied) - mappings
-
list of glyph codes mapped to through the state table mappings
Rearrangement table:
Contextual substitution table:
Ligature table:
Non-contextual substitution table:
Insertion table:
METHODS
$t->read
Reads the table into memory
$t->out($fh)
Writes the table to a file either from memory or by copying
$t->print($fh)
Prints a human-readable representation of the table
BUGS
None known
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.
Module Install Instructions
To install Font::TTF, copy and paste the appropriate command in to your terminal.
cpanm Font::TTF
perl -MCPAN -e shell install Font::TTF
For more information on module installation, please visit the detailed CPAN module installation guide.