public class VerticalMetricsTable extends TTFTable
Modifier and Type | Field | Description |
---|---|---|
static String |
TAG |
A tag that identifies this table type.
|
font, initialized
Modifier and Type | Method | Description |
---|---|---|
int |
getAdvanceHeight(int gid) |
Returns the advance height for the given GID.
|
int |
getTopSideBearing(int gid) |
Returns the top sidebearing for the given GID
|
void |
read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data) |
This will read the required data from the stream.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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 int getTopSideBearing(int gid)
gid
- GIDpublic int getAdvanceHeight(int gid)
gid
- GIDCopyright © 2008–2018. All rights reserved.