1Font::TTF::Hdmx(3)    User Contributed Perl Documentation   Font::TTF::Hdmx(3)
2
3
4

NAME

6       Font::TTF::Hdmx - Horizontal device metrics
7

DESCRIPTION

9       The table consists of an hash of device metric tables indexed by the
10       ppem for that subtable. Each subtable consists of an array of advance
11       widths in pixels for each glyph at that ppem (horizontally).
12

INSTANCE VARIABLES

14       Individual metrics are accessed using the following referencing:
15
16           $f->{'hdmx'}{$ppem}[$glyph_num]
17
18       In addition there is one instance variable:
19
20       Num Number of device tables.
21
22   METHODS
23   $t->read
24       Reads the table into data structures
25
26   $t->out($fh)
27       Outputs the device metrics for this font
28
29   $t->tables_do(&func)
30       For each subtable it calls &sub($ref, $ppem)
31
32   $t->XML_element($context, $depth, $key, $value)
33       Outputs device metrics a little more tidily
34

BUGS

36       None known
37

AUTHOR

39       Martin Hosken Martin_Hosken@sil.org. See Font::TTF::Font for copyright
40       and licensing.
41
42
43
44perl v5.12.0                      2008-06-11                Font::TTF::Hdmx(3)
Impressum