1Font::TTF::Hdmx(3) User Contributed Perl Documentation Font::TTF::Hdmx(3)
2
3
4
6 Font::TTF::Hdmx - Horizontal device metrics
7
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
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
24 $t->read
25
26 Reads the table into data structures
27
28 $t->out($fh)
29
30 Outputs the device metrics for this font
31
32 $t->tables_do(&func)
33
34 For each subtable it calls &sub($ref, $ppem)
35
36 $t->XML_element($context, $depth, $key, $value)
37
38 Outputs device metrics a little more tidily
39
41 None known
42
44 Martin Hosken Martin_Hosken@sil.org. See Font::TTF::Font for copyright
45 and licensing.
46
47
48
49perl v5.8.8 2005-06-14 Font::TTF::Hdmx(3)