DOKK / manpages / debian 11 / libfont-ttf-perl / Font::TTF::Hdmx.3pm.en
Font::TTF::Hdmx(3pm) User Contributed Perl Documentation Font::TTF::Hdmx(3pm)

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:

Number of device tables.

METHODS

Reads the table into data structures

Outputs the device metrics for this font

Returns the minimum size this table can be. If it is smaller than this, then the table must be bad and should be deleted or whatever.

For each subtable it calls &sub($ref, $ppem)

$t->XML_element($context, $depth, $key, $value)

Outputs device metrics a little more tidily

None known

Martin Hosken <http://scripts.sil.org/FontUtils>.

Copyright (c) 1998-2016, SIL International (http://www.sil.org)

This module is released under the terms of the Artistic License 2.0. For details, see the full text of the license in the file LICENSE.

2020-12-27 perl v5.32.0