Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) Standard preamble: ========================================================================
NAMEFont::TTF::Hmtx - Horizontal Metrics
DESCRIPTIONContains the advance width and left side bearing for each glyph. Given the compressability of the data onto disk, this table uses information from other tables, and thus must do part of its output during the output of other tables
INSTANCE VARIABLESThe horizontal metrics are kept in two arrays by glyph id. The variable names do not start with a space
- An array containing the advance width for each glyph
- An array containing the left side bearing for each glyph
$t->readReads the horizontal metrics from the
TTFfile into memory
$t->numMetricsCalculates again the number of long metrics required to store the information here. Returns undef if the table has not been read.
$t->out($fh)Writes the metrics to a
TTFfile. Assumes that the "hhea" has updated the numHMetrics from here
$t->updateUpdates the lsb values from the xMin from the each glyph
$t->out_xml($context, $depth)Outputs the table in
AUTHORMartin Hosken <scripts.sil.org/FontUtils>.
LICENSINGCopyright (c) 1998-2014,
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