public class CFFDataReader.CFFIndexData extends CFFDataReader.CFFSubTable
| Constructor and Description |
|---|
CFFIndexData() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData() |
int |
getNumObjects() |
int[] |
getOffsets() |
int |
getOffSize() |
byte[] |
getValue(int index)
Retrieves data from the index data
|
int |
getValueLength(int index) |
int |
getValuePosition(int index) |
void |
parseIndexHeader(org.apache.fontbox.cff.CFFDataInput cffData)
Parses index data from an index object found within the CFF byte data
|
void |
setData(int position,
int length) |
void |
setNumObjects(int numObjects) |
void |
setOffsets(int[] offsets) |
void |
setOffSize(int offSize) |
getByteData, setByteDatapublic void setNumObjects(int numObjects)
public int getNumObjects()
public void setOffSize(int offSize)
public int getOffSize()
public void setOffsets(int[] offsets)
public int[] getOffsets()
public void setData(int position,
int length)
public byte[] getData()
throws IOException
IOExceptionpublic void parseIndexHeader(org.apache.fontbox.cff.CFFDataInput cffData)
throws IOException
cffData - A byte array containing the CFF dataIOException - Throws an IO Exception if an error occurspublic byte[] getValue(int index)
throws IOException
index - The index position of the data to retrieveIOException - Throws an IO Exception if an error occurspublic int getValuePosition(int index)
public int getValueLength(int index)
Copyright © 2023 Apache Software Foundation. All rights reserved.