public class GlyphTable extends TTFTable
| Modifier and Type | Field | Description |
|---|---|---|
static 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, waitgetCheckSum, getInitialized, getLength, getOffset, getTagpublic 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 GlyphData[] getGlyphs() throws IOException
IOExceptionpublic void setGlyphs(GlyphData[] glyphsValue)
glyphsValue - The glyphs to set.public GlyphData getGlyph(int gid) throws IOException
gid - GIDIOException - if the font cannot be readCopyright © 2008–2018. All rights reserved.