Package org.apache.fontbox.ttf
Class GlyphTable
java.lang.Object
org.apache.fontbox.ttf.TTFTable
org.apache.fontbox.ttf.GlyphTable
A table in a true type font.
- Author:
- Ben Litchfield
-
Field Summary
FieldsFields inherited from class org.apache.fontbox.ttf.TTFTable
font, initialized
-
Method Summary
Methods inherited from class org.apache.fontbox.ttf.TTFTable
getCheckSum, getInitialized, getLength, getOffset, getTag
-
Field Details
-
TAG
Tag to identify this table.- See Also:
-
-
Method Details
-
getGlyphs
Deprecated.usegetGlyph(int)
instead. This will be removed in 3.0. If you need this method, please create an issue in JIRA.Returns all glyphs. This method can be very slow.- Throws:
IOException
- If there is an error reading the data.
-
setGlyphs
- Parameters:
glyphsValue
- The glyphs to set.
-
getGlyph
Returns the data for the glyph with the given GID.- Parameters:
gid
- GID- Throws:
IOException
- if the font cannot be read
-
getGlyph(int)
instead.