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 $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->minsize()
30 Returns the minimum size this table can be. If it is smaller than this,
31 then the table must be bad and should be deleted or whatever.
32
33 $t->tables_do(&func)
34 For each subtable it calls &sub($ref, $ppem)
35
36 $t->XML_element($context, $depth, $key, $value)
37 Outputs device metrics a little more tidily
38
40 None known
41
43 Martin Hosken <http://scripts.sil.org/FontUtils>.
44
46 Copyright (c) 1998-2016, SIL International (http://www.sil.org)
47
48 This module is released under the terms of the Artistic License 2.0.
49 For details, see the full text of the license in the file LICENSE.
50
51
52
53perl v5.32.1 2021-01-27 Font::TTF::Hdmx(3)