PDF::API3::Compat::API2::Basic::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:
Number of device tables.
Reads the table into data structures
Outputs the device metrics for this font
For each subtable it calls &sub($ref, $ppem)
Outputs device metrics a little more tidily
None known
Martin Hosken Martin_Hosken@sil.org. See PDF::API3::Compat::API2::Basic::TTF::Font for copyright and licensing.
To install PDF::API3, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PDF::API3
CPAN shell
perl -MCPAN -e shell install PDF::API3
For more information on module installation, please visit the detailed CPAN module installation guide.