Package org.apache.fontbox.ttf
Class GlyphTable
java.lang.Object
org.apache.fontbox.ttf.TTFTable
org.apache.fontbox.ttf.GlyphTable
This 'glyf'-table is a required table in a TrueType font.
- Author:
- Ben Litchfield
-
Field Summary
FieldsFields inherited from class org.apache.fontbox.ttf.TTFTable
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
-
setGlyphs
- Parameters:
glyphsValue- The glyphs to set.
-
getGlyph
Returns the data for the glyph with the given GID.- Parameters:
gid- GID- Returns:
- data of the glyph with the given GID or null
- Throws:
IOException- if the font cannot be read
-