Class CoverageTableFormat1
java.lang.Object
org.apache.fontbox.ttf.table.common.CoverageTable
org.apache.fontbox.ttf.table.common.CoverageTableFormat1
- Direct Known Subclasses:
CoverageTableFormat2
This class models the
Coverage format 1
in the Open Type layout common tables.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCoverageIndex(int gid) int[]intgetGlyphId(int index) intgetSize()toString()Methods inherited from class org.apache.fontbox.ttf.table.common.CoverageTable
getCoverageFormat
-
Field Details
-
glyphArray
private final int[] glyphArray
-
-
Constructor Details
-
CoverageTableFormat1
public CoverageTableFormat1(int coverageFormat, int[] glyphArray)
-
-
Method Details
-
getCoverageIndex
public int getCoverageIndex(int gid) - Specified by:
getCoverageIndexin classCoverageTable
-
getGlyphId
public int getGlyphId(int index) - Specified by:
getGlyphIdin classCoverageTable
-
getSize
public int getSize()- Specified by:
getSizein classCoverageTable
-
getGlyphArray
public int[] getGlyphArray() -
toString
-