public class VerticalOriginTable extends TTFTable
Modifier and Type | Field and Description |
---|---|
static 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 String TAG
public void read(TrueTypeFont ttf, org.apache.fontbox.ttf.TTFDataStream data) throws IOException
ttf
- The font that is being read.data
- The stream to read the data from.IOException
- If there is an error reading the data.public float getVersion()
public int getOriginY(int gid)
gid
- GIDCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.