fgGlyphData
fontgate.fgGlyphData = class fgGlyphData(object)
GlyphData representation Constructors: fgGlyphData() - default fgGlyphData(fgGlyphData) - copy
Methods
- __delattr__(...)
-
x.__delattr__('name') <==> del x.name
- __getattribute__(...)
-
x.__getattribute__('name') <==> x.name
- __setattr__(...)
-
x.__setattr__('name', value) <==> x.name = value
- boundingBox(...)
-
fgRect boundingBox(fgGlyphsR, fgMatrix, bool prepareExport) - calculate bounding box
- countPictures(...)
-
int countPictures() - return pictures count
- countShapes(...)
-
int countShapes() - return shapes count
- getFontGateData(...)
-
fgFontGateData getFontGateData() - return Nothing
- hasPictures(...)
-
bool hasPictures() - return true if pictures is present
Attributes
- __new__ = <built-in method __new__ of type object>
-
T.__new__(S, ...) -> a new object with type S, a subtype of T
bad
- fontgate.fgGlyphData.bad = bad(...)
-
bool bad() - return true if status isn't gdsOK
boundingBox
- fontgate.fgGlyphData.boundingBox = boundingBox(...)
-
fgRect boundingBox(fgGlyphsR, fgMatrix, bool prepareExport) - calculate bounding box
copy
- fontgate.fgGlyphData.copy = copy(...)
-
fgGlyphData copy() - create alone copy of data
countPictures
- fontgate.fgGlyphData.countPictures = countPictures(...)
-
int countPictures() - return pictures count
countShapes
- fontgate.fgGlyphData.countShapes = countShapes(...)
-
int countShapes() - return shapes count
getFontGateData
- fontgate.fgGlyphData.getFontGateData = getFontGateData(...)
-
fgFontGateData getFontGateData() - return Nothing
getType
- fontgate.fgGlyphData.getType = getType(...)
-
string getType() - return 'dtTrueType'
hasBody
- fontgate.fgGlyphData.hasBody = hasBody(...)
-
bool hasBody(bool prepareExport) - return true if non-empty body layer is present
hasColors
- fontgate.fgGlyphData.hasColors = hasColors(...)
-
bool hasColors() - return true if colors is present
hasHints
- fontgate.fgGlyphData.hasHints = hasHints(...)
-
bool hasHints() - return true if hints is present
hasPictures
- fontgate.fgGlyphData.hasPictures = hasPictures(...)
-
bool hasPictures() - return true if pictures is present
modified
- fontgate.fgGlyphData.modified = modified(...)
-
bool modified() - return true if data was changed
OK
- fontgate.fgGlyphData.OK = OK(...)
-
bool OK() - return true if status is gdsOK
setParent
- fontgate.fgGlyphData.setParent = setParent(...)
-
setParent(fgGlyph) - set parent glyph
status
- fontgate.fgGlyphData.status = status(...)
-
'gdsOK'/'gdsInvalid' status()
transform
- fontgate.fgGlyphData.transform = transform(...)
-
transform(fgMatrix) - transform data
updated
- fontgate.fgGlyphData.updated = updated(...)
-
updated() - mark data as changed, reset internal caches