Skip to content

fontgate.fgTrueTypeData

fgTrueTypeData

TrueTypeData representation

Constructors: fgTrueTypeData() - default fgTrueTypeData(fgTrueTypeData) - copy

Native bases: object

Captured native MRO: fgTrueTypeData, object

Native new allocation evidence (not an init overload): (args, *kwargs) Create and return a new object. See help(type) for accurate signature.

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
OK function (self) -> bool Bool OK() - return true if status is gdsOK (shared captured text)
__init__ function (self, /, *args: Any, **kwargs: Any) -> None Initialize self. (shared captured text)
advanceHeight attribute Any
advanceWidth attribute Any
bad function (self) -> bool Bool bad() - return true if status isn't gdsOK (shared captured text)
bottomSideBearing function (self) -> int
boundingBox function (self, arg0: fgGlyphsR, arg1: fgMatrix, prepareExport: bool) -> fgRect FgRect boundingBox(fgGlyphsR, fgMatrix, bool prepareExport) - calculate bounding box (shared captured text)
clearImports function (self) -> Any Clear instructions and hdmx, set yPels = 1
copy function (self) -> fgTrueTypeData FgTrueTypeData copy() - create alone copy of data
countPictures function (self) -> int Int countPictures() - return pictures count (shared captured text)
empty function (self) -> bool Bool empty() - return true if state == sEmpty or no endpoints present
endpoint attribute Any
getFontGateData function (self) -> fgFontGateData FgFontGateData getFontGateData() - return Nothing (shared captured text)
getType function (self) -> Any String getType() - return 'dtTrueType' (shared captured text)
hasBody function (self, prepareExport: bool) -> bool Bool hasBody(bool prepareExport) - return true if non-empty body layer is present (shared captured text)
hasColors function (self) -> bool Bool hasColors() - return true if colors is present (shared captured text)
hasHints function (self) -> bool Bool hasHints() - return true if hints is present (shared captured text)
hasPictures function (self) -> bool Bool hasPictures() - return true if pictures is present (shared captured text)
hdmx attribute Any
instructions attribute Any
leftSideBearing attribute Any
modified function (self) -> bool Bool modified() - return true if data was changed (shared captured text)
points attribute Any
pointsMap attribute Any ({ 'name': int value })
rightSideBearing function (self) -> int
setParent function (self, arg0: fgGlyph) -> Any Set parent glyph (shared captured text)
status function (self) -> Any 'gdsOK'/'gdsInvalid' status() (shared captured text)
topSideBearing attribute Any
transform function (self, arg0: fgMatrix, bool: Any) -> Any Unsupported; raises NotImplementedError without changing data
updateBoundingBox function (self) -> Any
updated function (self) -> Any Mark data as changed, reset internal caches (shared captured text)
valid function (self) -> bool Bool valid() - return true if state == sValid | sDecomposed
xExtent function (self) -> int
xMax attribute Any
xMin attribute Any
yExtent function (self) -> int
yMax attribute Any
yMin attribute Any
yPels attribute Any