Class HmtxTable

java.lang.Object
org.apache.batik.svggen.font.table.HmtxTable
All Implemented Interfaces:
Table

public class HmtxTable extends Object implements Table
Version:
$Id: HmtxTable.java 1733416 2016-03-03 07:07:13Z gadams $
  • Field Details

    • buf

      private byte[] buf
    • hMetrics

      private int[] hMetrics
    • leftSideBearing

      private short[] leftSideBearing
  • Constructor Details

  • Method Details

    • init

      public void init(int numberOfHMetrics, int lsbCount)
    • getAdvanceWidth

      public int getAdvanceWidth(int i)
    • getLeftSideBearing

      public short getLeftSideBearing(int i)
    • getType

      public int getType()
      Description copied from interface: Table
      Get the table type, as a table directory value.
      Specified by:
      getType in interface Table
      Returns:
      The table type