Class HheaTable

  • All Implemented Interfaces:
    Table

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

      • version

        private int version
      • ascender

        private short ascender
      • descender

        private short descender
      • lineGap

        private short lineGap
      • advanceWidthMax

        private short advanceWidthMax
      • minLeftSideBearing

        private short minLeftSideBearing
      • minRightSideBearing

        private short minRightSideBearing
      • xMaxExtent

        private short xMaxExtent
      • caretSlopeRise

        private short caretSlopeRise
      • caretSlopeRun

        private short caretSlopeRun
      • metricDataFormat

        private short metricDataFormat
      • numberOfHMetrics

        private int numberOfHMetrics
    • Constructor Detail

      • HheaTable

        protected HheaTable​(DirectoryEntry de,
                            java.io.RandomAccessFile raf)
                     throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getAdvanceWidthMax

        public short getAdvanceWidthMax()
      • getAscender

        public short getAscender()
      • getCaretSlopeRise

        public short getCaretSlopeRise()
      • getCaretSlopeRun

        public short getCaretSlopeRun()
      • getDescender

        public short getDescender()
      • getLineGap

        public short getLineGap()
      • getMetricDataFormat

        public short getMetricDataFormat()
      • getMinLeftSideBearing

        public short getMinLeftSideBearing()
      • getMinRightSideBearing

        public short getMinRightSideBearing()
      • getNumberOfHMetrics

        public int getNumberOfHMetrics()
      • 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
      • getXMaxExtent

        public short getXMaxExtent()