fgTrueTypeData

fontgate.fgTrueTypeData = class fgTrueTypeData(object)

TrueTypeData representation

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

Methods

OK(...)
bool OK() - return true if status is gdsOK
__cmp__(...)
x.__cmp__(y) <==> cmp(x,y)
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
bad(...)
bool bad() - return true if status isn't gdsOK
bottomSideBearing(...)
int bottomSideBearing()
boundingBox(...)
fgRect boundingBox(fgGlyphsR, fgMatrix, bool prepareExport) - calculate bounding box
clearImports(...)
clearImports() - clear instructions and hdmx, set yPels = 1
copy(...)
fgTrueTypeData copy() - create alone copy of data
countPictures(...)
int countPictures() - return pictures count
empty(...)
bool empty() - return true if state == sEmpty or no endpoints present
getFontGateData(...)
fgFontGateData getFontGateData() - return Nothing
getType(...)
string getType() - return 'dtTrueType'
hasBody(...)
bool hasBody(bool prepareExport) - return true if non-empty body layer is present
hasColors(...)
bool hasColors() - return true if colors is present
hasHints(...)
bool hasHints() - return true if hints is present
hasPictures(...)
bool hasPictures() - return true if pictures is present
modified(...)
bool modified() - return true if data was changed
rightSideBearing(...)
int rightSideBearing()
setParent(...)
setParent(fgGlyph) - set parent glyph
status(...)
'gdsOK'/'gdsInvalid' status()
transform(...)
transform(fgMatrix) - transform data
updateBoundingBox(...)
updateBoundingBox()
updated(...)
updated() - mark data as changed, reset internal caches
valid(...)
bool valid() - return true if state == sValid | sDecomposed
xExtent(...)
int xExtent()
yExtent(...)
int yExtent()

Descriptors

advanceHeight
(int)
advanceWidth
(int)
endpoint
([int])
hdmx
(fgHdmx)
instructions
(fgBuffer)
leftSideBearing
(int)
points
(fgTrueTypePoints)
pointsMap
({ 'name': int value })
topSideBearing
(int)
xMax
(int)
xMin
(int)
yMax
(int)
yMin
(int)
yPels
(int)

Attributes

__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

advanceHeight

fontgate.fgTrueTypeData.advanceHeight
(int)

advanceWidth

fontgate.fgTrueTypeData.advanceWidth
(int)

bad

fontgate.fgTrueTypeData.bad = bad(...)
bool bad() - return true if status isn't gdsOK

bottomSideBearing

fontgate.fgTrueTypeData.bottomSideBearing = bottomSideBearing(...)
int bottomSideBearing()

boundingBox

fontgate.fgTrueTypeData.boundingBox = boundingBox(...)
fgRect boundingBox(fgGlyphsR, fgMatrix, bool prepareExport) - calculate bounding box

clearImports

fontgate.fgTrueTypeData.clearImports = clearImports(...)
clearImports() - clear instructions and hdmx, set yPels = 1

copy

fontgate.fgTrueTypeData.copy = copy(...)
fgTrueTypeData copy() - create alone copy of data

countPictures

fontgate.fgTrueTypeData.countPictures = countPictures(...)
int countPictures() - return pictures count

empty

fontgate.fgTrueTypeData.empty = empty(...)
bool empty() - return true if state == sEmpty or no endpoints present

endpoint

fontgate.fgTrueTypeData.endpoint
([int])

getFontGateData

fontgate.fgTrueTypeData.getFontGateData = getFontGateData(...)
fgFontGateData getFontGateData() - return Nothing

getType

fontgate.fgTrueTypeData.getType = getType(...)
string getType() - return 'dtTrueType'

hasBody

fontgate.fgTrueTypeData.hasBody = hasBody(...)
bool hasBody(bool prepareExport) - return true if non-empty body layer is present

hasColors

fontgate.fgTrueTypeData.hasColors = hasColors(...)
bool hasColors() - return true if colors is present

hasHints

fontgate.fgTrueTypeData.hasHints = hasHints(...)
bool hasHints() - return true if hints is present

hasPictures

fontgate.fgTrueTypeData.hasPictures = hasPictures(...)
bool hasPictures() - return true if pictures is present

hdmx

fontgate.fgTrueTypeData.hdmx
(fgHdmx)

instructions

fontgate.fgTrueTypeData.instructions
(fgBuffer)

leftSideBearing

fontgate.fgTrueTypeData.leftSideBearing
(int)

modified

fontgate.fgTrueTypeData.modified = modified(...)
bool modified() - return true if data was changed

OK

fontgate.fgTrueTypeData.OK = OK(...)
bool OK() - return true if status is gdsOK

points

fontgate.fgTrueTypeData.points
(fgTrueTypePoints)

pointsMap

fontgate.fgTrueTypeData.pointsMap
({ 'name': int value })

rightSideBearing

fontgate.fgTrueTypeData.rightSideBearing = rightSideBearing(...)
int rightSideBearing()

setParent

fontgate.fgTrueTypeData.setParent = setParent(...)
setParent(fgGlyph) - set parent glyph

status

fontgate.fgTrueTypeData.status = status(...)
'gdsOK'/'gdsInvalid' status()

topSideBearing

fontgate.fgTrueTypeData.topSideBearing
(int)

transform

fontgate.fgTrueTypeData.transform = transform(...)
transform(fgMatrix) - transform data

updateBoundingBox

fontgate.fgTrueTypeData.updateBoundingBox = updateBoundingBox(...)
updateBoundingBox()

updated

fontgate.fgTrueTypeData.updated = updated(...)
updated() - mark data as changed, reset internal caches

valid

fontgate.fgTrueTypeData.valid = valid(...)
bool valid() - return true if state == sValid | sDecomposed

xExtent

fontgate.fgTrueTypeData.xExtent = xExtent(...)
int xExtent()

xMax

fontgate.fgTrueTypeData.xMax
(int)

xMin

fontgate.fgTrueTypeData.xMin
(int)

yExtent

fontgate.fgTrueTypeData.yExtent = yExtent(...)
int yExtent()

yMax

fontgate.fgTrueTypeData.yMax
(int)

yMin

fontgate.fgTrueTypeData.yMin
(int)

yPels

fontgate.fgTrueTypeData.yPels
(int)