Font::TTF::Hdmx(3pm)

Font::TTF::Hdmx3pm

Horizontal device metrics

Overview

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).

Instance variables

Individual metrics are accessed using the following referencing:

    $f->{'hdmx'}{$ppem}[$glyph_num]

In addition there is one instance variable:

Num

Number of device tables.

Methods

$t->read

Reads the table into data structures

$t->out($fh)

Outputs the device metrics for this font

$t->minsize()

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.

$t->tables_do(&func)

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

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

Outputs device metrics a little more tidily

Licensing

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.

Releases

12 releases since Debian 3.1 (Sarge); the text changed 8 times.

  1. 3.1
  2. 4.0
  3. 5.0–6.0
  4. 7
  5. 8
  6. 9–10
  7. 11
  8. 12–13
  9. Arch

Bugs

None known

Author

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

From perl-font-ttf 1.06-6 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.