Class CoverageTableFormat1
- java.lang.Object
-
- org.apache.fontbox.ttf.table.common.CoverageTable
-
- org.apache.fontbox.ttf.table.common.CoverageTableFormat1
-
- Direct Known Subclasses:
CoverageTableFormat2
public class CoverageTableFormat1 extends CoverageTable
This class models the Coverage format 1 in the Open Type layout common tables.
-
-
Field Summary
Fields Modifier and Type Field Description private int[]glyphArray
-
Constructor Summary
Constructors Constructor Description CoverageTableFormat1(int coverageFormat, int[] glyphArray)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCoverageIndex(int gid)int[]getGlyphArray()intgetGlyphId(int index)intgetSize()java.lang.StringtoString()-
Methods inherited from class org.apache.fontbox.ttf.table.common.CoverageTable
getCoverageFormat
-
-
-
-
Method Detail
-
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
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-