Package org.apache.fontbox.ttf
Class IndexToLocationTable
- java.lang.Object
-
- org.apache.fontbox.ttf.TTFTable
-
- org.apache.fontbox.ttf.IndexToLocationTable
-
public class IndexToLocationTable extends TTFTable
A table in a true type font.
-
-
Field Summary
Fields Modifier and Type Field Description private static short
LONG_OFFSETS
private long[]
offsets
private static short
SHORT_OFFSETS
static java.lang.String
TAG
A tag that identifies this table type.-
Fields inherited from class org.apache.fontbox.ttf.TTFTable
font, initialized
-
-
Constructor Summary
Constructors Constructor Description IndexToLocationTable(TrueTypeFont font)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long[]
getOffsets()
(package private) void
read(TrueTypeFont ttf, TTFDataStream data)
This will read the required data from the stream.void
setOffsets(long[] offsetsValue)
-
Methods inherited from class org.apache.fontbox.ttf.TTFTable
getCheckSum, getInitialized, getLength, getOffset, getTag, setCheckSum, setLength, setOffset, setTag
-
-
-
-
Field Detail
-
SHORT_OFFSETS
private static final short SHORT_OFFSETS
- See Also:
- Constant Field Values
-
LONG_OFFSETS
private static final short LONG_OFFSETS
- See Also:
- Constant Field Values
-
TAG
public static final java.lang.String TAG
A tag that identifies this table type.- See Also:
- Constant Field Values
-
offsets
private long[] offsets
-
-
Constructor Detail
-
IndexToLocationTable
IndexToLocationTable(TrueTypeFont font)
-
-
Method Detail
-
read
void read(TrueTypeFont ttf, TTFDataStream data) throws java.io.IOException
This will read the required data from the stream.
-
getOffsets
public long[] getOffsets()
- Returns:
- Returns the offsets.
-
setOffsets
public void setOffsets(long[] offsetsValue)
- Parameters:
offsetsValue
- The offsets to set.
-
-