Class Glyf
java.lang.Object
com.adobe.fontengine.font.opentype.Table
com.adobe.fontengine.font.opentype.Glyf
Gives access to the 'glyf' table.
Note that there is no public representation of the 'loca' table,
which is used only to access the 'glyf' table. Instead,
the Glyph objects accept gids to identify glyphs and
perform the necessary lookup in the 'loca' table.
Version handling
'glyf' tables are not versionned.
Synchronization
Like all tables, these objects are immutable.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptioncreateTTOutline(OpenTypeFont font, int gid) getGlyphBoundingBox(int gid) Get the bounding box for a glyph.booleanisComposite(int gid) Return whether is glyph is composite.voidpullComponentGlyphs(Subset subset, int gid) voidvoidstreamForCFF(OpenTypeFont otf, Map tables, boolean removeOverlaps) voidsubsetAndStream(Subset subset, Map tables) voidsubsetAndStreamForCFF(Subset subset, OpenTypeFont otf, Map tables, boolean removeOverlaps)
-
Method Details
-
getGlyphBoundingBox
Get the bounding box for a glyph. -
isComposite
Return whether is glyph is composite. -
subsetAndStream
public void subsetAndStream(Subset subset, Map tables) throws UnsupportedFontException, InvalidFontException -
stream
-
pullComponentGlyphs
public void pullComponentGlyphs(Subset subset, int gid) throws UnsupportedFontException, InvalidFontException -
createTTOutline
public TTOutline createTTOutline(OpenTypeFont font, int gid) throws UnsupportedFontException, InvalidFontException -
streamForCFF
public void streamForCFF(OpenTypeFont otf, Map tables, boolean removeOverlaps) throws UnsupportedFontException, InvalidFontException, IOException -
subsetAndStreamForCFF
public void subsetAndStreamForCFF(Subset subset, OpenTypeFont otf, Map tables, boolean removeOverlaps) throws UnsupportedFontException, InvalidFontException, IOException
-