Maven module :un.storage : font-ttf :
Class : un.storage.font.ttf.table.TTFHmtxTable
Extends/Implements : un.storage.font.ttf.TTFTable
Subclasses : -

TTF Specification :
The 'hmtx' table contains metric information for the horizontal
layout each of the glyphs in the font.

@author Johann Sorel


Variables : hMetrics, leftSideBearing
Functions : TTFHmtxTable, readData, toString



The value numOfLongHorMetrics comes from the 'hhea' table.
If the font is monospaced, only one entry need be in the array but that entry is required.
public LongHorMetric[] hMetrics


FWord table :
Here the advanceWidth is assumed to be the same as the advanceWidth
for the last entry above. The number of entries in this array is derived
from the total number of glyphs minus numOfLongHorMetrics. This generally
is used with a run of monospaced glyphs (e.g. Kanji fonts or Courier fonts).
Only one run is allowed and it must be at the end.
public short[] leftSideBearing


public void TTFHmtxTable (TrueTypeFont font)

public void readData (DataInputStream ds)

public String toString ()