Class Cff
- java.lang.Object
-
- com.adobe.fontengine.font.opentype.Table
-
- com.adobe.fontengine.font.opentype.Cff
-
public final class Cff extends Table
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
UnsupportedFontException
at construction time.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CFFFont
getCFFFont()
Rect
getFontBBox()
Rect
getGlyphBoundingBoxInMetricSpace(int gid)
Get the bounding box for a glyph.void
getOutline(int gid, OutlineConsumer consumer)
-
-
-
Method Detail
-
getCFFFont
public CFFFont 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
public Rect getFontBBox() throws UnsupportedFontException, InvalidFontException
-
-