Class Cff
java.lang.Object
com.adobe.fontengine.font.opentype.Table
com.adobe.fontengine.font.opentype.Cff
Gives access to a 'CFF' table.
Version handling
'CFF' tables have major/minor version number. This implementation:
- fully supports version 1.0 tables
- interprets version 1.x wtables as version 1.0 tables
- rejects other versions with an
UnsupportedFontExceptionat construction time.
-
Method Summary
Modifier and TypeMethodDescriptiongetGlyphBoundingBoxInMetricSpace(int gid) Get the bounding box for a glyph.voidgetOutline(int gid, OutlineConsumer consumer)
-
Method Details
-
getCFFFont
-
getGlyphBoundingBoxInMetricSpace
public Rect getGlyphBoundingBoxInMetricSpace(int gid) throws UnsupportedFontException, InvalidFontException Get the bounding box for a glyph. -
getOutline
public void getOutline(int gid, OutlineConsumer consumer) throws UnsupportedFontException, InvalidFontException -
getFontBBox
-