public class VerticalOriginTable extends TTFTable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG
A tag that identifies this table type.
|
font, initialized
Modifier and Type | Method and Description |
---|---|
int |
getOriginY(int gid)
Returns the y-coordinate of the vertical origin for the given GID if known,
or returns the default value if not specified in table data.
|
float |
getVersion() |
void |
read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data)
This will read the required data from the stream.
|
getCheckSum, getInitialized, getLength, getOffset, getTag
public static final java.lang.String TAG
public void read(TrueTypeFont ttf, org.apache.fontbox.ttf.TTFDataStream data) throws java.io.IOException
ttf
- The font that is being read.data
- The stream to read the data from.java.io.IOException
- If there is an error reading the data.public float getVersion()
public int getOriginY(int gid)
gid
- GID