public class GlyphTable extends TTFTable
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
TAG |
Tag to identify this table.
|
font, initialized
Modifier and Type | Method | Description |
---|---|---|
GlyphData |
getGlyph(int gid) |
Returns the data for the glyph with the given GID.
|
GlyphData[] |
getGlyphs() |
Returns all glyphs.
|
void |
read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data) |
This will read the required data from the stream.
|
void |
setGlyphs(GlyphData[] glyphsValue) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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 GlyphData[] getGlyphs() throws java.io.IOException
java.io.IOException
public void setGlyphs(GlyphData[] glyphsValue)
glyphsValue
- The glyphs to set.public GlyphData getGlyph(int gid) throws java.io.IOException
gid
- GIDjava.io.IOException
- if the font cannot be readCopyright © 2008–2018. All rights reserved.