public String getTag() {
return "hmtx";
}
protected void readTable(TTFInput ttf) throws IOException {
final TTFFontData font = getFont();
final int numberOfHMetrics = font.getHorizontalHeaderTable().getNumberOfHMetrics();
final int numGlyphs = font.getMaxPTable().numGlyphs;
advanceWidth = new int[numberOfHMetrics];
leftSideBearing = new short[numberOfHMetrics];
for (int i = 0; i < numberOfHMetrics; i++) {
advanceWidth[i] = ttf.readUFWord();