Class GlyphTable
java.lang.Object
org.apache.fontbox.ttf.TTFTable
org.apache.fontbox.ttf.GlyphTable
-
Field Summary
FieldsFields inherited from class TTFTable
font, initialized -
Method Summary
Methods inherited from class TTFTable
getCheckSum, getInitialized, getLength, getOffset, getTag
-
Field Details
-
TAG
-
-
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.