Font::TTF::Hdmx - Horizontal device metrics |
Font::TTF::Hdmx - Horizontal device metrics
The table consists of an hash of device metric tables indexed by the ppem for that subtable. Each subtable consists of an array of advance widths in pixels for each glyph at that ppem (horizontally).
Individual metrics are accessed using the following referencing:
$f->{'hdmx'}{$ppem}[$glyph_num]
In addition there is one instance variable:
Reads the table into data structures
out($fh)
Outputs the device metrics for this font
tables_do(&func)
For each subtable it calls &sub($ref, $ppem)
Outputs device metrics a little more tidily
None known
Martin Hosken Martin_Hosken@sil.org. See the Font::TTF::Font manpage for copyright and licensing.
Font::TTF::Hdmx - Horizontal device metrics |