fontgate

fontgate

FontGate Python interface

fgAnchor: Anchor representation
fgAnchors: list of fgAnchor objects
fgAxes: Axes list representation
fgAxis: Axis representation
fgCMaps: list of fgCmapRecord objects
fgCaret: Caret representation
fgCarets: list of fgCaret objects
fgCmapRecord: fgCmapRecord representation
fgCoding: Coding data representation
fgComponent: Component representation
fgComponents: list of fgComponent objects
fgContour: Contour representation
fgContours: list of fgContour objects
fgCuspPoint: CuspPoint representation
fgCuspPoints: list of fgCuspPoint objects
pyfgDataOwnerData: pyfgDataOwnerData objects
fgDesignPosition: Anchor representation
fgDeviceRecord: DeviceRecord representation
fgDeviceRecords: list of fgDeviceRecord objects
fgExtMapUIntToString: fgExtMapUIntToString dictionary
fgFont: Font representation
fgFontHinting: Font Hinting data representation
fgFontInfo: FontInfo data
fgFontInfoDict: Font info dictionaries
fgGaspRecord: GaspRecord representation
fgGaspRecords: list of fgGaspRecord objects
fgGlyph: Glyph representation
fgGlyphsR: fgGlyphsR representation
fgGlyphDict: Glyph dictionaries
fgGlyphIDsSet: GlyphIDs set
fgGlyphs: list of fgGlyph objects
fgGroup: Kerning/Metrics group
fgGroups: Glyph groups list
fgGuide: Guide representation
fgGuides: list of fgGuide objects
fgHint: Hint representation
fgHintCommand: HintCommand representation
fgHintCommands: list of fgHintCommand objects
fgHints: list of fgHint objects
fgKerning: Kerning representation
fgKerningGroups: Dictionary of kerning groups
fgKerningObject: KerningObject representation
fgKerningObjectPair: KerningObjectPair representation
fgLayer: Layer representation
fgLayers: list of fgLayer objects
fgLib: Dictionary with font- or glyph-related data
fgMapBytes: Raw data dictionary
fgExtMapIntTofgShape: fgExtMapIntTofgShape dictionary
fgFlagsDict: bool flags diactionary
fgValuesDict: float values dictionary
fgIntDict: int dictionary
fgStringDict: string dictionary
fgMaster: Anchor representation
fgMasters: list of fgMaster objects
fgMaxP: fgMaxP representation
fgMetricsClass: MetricsClass representation
fgMetricsClasses: list of fgMetricsClass objects
fgNametable: NameTable - unicode->name translation and vice versa
fgNode: Node representation
fgNodes: list of fgNode objects
fgOTLayout: OpenType Layout representation
fgOtInfo: OT Info representation
fgOtValue: OT Value representation
fgPackages: Font packages representation
fgPen: Pen representation
fgExtMapUShortToShort: fgExtMapUShortToShort dictionary
fgShape: Shape representation
fgShapes: list of fgShape objects
fgStem: Stem representation
fgStems: list of fgStem objects
fgTrueTypePoint: TrueType Point representation
fgTrueTypePoints: list of fgTrueTypePoint objects
fgTTInterpreter: TTInterpreter representation
fgVdmxRecord: fgVdmxRecord representation
fgVdmxRecords: list of fgVdmxRecord objects
fgVectorBool: [char] vector
fgVectorChar: [char] vector
fgVectorDouble: [double] vector
fgVectorInt: [int] vector
fgVectorUInt16: [uint16_t] vector
fgVectorUInt32: [uint32t] vector
fgVectorPoint: [fgPoint] vector
fgZone: Zone representation
fgZones: list of fgZone objects
fgOptions: FontGate options
fgOpt_T1Import: fgOpt_T1Import options page
fgOpt_OTImport: fgOpt_OTImport options page
fgOpt_UfoFontImport: fgOpt_UfoFontImport options page
fgOpt_VfbImport: fgOpt_VfbImport options page
fgOpt_VfbExport: fgOpt_VfbExport options page
fgOpt_UfoFontExport: fgOpt_UfoFontExport options page
fgOpt_OTExport: fgOpt_OTExport options page
fgOpt_T1Export: fgOpt_T1Export options page
fgOpt_EOTExport: fgOpt_EOTExport options page
fgOpt_WOFFExport: fgOpt_WOFFExport options page
fgOpt_Font: fgOpt_Font options page
fgOpt_KerningOptions: fgOpt_KerningOptions options page
fgOpt_OTExportFeaFile: fgOpt_OTExportFeaFile options page
fgOpt_TTAutohint: fgOpt_TTAutohint options page
fgOpt_T1Autohint: fgOpt_T1Autohint options page
fgOpt_TTFAutohint: fgOpt_TTFAutohint options page
fgOpt_AutoMetrics: fgOpt_AutoMetrics options page
fgOpt_ExpandKerning: fgOpt_ExpandKerning options page
fgOpt_Optimize: fgOpt_Optimize options page
fgBitmap: Bitmap representation
fgBitmaps: list of  fgBitmap objects
fgBitmapsData: BitmapsData representation
fgBrush: Brush representation
fgColor: Color representation
fgCurve: Curve representation
fgFontGateData: FontGateData representation
fgGlyphData: GlyphData representation
fgExtMapUCharToUChar: fgExtMapUCharToUChar dictionary
fgMatrix: Transformation matrix representation
fgPoint: Point representation
fgPointU: PointU representation
fgRect: Rectangle representation
fgRendered: fgRendered representation
fgTrueTypeData: TrueTypeData representation
fgVector: Vector representation

Classes

  • builtin.object
    • builtin.fgAnchor
    • builtin.fgAnchors
    • builtin.fgAxes
    • builtin.fgAxis
    • builtin.fgBitmap
    • builtin.fgBitmaps
    • builtin.fgBitmapsData
    • builtin.fgBrush
    • builtin.fgCMaps
    • builtin.fgCaret
    • builtin.fgCarets
    • builtin.fgCmapRecord
    • builtin.fgCoding
    • builtin.fgColor
    • builtin.fgComponent
    • builtin.fgComponents
    • builtin.fgContour
    • builtin.fgContours
    • builtin.fgCurve
    • builtin.fgCuspPoint
    • builtin.fgCuspPoints
    • builtin.fgDesignPosition
    • builtin.fgDeviceRecord
    • builtin.fgDeviceRecords
    • builtin.fgExtMapIntTofgShape
    • builtin.fgExtMapUCharToUChar
    • builtin.fgExtMapUIntToString
    • builtin.fgExtMapUShortToShort
    • builtin.fgFlagsDict
    • builtin.fgFont
    • builtin.fgFontGateData
    • builtin.fgFontHinting
    • builtin.fgFontInfo
    • builtin.fgFontInfoDict
    • builtin.fgGaspRecord
    • builtin.fgGaspRecords
    • builtin.fgGlyph
    • builtin.fgGlyphData
    • builtin.fgGlyphDict
    • builtin.fgGlyphIDsSet
    • builtin.fgGlyphs
    • builtin.fgGlyphsR
    • builtin.fgGroup
    • builtin.fgGroups
    • builtin.fgGuide
    • builtin.fgGuides
    • builtin.fgHint
    • builtin.fgHintCommand
    • builtin.fgHintCommands
    • builtin.fgHints
    • builtin.fgIntDict
    • builtin.fgKerning
    • builtin.fgKerningGroups
    • builtin.fgKerningObject
    • builtin.fgKerningObjectPair
    • builtin.fgLayer
    • builtin.fgLayers
    • builtin.fgLib
    • builtin.fgMapBytes
    • builtin.fgMaster
    • builtin.fgMasters
    • builtin.fgMatrix
    • builtin.fgMaxP
    • builtin.fgMetricsClass
    • builtin.fgMetricsClasses
    • builtin.fgNametable
    • builtin.fgNode
    • builtin.fgNodes
    • builtin.fgOTLayout
    • builtin.fgOpt_AutoMetrics
    • builtin.fgOpt_EOTExport
    • builtin.fgOpt_ExpandKerning
    • builtin.fgOpt_Font
    • builtin.fgOpt_KerningOptions
    • builtin.fgOpt_OTExport
    • builtin.fgOpt_OTExportFeaFile
    • builtin.fgOpt_OTImport
    • builtin.fgOpt_Optimize
    • builtin.fgOpt_T1Autohint
    • builtin.fgOpt_T1Export
    • builtin.fgOpt_T1Import
    • builtin.fgOpt_TTAutohint
    • builtin.fgOpt_TTFAutohint
    • builtin.fgOpt_UfoFontExport
    • builtin.fgOpt_UfoFontImport
    • builtin.fgOpt_VfbExport
    • builtin.fgOpt_VfbImport
    • builtin.fgOpt_WOFFExport
    • builtin.fgOptions
    • builtin.fgOtInfo
    • builtin.fgOtValue
    • builtin.fgPackages
    • builtin.fgPen
    • builtin.fgPoint
    • builtin.fgPointU
    • builtin.fgRect
    • builtin.fgRendered
    • builtin.fgShape
    • builtin.fgShapes
    • builtin.fgStem
    • builtin.fgStems
    • builtin.fgStringDict
    • builtin.fgTTInterpreter
    • builtin.fgTrueTypeData
    • builtin.fgTrueTypePoint
    • builtin.fgTrueTypePoints
    • builtin.fgValuesDict
    • builtin.fgVdmxRecord
    • builtin.fgVdmxRecords
    • builtin.fgVector
    • builtin.fgVectorBool
    • builtin.fgVectorChar
    • builtin.fgVectorDouble
    • builtin.fgVectorInt
    • builtin.fgVectorPoint
    • builtin.fgVectorUInt16
    • builtin.fgVectorUInt32
    • builtin.fgZone
    • builtin.fgZones
    • builtin.pyfgDataOwnerData

class fgAnchor(object)

Anchor representation

Constructors:
  fgAnchor() - default
  fgAnchor(fgAnchor) - copy
  fgAnchor((x, y), 'name') - create with position=(x, y) and name='name'
  fgAnchor(x, y, 'name') - create with position=(x, y) and name='name'

Methods

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

str(...)

x.__str__() <==> str(x)

copy(...)

copy(fgAnchor) - copy data from another fgAnchor object

draw(...)

draw(penObject) - draw the object with a segment pen

drawPoints(...)

drawPoints(penObject) - draw the object with a point pen

move(...)

move(dx, dy) - move anchor by (dx, dy)

round(...)

round() - round anchor coordinates

scale(...)

scale((scale_x, scale_y)[, (center_x, center_y)]) - scale anchor by (scale_x, scale_y) with center=(center_x, center_y) or (0,0) if not defined

transform(...)

transform(fgMatrix) - transform anchor coordinates by matrix

Descriptors

data

(uint) - data

index

(int) - index of object for owner's base layer

mark

(uint) - mark

name

(string) - name

position

(fgPoint) - coordinates as fgPoint

x

(int/double) - horizontal coordinate

y

(int/double) - vertical coordinate

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgAnchors(object)

list of fgAnchor objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)

append(item) or append( list(item) ) - add items to the end of the list

asList(...)

list(items) asList() - get items as list

clean(...)

clean() - delete all items

del(...)

del(index) - delete item by index

insert(...)

insert(position, item) - insert item into list at specified position

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgAxes(object)

Axes list representation

Constructors:
  fgAxes() - default
  fgAxes(fgAxes) - copy

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

str(...)

x.__str__() <==> str(x)

Descriptors

masters

(fgMasters) - masters

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgAxis(object)

Axis representation

Constructors:
  fgAxis('name') - create with name='name'

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

blendMap

(list(Point))

map

(list(Point))

name

(string) - name

shortName

(string) - shortName

type

(string) - type

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgBitmap(object)

Bitmap representation

Constructors:
  fgBitmap() - default
  fgBitmap(fgBitmap) - make orphan copy of another object
  fgBitmap(width, height, bitsPerPixel)
  fgBitmap(width, height, rowBytes, bitsPerPixel, bytesarray)

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

eq(...)

x.__eq__(y) <==> x==y

ge(...)

x.__ge__(y) <==> x>=y

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

gt(...)

x.__gt__(y) <==> x>y

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

le(...)

x.__le__(y) <==> x<=y

len(...)

x.__len__() <==> len(x)

lt(...)

x.__lt__(y) <==> x

mul(...)

x.__mul__(n) <==> x*n

ne(...)

x.__ne__(y) <==> x!=y

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

str(...)

x.__str__() <==> str(x)

asDict(...)

represent object as dictionary

asTuple(...)

represent object as tuple

clear(...)

clear all data

clone(...)

clone(fgBitmap source) - make clone of source bitmap

copy(...)

copy(fgBitmap source[, x, y, w, h]) - copy whole source bitmap or part of it with size (w, h) from pos (x, y)

copyData(...)

copy(bytesarray) - assign new bitmap data

create(...)

create(') - allocate new bitmap data

downsample(...)

downsample(fgBitmap, int oversampling)

empty(...)

bool empty() - return true if no data assigned or bitmap size is 0

emptyRow(...)

emptyRow(y, x0, x1) - return true if part of row y from x0 till x1 has no non-zero pixels

fill(...)

fill(fgColor color) - fill entire bitmap by color

flipV(...)

flip bitmap by vertical axis

getPixel(...)

fgColor getPixel(x, y) - get color of pixel (x, y)

row(...)



setPixel(...)

setPixel(x, y, fgColor color) - set color for pixel (x, y)

Descriptors

bpp

bits per pixel

bytes

bytes per row

data

bitmap data

height

bitmap height in pixels

size

overall bytes count for bitmap storage

width

bitmap width in pixels

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgBitmaps(object)

list of  fgBitmap objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)



asList(...)



clean(...)



del(...)



insert(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgBitmapsData(object)

BitmapsData representation

Constructors:
  fgBitmapsData() - default
  fgBitmapsData(fgBitmapsData) - 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

str(...)

x.__str__() <==> str(x)

bad(...)

bool bad() - return true if status isn't gdsOK

boundingBox(...)

fgRect boundingBox(fgGlyphsR, fgMatrix, bool prepareExport) - calculate bounding box

copy(...)

fgBitmapsData copy() - create alone copy of data

countPictures(...)

int countPictures() - return pictures count

getFontGateData(...)

getFontGateData() always return 0

getType(...)

string getType() - return 'dtBitmaps'

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() - always return false

setParent(...)

setParent(fgGlyph) - set parent glyph

status(...)

'gdsOK'/'gdsInvalid' status()

transform(...)

transform(fgMatrix) - transform data

updated(...)

updated() - mark data as changed, reset internal caches

Descriptors

bitmaps

(fgBitmaps) - list of fgRendered objects

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgBrush(object)

Brush representation

Constructors:
  fgBrush() - default
  fgBrush(fgBrush) - copy
  fgBrush(fgColor) - solid brush with selected color and default size (1, 0)
  fgBrush(fgColor, fgPoint) - solid brush with selected color and size

Methods

add(...)

x.__add__(y) <==> x+y

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

eq(...)

x.__eq__(y) <==> x==y

ge(...)

x.__ge__(y) <==> x>=y

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

gt(...)

x.__gt__(y) <==> x>y

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

le(...)

x.__le__(y) <==> x<=y

len(...)

x.__len__() <==> len(x)

lt(...)

x.__lt__(y) <==> x

mul(...)

x.__mul__(n) <==> x*n

ne(...)

x.__ne__(y) <==> x!=y

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

str(...)

x.__str__() <==> str(x)

asDict(...)

represent object as dictionary

asTuple(...)

represent object as tuple

isBlack(...)

bool isBlack() - return true if brush is black

isTransparent(...)

bool isTransparent() - return true if brush is transparent

Static methods

black(...)

fgBrush black() - get black solid brush

transparent(...)

fgBrush transparent() - get transparent solid brush

Descriptors

kind

('Empty'/'Solid'/'Gradient') brush type

size

(fgPoint) brush size by x and y axis

solid

(fgColor) brush color

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgCMaps(object)

list of fgCmapRecord objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)



asList(...)



clean(...)



del(...)



insert(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgCaret(object)

Caret representation

Constructors:
fgCaret() - default
fgCaret(fgCaret) - copy
fgCaret((fgOtValue/float/int, 'name')) - by coordinate and name

Methods

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

Descriptors

name

(string) name

v

(fgOtValue) coordinate

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgCarets(object)

list of fgCaret objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)

append(item) or append( list(item) ) - add items to the end of the list

asList(...)

list(items) asList() - get items as list

clean(...)

clean() - delete all items

del(...)

del(index) - delete item by index

insert(...)

insert(position, item) - insert item into list at specified position

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgCmapRecord(object)

fgCmapRecord representation

Methods

add(...)

x.__add__(y) <==> x+y

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

str(...)

x.__str__() <==> str(x)

asDict(...)

represent object as dictionary

asTuple(...)

represent object as tuple

Descriptors

eid
format
lid
nid
pagename
pid
type

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgCoding(object)

Coding data representation

Constructors:
  fgCoding() - default
  fgCoding(fgCoding) - copy
  fgCoding( bool [unicodeRange], bool [codepageRange], fgCMaps cmaps,
         fgEncoding encoding, fgEncoding importedEncoding,
         'encDefault'/'encStandard'/'encCustom')

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

cmaps

(fgCMaps)

codepageRange

(bool list)

encoding

(fgEncoding)

encodingType

('encDefault'/'encStandard'/'encCustom')

importedEncoding

(fgEncoding)

unicodeRange

(bool list)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgColor(object)

Color representation

Constructors:  fgColor() - default
  fgColor(fgColor) - copy
  fgColor(float hueValue) - by hue value  fgColor(r, g, b) - by r, g, b, float values from 0 to 1.0
  fgColor(r, g, b, a) - by r, g, b, a float values from 0 to 1.0

Methods

A(...)

int A() - get alpha value as int (0..255)

B(...)

int B() - get blue value as int (0..255)

G(...)

int G() - get green value as int (0..255)

R(...)

int B() - get blue value as int (0..255)

add(...)

x.__add__(y) <==> x+y

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

eq(...)

x.__eq__(y) <==> x==y

ge(...)

x.__ge__(y) <==> x>=y

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

gt(...)

x.__gt__(y) <==> x>y

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

le(...)

x.__le__(y) <==> x<=y

len(...)

x.__len__() <==> len(x)

lt(...)

x.__lt__(y) <==> x

mul(...)

x.__mul__(n) <==> x*n

ne(...)

x.__ne__(y) <==> x!=y

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

str(...)

x.__str__() <==> str(x)

asDict(...)

represent object as dictionary

asTuple(...)

represent object as tuple

getCMYK(...)

(c, m, y, k, a) getCMYK([varK = 0.3]) - get color as CMYK+A components

gray(...)

float gray() - get color as grayscale level

hue(...)

float hue() - get hue value

lab(...)

(l, a, b) lab() - get color as lab float values

lightness(...)

float lightness() - get lightness value

saturation(...)

float saturation() - get saturation value

set(...)

set((r, g, b[, a])) - set color by tuple with rgb or rgba float values

setCMYK(...)

setCMYK(c, m, y, k[, _a = 1.0]) = set color by CMYK[A] float values

setGray(...)

segGray(float v) - set rgb components to v

setHue(...)

setHue(h[, s=1.0[, l = 0.5]]) - set by hsl float values

xyz(...)

(x, y, z) xyz() - get color as xyz float values

Static methods

black(...)

fgColor black() - get black color

fromInt(...)

fgColor fromInt(r, g, b[, a=255]) - get color by int rgb(a) values (0..255)

fromLab(...)

fgColor fromLab(l, a, b) - get color by float lab values

transparent(...)

fgColor transparent() - get transparent color

Descriptors

a

(float 0..1.0) - alpha channel

b

(float 0..1.0) - blue channel

g

(float 0..1.0) - green channel

r

(float 0..1.0) - red channel

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgComponent(object)

Component representation

Constructors:
  fgComponent() - default
  fgComponent(fgComponent) - copy
  fgComponent('name', fgMatrix) - by 'name' and transformation matrix fgMatrix

Methods

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

str(...)

x.__str__() <==> str(x)

draw(...)

draw(pen object) - draw the object with a segment pen

drawPoints(...)

drawPoints(pen object) - draw the object with a point pen

move(...)

move(dx, dy) - move by float dx, dy value

Descriptors

baseGlyph

(string) name of base glyph

box

(fgRect) - bounding box

hasFullMatrix



index

(int) component index in glyph's components list

matrix

(fgMatrix) - component transform matrix

offset



scale



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgComponents(object)

list of fgComponent objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)



asList(...)



clean(...)



decompose(...)



del(...)



getAsList(...)



insert(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgContour(object)

Contour representation

Constructors:
  fgContour() - default
  fgContour(fgContour) - copy

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

str(...)

x.__str__() <==> str(x)

appendNode(...)

appendNode(fgNode) - add node to the end of the contour

area(...)

float area()

autoClose(...)

bool autoClose() - bool autoClose() - close contour, return true if changes was made

autoInterpolated(...)

bool autoInterpolated() - interpolate contour nodes, return true if changes was made

autoSmooth(...)

bool autoSmooth() - smooth contour nodes, return true if changes was made

boundingBox(...)

fgRect boundingBox(fgMatrix[, bool prepareExport = false])

clear(...)

clear() - clear all nodes

contains(...)

bool/Nothing contains(fgPoint[, bool winding = false])

containsCurvePoint(...)

bool containsCurvePoint()

containsOffPoint(...)

bool containsOffPoint()

countNodes(...)

int countNodes() - get count of nodes

deleteNode(...)

bool deleteNode(int nodeIndex) - delete node

draw(...)

draw(segmentPen) - draw the object with a segment pen

drawPoints(...)

drawPoints(pointPen) - draw the object with a point pen

empty(...)

bool empty() - return True if contour haven't any node

filterOnPoints(...)

filterOnPoints()

getNode(...)

fgNode getNode(int nodeIndex) - get node by index

getNodes(...)

[ fgNode ] getNodes() - get list of fgNode objects

getUFONodesList(...)

[ ((x, y), 'nodetype', bool smooth, 'name') ] getUFONodesList() -get list of contour nodes as UFO-style tuples

insertNode(...)

insertNode(fgNode, int insertTo) - insert node into position insertTo

isCompatible(...)

bool isCompatible(fgContour)

length(...)

int length() - get count of nodes

midPoint(...)

fgPoint midPoint()

reverse(...)

reverse() - reverse order of contour nodes

toCurves(...)

toCurves([tolerance = 5.])

toShortSplines(...)

toShortSplines([tolerance = 5.[, bool short_splines = true]])

transform(...)

fgContour transform(fgMatrix)

Descriptors

name

(string) name of contour

nodes

([fgNode]) contour nodes

open

(bool) open flag

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgContours(object)

list of fgContour objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)



asList(...)



clean(...)



del(...)



insert(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgCurve(object)

Curve representation

Constructors:
  fgCurve() - default
  fgCurve(fgCurve) - copy
  fgCurve( [4 x fgPoint] )
  fgCurve( (q0, q1, q2, q3) )
  fgCurve( fgPoint, fgPoint )
  fgCurve( fgPoint, fgPoint, fgPoint )
  fgCurve( fgPoint, fgPoint, fgPoint, fgPoint )
  fgCurve( fgCurve, float t0, float t1 )

Methods

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

str(...)

x.__str__() <==> str(x)

asDict(...)

represent object as dictionary

asTuple(...)

represent object as tuple

bbox(...)

fgRect bbox()

check(...)

bool check(float flatness, float length, float w0, float w1)

coefficients(...)

(fgPoint a, fgPoint b, fgPoint c, fgPoint d) coefficients()

curvature(...)

float curvature(float t)

d1(...)

fgPoint d1(float t)

d2(...)

fgPoint d2(float t)

direction(...)

fgPoint direction(float time)

eseg(...)

fgCurve eseg(float u)

flat(...)

bool flat(double parameter = almost_zero)

getExtrema(...)

int getExtrema(bool h, [float] )

getInflection(...)

int getInflection( [float] )

hasExtrema(...)

bool hasExtrema()

isConvex(...)

bool isConvex( [float area] )

len(...)

float len(int quality)

maximumDeviation(...)

float maximumDeviation()

merge(...)

bool merge(fgCurve c)

point(...)

fgPoint point(float time)

quickLen(...)

float quickLen()

render(...)

int render([fgPoint/fgPointU], int quality)

seg(...)

fgCurve seg(float stime, float etime)

sseg(...)

fgCurve sseg(float u)

time(...)

float time(fgPoint[, int quality[, [float min_dist] ]])

Descriptors

q0

(fgPoint)

q1

(fgPoint)

q2

(fgPoint)

q3

(fgPoint)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgCuspPoint(object)

CuspPoint representation

Constructors:
  fgCuspPoint() - default
  fgCuspPoint(fgCuspPoint) - copy

Methods

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

str(...)

x.__str__() <==> str(x)

middleH(...)

bool middleH()

middleV(...)

bool middleV()

Descriptors

hlink0

(int)

hlink1

(int)

index

(int)

p

(fgPoint)

vlink0

(int)

vlink1

(int)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgCuspPoints(object)

list of fgCuspPoint objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)



asList(...)



clean(...)



del(...)



insert(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgDesignPosition(object)

Anchor representation

Constructors:
  fgDesignPosition() - default
  fgDesignPosition(fgDesignPosition) - copy
  fgDesignPosition(axisCount) - parametric

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

data

(list(double)) - data

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgDeviceRecord(object)

DeviceRecord representation

Constructors:
  fgDeviceRecord() - default
  fgDeviceRecord(fgDeviceRecord) - copy
  fgDeviceRecord(tuple( int ppm, int correction) )
  fgDeviceRecord( int ppm, int correction )

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

correction

(int)

ppm

(int)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgDeviceRecords(object)

list of fgDeviceRecord objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)

append(item) or append( list(item) ) - add items to the end of the list

asList(...)

list(items) asList() - get items as list

clean(...)

clean() - delete all items

del(...)

del(index) - delete item by index

insert(...)

insert(position, item) - insert item into list at specified position

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgExtMapIntTofgShape(object)

fgExtMapIntTofgShape dictionary

Methods

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

repr(...)

x.__repr__() <==> repr(x)

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

asDict(...)



del(...)



has_key(...)



keys(...)



value(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgExtMapUCharToUChar(object)

fgExtMapUCharToUChar dictionary

Methods

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

repr(...)

x.__repr__() <==> repr(x)

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

asDict(...)



del(...)



has_key(...)



keys(...)



value(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgExtMapUIntToString(object)

fgExtMapUIntToString dictionary

Methods

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

repr(...)

x.__repr__() <==> repr(x)

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

asDict(...)



del(...)



has_key(...)



keys(...)



value(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgExtMapUShortToShort(object)

fgExtMapUShortToShort dictionary

Methods

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

repr(...)

x.__repr__() <==> repr(x)

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

asDict(...)



del(...)



has_key(...)



keys(...)



value(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgFlagsDict(object)

bool flags diactionary

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

asDict(...)



del(...)



has_key(...)



keys(...)



value(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgFont(object)

Font representation

Constructors:
  fgFont() - create new empty font
  fgFont('font_name') -  - create new empty font with name 'font_name'

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

addGlyph(...)

fgGlyph addGlyph(fgGlyph)

appendFeatures(...)

int appendFeatures()

averageHeight(...)

float averageHeight()

averageWidth(...)

float averageWidth()

boundingBox(...)

fgRect boundingBox(fgMatrix)

calculateSafeZones(...)

?

checkMaps(...)

checkMaps()

clearGlyphs(...)

clearGlyphs() - remove all glyphs

clearMaps(...)

clearMaps() - force clear all font internal caches

copyFrom(...)

copyFrom(fgFont sourceFont) - copy all data and glyphs from source font

createGlyph(...)

fgGlyph createGlyph('name'[, int unicode[, bool clearExisting = false]])

dropHintingTables(...)

dropHintingTables()

dropLayoutTables(...)

dropLayoutTables()

fixOrdering(...)

bool fixOrdering(float upm[, sortMethod='sortUnicode']) - sort glyphs by selected method. Methods are 'sortNone', 'sortName', 'sortUnicode', 'sortIndex', 'sortIndexReverse'

hasColors(...)

bool hasColors()

hasPictures(...)

bool hasPictures()

has_key(...)

bool has_key('name') - return true if font contains glyph with name 'name'

items(...)

[('name', fgGlyph)] items() - returns a list of font's ('name', fgGlyph) tuple pairs

keys(...)

['names'] keys() - return list of names of all glyphs in the font

killUnicode(...)

killUnicode(unicode) - remove selected unicode from all glyph unicodes lists

rebuildMaps(...)

rebuildMaps() - force clear and rebuild all font internal caches

removeGlyph(...)

bool/Nothing removeGlyph('name'/unicode) - remove glyph selected by 'name' or unicode (int)

save(...)

save('path/filename'[, bool save_vfb=false]) - save font in UFO or VFB format

scale(...)

scale(float) - scale font UPM

sortGlyphs(...)

sortGlyphs(sortMethod) - sort glyphs. sortMethod: 'sortNone'/'sortName'/'sortUnicode'/'sortIndex'/'sortIndexReverse'

update(...)

update() - force rebuild font chaches and request font update

values(...)

[fgGlyph] values() - returns list of font's fgGlyph

Descriptors

axes

(fgAxes) axes info

coding

(fgCoding) encoding info

features

(fgOTLayout) features data

glyphs

([fgGlyph]) font glyphs list

groups

(fgGroups) glyph groups list

guides

(fgGuides) guides list

hinting

(fgFontHinting) hinting info

hints

(fgHints) hints list for font 'Body' layer

id

(long) package id

info

(fgFontInfo) font info data

kerning

(fgKerning) kerning data

lib

(fgLib) additional font data

master

(fgLayer) font master layer

metricsClasses

(fgMetricsClasses) list of metrics classes

path

(string) path and font file name

shapes

(fgMapShapes) font shapes map

tables

(fgMapBytes) raw OT tables data

translatedNames

([tuples]) raw style->names.translated data

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgFontGateData(object)

FontGateData representation

Constructors:
  fgFontGateData() - default
  fgFontGateData(fgFontGateData) - 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

str(...)

x.__str__() <==> str(x)

activeLayer(...)

fgLayer activeLayer() - get active layer or Nothing if no layers exists

addContour(...)

fgContour addContour(fgContour) - add contour into 'Body' layer

addShape(...)

fgShape addShape(fgShape) - add shape into 'Body' layer

bad(...)

bool bad() - return true if status isn't gdsOK

bodyLayer(...)

fgLayer bodyLayer() - get layer named 'Body', any existing non-service layer if not found or Nothing if no layers exists

bodyLayerStrict(...)

fgLayer bodyLayerStrict() - get layer named 'Body'. if it's not present, create it on the fly

boundingBox(...)

fgRect boundingBox(fgGlyphsR, fgMatrix, bool prepareExport) - calculate bounding box

checkContours(...)

checkContours() - ckeck for multi-segment contours and split it into one segment's contours

copy(...)

fgFontGateData copy() - create alone copy of data

countNodesContours(...)

(nodesCount, contoursCount) countNodesContours() - calculate stats for 'Body' layer if it present, return (0,0) otherwise

countPictures(...)

int countPictures() - return pictures count

countShapes(...)

int countShapes() - return shapes count

findLayer(...)

fgLayer findLayer('name') - get layer by name, return Nothing if no layer found

getFontGateData(...)

fgFontGateData getFontGateData() - return self

getType(...)

string getType() - return 'dtFontGate'

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

maskLayer(...)

fgLayer maskLayer(bool createIfMissing)

modified(...)

bool modified() - return true if data was changed

resetBbox(...)

resetBbox() - reset bbox cache

setParent(...)

setParent(fgGlyph) - set parent glyph

status(...)

'gdsOK'/'gdsInvalid' status()

transform(...)

transform(fgMatrix) - transform data

updated(...)

updated() - mark data as changed, reset internal caches

Descriptors

layers

(fgLayers) layers list

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgFontHinting(object)

Font Hinting data representation

Constructors:
  fgFontHinting() - default
  fgFontHinting(fgFontHinting) - copy

Methods

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

str(...)

x.__str__() <==> str(x)

generateStemsProgram(...)

generateStemsProgram(Position upm, bool keepValues)

getBlueValues(...)

list( float ) getBlueValues()

getFamilyBlues(...)

list( float ) getFamilyBlues()

getFamilyOtherBlues(...)

list( float ) getFamilyBlues()

getOtherBlues(...)

list( float ) getOtherBlues()

getZone(...)

fgZone/Nothing getZone(int index, bool top)

getZonesCount(...)

int getZonesCount(bool top)

Descriptors

blueFuzz

(int)

blueScale

(float)

blueShift

(int)

codePPM

(int)

cvt

( bytesarray )

dict

( { string : int } )

dropoutPPM

(int)

familyZones

(fgZones)

flex

(bool)

forceBold

(bool)

forceBoldTreshold

(float)

fpgm

( bytesarray )

gasp

( [ fgGaspRecord ] )

hdmx

( [ int ] )

maxp

( fgMaxP )

prep

( bytesarray )

stemH

(float)

stemSnapLimit

(int)

stemV

(float)

stemsH

(fgStems)

stemsV

(fgStems)

t1stemsH

(fgStems)

t1stemsV

(fgStems)

t1zones

(fgZones)

vdmx

( [ fgVdmxRecord ] )

zonePPM

(int)

zones

(fgZones)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgFontInfo(object)

FontInfo data

No constructors - it's the direct member of the fgFont object

Methods

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

Descriptors

ascender

Ascender value

capHeight

Cap height value

caretOffset

Caret offset value

copyright

Copyright statement

descender

Descender value

dict

Other font info tags and data

familyName

Family name

italicAngle

Italic angle

macintoshFONDFamilyID

Family ID number. Corresponds to the ffFamID in the Macintosh FOND resource

macintoshFONDName

Font name for the Macintosh FOND resource

note

Arbitrary note about the font

openTypeHeadCreated

Creation date and time

openTypeHeadFlags

A list of bit numbers indicating the flags. Corresponds to the OpenType head table flags field

openTypeHeadFontDirectionHint

Deprecated (Set to 2). Corresponds to the OpenType head table fontDirectionHint field

openTypeHeadLowestRecPPEM

Smallest readable size in pixels. Corresponds to the OpenType head table lowestRecPPEM field

openTypeHeadModified

Last modification date and time

openTypeHheaAscender

Ascender value. Corresponds to the OpenType hhea table Ascender field

openTypeHheaCaretOffset

Caret offset value. Corresponds to the OpenType hhea table caretOffset field

openTypeHheaCaretSlopeRise

Caret slope rise value. Corresponds to the OpenType hhea table caretSlopeRise field

openTypeHheaCaretSlopeRun

Caret slope run value. Corresponds to the OpenType hhea table caretSlopeRun field

openTypeHheaDescender

Descender value. Corresponds to the OpenType hhea table Descender field

openTypeHheaLineGap

Line gap value. Corresponds to the OpenType hhea table LineGap field

openTypeNameCompatibleFullName

Compatible full name. Corresponds to the OpenType name table name ID 18

openTypeNameDescription

Description of the font. Corresponds to the OpenType name table name ID 10

openTypeNameDesigner

Designer name. Corresponds to the OpenType name table name ID 9

openTypeNameDesignerURL

URL for the designer. Corresponds to the OpenType name table name ID 12

openTypeNameLicense

License text. Corresponds to the OpenType name table name ID 13

openTypeNameLicenseURL

URL for the license. Corresponds to the OpenType name table name ID 14

openTypeNameManufacturer

Manufacturer name. Corresponds to the OpenType name table name ID 8

openTypeNameManufacturerURL

Manufacturer URL. Corresponds to the OpenType name table name ID 11

openTypeNamePreferredFamilyName

Preferred family name. Corresponds to the OpenType name table name ID 16

openTypeNamePreferredSubfamilyName

Preferred subfamily name. Corresponds to the OpenType name table name ID 17

openTypeNameSampleText

Sample text. Corresponds to the OpenType name table name ID 20

openTypeNameUniqueID

Unique ID string. Corresponds to the OpenType name table name ID 3

openTypeNameVersion

Version string. Corresponds to the OpenType name table name ID 5

openTypeNameWWSFamilyName

WWS family name. Corresponds to the OpenType name table name ID 21

openTypeNameWWSSubfamilyName

WWS Subfamily name. Corresponds to the OpenType name table name ID 22

openTypeOS2CodePageRanges

A list of bit numbers that are supported code page ranges in the font. Corresponds to the OpenType OS/2 table ulCodePageRange1 and ulCodePageRange2 fields

openTypeOS2FamilyClass

Two integers representing the IBM font class and font subclass of the font. The first number, representing the class ID, should be in the range 0-14. The second number, representing the subclass, should be in the range 0-15. Corresponds to the OpenType OS/2 table sFamilyClass field

openTypeOS2Panose

The list should contain 10 integers that represent the setting for each category in the Panose specification. This corresponds to the OpenType OS/2 table Panose field

openTypeOS2Selection

A list of bit numbers indicating the bits that should be set in fsSelection. Corresponds to the OpenType OS/2 table selection field

openTypeOS2StrikeoutPosition

Strikeout position. Corresponds to the OpenType OS/2 table yStrikeoutPosition field

openTypeOS2StrikeoutSize

Strikeout size. Corresponds to the OpenType OS/2 table yStrikeoutSize field

openTypeOS2SubscriptXOffset

Subscript x offset. Corresponds to the OpenType OS/2 table ySubscriptXOffset field

openTypeOS2SubscriptXSize

Subscript horizontal font size. Corresponds to the OpenType OS/2 table ySubscriptXSize field

openTypeOS2SubscriptYOffset

Subscript y offset. Corresponds to the OpenType OS/2 table ySubscriptYOffset field

openTypeOS2SubscriptYSize

Subscript vertical font size. Corresponds to the OpenType OS/2 table ySubscriptYSize field

openTypeOS2SuperscriptXOffset

Superscript x offset. Corresponds to the OpenType OS/2 table ySuperscriptXOffset field

openTypeOS2SuperscriptXSize

Superscript horizontal font size. Corresponds to the OpenType OS/2 table ySuperscriptXSize field

openTypeOS2SuperscriptYOffset

Superscript y offset. Corresponds to the OpenType OS/2 table ySuperscriptYOffset field

openTypeOS2SuperscriptYSize

Superscript vertical font size. Corresponds to the OpenType OS/2 table ySuperscriptYSize field

openTypeOS2Type

A list of bit numbers indicating the embedding type. Corresponds to the OpenType OS/2 table fsType field

openTypeOS2TypoAscender

Ascender value. Corresponds to the OpenType OS/2 table sTypoAscender field

openTypeOS2TypoDescender

Descender value. Corresponds to the OpenType OS/2 table sTypoDescender field

openTypeOS2TypoLineGap

Line gap value. Corresponds to the OpenType OS/2 table sTypoLineGap field

openTypeOS2UnicodeRanges

A list of bit numbers that are supported Unicode ranges in the font. Corresponds to the OpenType OS/2 table ulUnicodeRange1, ulUnicodeRange2, ulUnicodeRange3 and ulUnicodeRange4 fields

openTypeOS2VendorID

Four character identifier for the creator of the font. Corresponds to the OpenType OS/2 table achVendID field

openTypeOS2WeightClass

Weight class value. Must be a positive integer. Corresponds to the OpenType OS/2 table usWeightClass field

openTypeOS2WidthClass

Width class value. Must be in the range 1-9. Corresponds to the OpenType OS/2 table usWidthClass field

openTypeOS2WinAscent

Ascender value. Corresponds to the OpenType OS/2 table usWinAscent field

openTypeOS2WinDescent

Descender value. Corresponds to the OpenType OS/2 table usWinDescent field

openTypeVheaCaretOffset

Caret offset value. Corresponds to the OpenType vhea table caretOffset field

openTypeVheaCaretSlopeRise

Caret slope rise value. Corresponds to the OpenType vhea table caretSlopeRise field

openTypeVheaCaretSlopeRun

Caret slope run value. Corresponds to the OpenType vhea table caretSlopeRun field

openTypeVheaVertTypoAscender

Ascender value. Corresponds to the OpenType vhea table vertTypoAscender field

openTypeVheaVertTypoDescender

Descender value. Corresponds to the OpenType vhea table vertTypoDescender field

openTypeVheaVertTypoLineGap

Line gap value. Corresponds to the OpenType vhea table vertTypoLineGap field

postscriptBlueFuzz

BlueFuzz value. This corresponds to the Type 1/CFF BlueFuzz field

postscriptBlueScale

BlueScale value. This corresponds to the Type 1/CFF BlueScale field

postscriptBlueShift

BlueShift value. This corresponds to the Type 1/CFF BlueShift field

postscriptBlueValues

A list of up to 14 integers or floats specifying the values that should be in the Type 1/CFF BlueValues field

postscriptDefaultCharacter

The name of the glyph that should be used as the default character in PFM files

postscriptDefaultWidthX

Default width for glyphs

postscriptFamilyBlues

A list of up to 14 integers or floats specifying the values that should be in the Type 1/CFF FamilyBlues field

postscriptFamilyOtherBlues

A list of up to 10 integers or floats specifying the values that should be in the Type 1/CFF FamilyOtherBlues field

postscriptFontName

Name to be used for the FontName field in Type 1/CFF table

postscriptForceBold

Indicates how the Type 1/CFF ForceBold field should be set

postscriptFullName

Name to be used for the FullName field in Type 1/CFF table

postscriptIsFixedPitch

Indicates if the font is monospaced. A compiler could calculate this automatically, but the designer may wish to override this setting. This corresponds to the Type 1/CFF isFixedPitched field

postscriptNominalWidthX

Nominal width for glyphs

postscriptOtherBlues

A list of up to 10 integers or floats specifying the values that should be in the Type 1/CFF OtherBlues field

postscriptSlantAngle

Artificial slant angle

postscriptStemSnapH

List of horizontal stems sorted in increasing order. Up to 12 integers or floats are possible. This corresponds to the Type 1/CFF StemSnapH field

postscriptStemSnapV

List of vertical stems sorted in increasing order. Up to 12 integers or floats are possible. This corresponds to the Type 1/CFF StemSnapV field

postscriptUnderlinePosition

Underline position value. Corresponds to the Type 1/CFF/post table UnderlinePosition field

postscriptUnderlineThickness

Underline thickness value. Corresponds to the Type 1/CFF/post table UnderlineThickness field

postscriptUniqueID

A unique ID number as defined in the Type 1/CFF specification

postscriptWeightName

A string indicating the overall weight of the font. This corresponds to the Type 1/CFF Weight field. It should be in sync with the openTypeOS2WeightClass value

postscriptWindowsCharacterSet

The Windows character set. postscriptWindowsCharacterSet Options. Possible values are 1..20

styleMapFamilyName

Family name used for bold, italic and bold italic style mapping

styleMapStyleName

Styling link name. Perrmitted values are 'Regular', 'Italic', 'Bold', 'Bold Italic' (exactly as spelled). No other values are permitted

styleName

Style name

trademark

Trademark statement

unitsPerEm

Units per em

versionMajor

Major version

versionMinor

Minor version

xHeight

x-height value

year

The year the font was created

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgFontInfoDict(object)

Font info dictionaries

Methods

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

Descriptors

flags



hinting



metrics



names



values



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgGaspRecord(object)

GaspRecord representation

Constructors:  fgGaspRecord() - default
  fgGaspRecord(fgGaspRecord) - copy
  fgGaspRecord(int rangeMaxPPEM, int rangeGaspBehavior) - parametric

Methods

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

str(...)

x.__str__() <==> str(x)

addSymmetry(...)



rangeGaspBehavior(...)



set(...)



Descriptors

DOGRAY

(bool)

GRIDFIT

(bool)

SYMMETRIC_GRIDFIT

(bool)

SYMMETRIC_SMOOTHING

(bool)

rangeMaxpPPEM

(int)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgGaspRecords(object)

list of fgGaspRecord objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)

append(item) or append( list(item) ) - add items to the end of the list

asList(...)

list(items) asList() - get items as list

clean(...)

clean() - delete all items

del(...)

del(index) - delete item by index

insert(...)

insert(position, item) - insert item into list at specified position

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgGlyph(object)

Glyph representation

Constructors:
  fgGlyph() - default
  fgGlyph(fgGlyph) - copy
  fgGlyph('name') - create by name

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

addUnicode(...)

addUnicode(unicode) - add unicode to glyph

append(...)

append(fgGlyph[, mtx=fgMatrix()]) - append contours of source glyph to current glyph

clear(...)

clear(contours=true, components=true, anchors=true, guides=true, hints=true) - clear glyph's data

countPictures(...)

int countPictures() - return count of glyph pictures

createContour(...)

fgContour createContour() - create new contour

createData(...)

(variable type) createData(GlyphDataType) - create glyph data, specified by GlyphDataType. Possible values are 'dtNone', 'dtFontGate', 'dtTrueType', 'dtType1', 'dtCFF', 'dtProteus', 'dtBitmaps'

decompose(...)

bool decompose() - decompose glyph

deleteContour(...)

deleteContour(contourIndex) - delete contour by index

draw(...)

draw(penObject[, fgMatrix]) - draw contour by penObject (like fgPen) with transform matrix fgMatrix

fgData(...)

fgFontGateData/Nothing fgData() - get dtFontGate data if it's exist

fgDataCreate(...)

fgFontGateData fgDataCreate() - get dtFontGate data (create new one if missing)

fixComposites(...)

bool fixComposites(fixRotation=false)

getData(...)

(variable type) getData([GlyphDataType='dtFontGate']) - get glyph data, specified by GlyphDataType. Possible values are 'dtNone', 'dtFontGate', 'dtTrueType', 'dtType1', 'dtCFF', 'dtProteus', 'dtBitmaps'

getPen(...)

fgPen getPen() - create new pen object

hasBody(...)

bool hasBody() - return True if glyph has contours or picture

hasColors(...)

bool hasColors() - return True if glyph has color pictures

hasData(...)

bool hasData(GlyphDataType) - return True if glyph data, specified by GlyphDataType, is exist. Possible values are 'dtNone', 'dtFontGate', 'dtTrueType', 'dtType1', 'dtCFF', 'dtProteus', 'dtBitmaps'

hasHints(...)

bool hasHints() - return True if glyph has hints

hasPictures(...)

bool hasPictures() - return True if glyph has pictures

hasUnicode(...)

bool hasUnicode(unicode) - return True if glyph has specified unicode

keepData(...)

bool keepData(GlyphDataType) - remove all glyph data, except one specified by GlyphDataType. Possible values are 'dtNone', 'dtFontGate', 'dtTrueType', 'dtType1', 'dtCFF', 'dtProteus', 'dtBitmaps'

killData(...)

bool killData(GlyphDataType) - remove glyph data, specified by GlyphDataType. Possible values are 'dtNone', 'dtFontGate', 'dtTrueType', 'dtType1', 'dtCFF', 'dtProteus', 'dtBitmaps'

killUnicode(...)

killUnicode(unicode) - remove unicode from glyph

modified(...)

modified(GlyphDataType) - inform that glyph data GlyphDataType has been modified. Possible values are 'dtNone', 'dtFontGate', 'dtTrueType', 'dtType1', 'dtCFF', 'dtProteus', 'dtBitmaps'

move(...)

move(dx, dy) - move contour by (dx, dy)

removeOverlap(...)

removeOverlap()

setData(...)

setData(GlyphData-like object) - set glyph data

setUnicode(...)

setUnicode(unicode) - assign unicode to glyph

transform(...)

transform(fgMatrix) - transform glyph by fgMatrix data

ttData(...)

fgTrueTypeData/Nothing ttData() - get dtTrueType data if it's exist

ttDataCreate(...)

fgTrueTypeData ttDataCreate() - get dtTrueType data (create new one if missing)

update(...)

update()

Descriptors

activeLayer

(fgLayer) active layer or Nothing if not found

anchors

([ fgAnchor ]) anchor's list

bodyLayer

(fgLayer) layer 'Body' or Nothing if not found

bodyLayerStrict

(fgLayer) layer 'Body' (create one if not found)

box

(fgRect) glyph bounding box (int values)

carets

([ fgCaret ]) caret's list

components

([ fgComponent ]) component's list

dict

(fgGlyphDict) glyph's data dictionary

fbox

(fgRect) glyph bounding box (int/float values)

guides

([ fgGuide ]) guide's list

height

(float) advancedHeight

hints

([ fgHint ]) hint's list

id

(long) glyph ID

image

(fgBitmap) first glyph image

index

(int) glyph index from font.tableIndex

kerningLeft

(int)

kerningRight

(int)

layer

(fgLayer) working layer (if present) or None. Read-only attribute, use layerName='string'|index  to change

layerName

(string) name of the working layer name

layers

([ fgLayer ]) layer's list

leftMargin



lib

(fgLib) additional glyph's data

mark

(int) glyph's mark value

mask

(fgGlyph/Nothing) mask glyph

metrics

(fgPoint) advancedWidth and advancedHeight

name

(string) glyph name

note

(string)

otInfo

(fgOtInfo)

parent

(fgFont) parent font for glyph

rightMargin



unicode

(int/Nothing) first glyph's unicode or Nothing if unicodes aren't defined

unicodes

([ int ]) unicode's list

vsb

(float) vsb

width

(float) advancedWidth

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgGlyphData(object)

GlyphData representation

Constructors:
  fgGlyphData() - default
  fgGlyphData(fgGlyphData) - 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

boundingBox(...)

fgRect boundingBox(fgGlyphsR, fgMatrix, bool prepareExport) - calculate bounding box

copy(...)

fgGlyphData copy() - create alone copy of data

countPictures(...)

int countPictures() - return pictures count

countShapes(...)

int countShapes() - return shapes count

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

setParent(...)

setParent(fgGlyph) - set parent glyph

status(...)

'gdsOK'/'gdsInvalid' status()

transform(...)

transform(fgMatrix) - transform data

updated(...)

updated() - mark data as changed, reset internal caches

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgGlyphDict(object)

Glyph dictionaries

Methods

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

Descriptors

flags



lib



tags



values



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgGlyphIDsSet(object)

GlyphIDs set

Constructors:
  fgGlyphIDsSet() - default
  fgGlyphIDsSet(fgGlyphIDsSet) - copy

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

asList(...)

[ int ] asList() - return set as list

clean(...)

clean() - remove all id's from set

contains(...)

bool contains(int id) - return True if set contains id

del(...)

del(int id) - remove id from set

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgGlyphs(object)

list of fgGlyph objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)



asList(...)



clean(...)



del(...)



insert(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgGlyphsR(object)

fgGlyphsR representation

Constructors:
  fgGlyphsR() - default
  fgGlyphsR(fgGlyphsR) - copy
  fgGlyphsR(fgGlyphs) - create from list(fgGlyph)

Methods

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

str(...)

x.__str__() <==> str(x)

find(...)

fgGlyph find(name|unicode)

getStats(...)

(totalGlyphs, avgNodesCount, avgContoursCount) getStats()

glyph(...)

fgGlyph glyph(int index)

glyphByID(...)

fgGlyph glyphByID(int ID)

index(...)

int index(fgGlyph)

indexByID(...)

int index(int ID)

rebuildUnicodeMap(...)

rebuildUnicodeMap()

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgGroup(object)

Kerning/Metrics group

Constructors:
  fgGroup() - default
  fgGroup(fgGroup) - copy
  fgGroup( tuple('name', list(ids), mode, 'mainglyphname') ) - parametric
           possible values for mode are 'FeaClassGroupMode', 'KernLeftGroupMode', 'KernRightGroupMode', 'KernBothSideGroupMode'

Methods

add(...)

x.__add__(y) <==> x+y

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

isBoth(...)

True if group mode is 'KernBothSideGroupMode'

isFeaGroup(...)

True if group mode is 'FeaClassGroupMode'

isLeft(...)

True if group mode is 'KernLeftGroupMode' or 'KernBothSideGroupMode'

isRight(...)

True if group mode is 'KernRightGroupMode' or 'KernBothSideGroupMode'

Descriptors

id

(int) group id

mode

('FeaClassGroupMode'/'KernLeftGroupMode'/'KernRightGroupMode'/'KernBothSideGroupMode') group mode

name

(string) group name

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgGroups(object)

Glyph groups list

Constructors:
  fgGroups() - default
  fgGroups(fgDataOwnerData) - parametric

Methods

add(...)

x.__add__(y) <==> x+y

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

asDict(...)

dict('name' : fgGroup) asDict()

clear(...)

clear()

fromClassRecords(...)



fromDict(...)

fromDict(dict('name':fgGroup))

get(...)

fgGroup get('name')

getAsClassRecords(...)



getCompiled(...)

string getCompiled()

has_key(...)

bool has_key('name')

items(...)

list(tuple('name', fgGroup)) items()

keys(...)

list(names of group) keys()

remove(...)

bool remove('name')

rename(...)

bool rename('old_name', 'new_name')

values(...)

list(fgGroup) values()

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgGuide(object)

Guide representation

Constructors:
  fgGuide() - default
  fgGuide(fgGuide) - copy
  fgGuide(float pos[, bool horizontal = false])
  fgGuide(fgPoint p0, fgPoint p1[, name=''[, horizonta=false[, color=fgColor]]])

Methods

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

copy(...)

fgGuide copy() - copy object

Descriptors

color

(fgColor)

horizontal

True if guide is horizontal

index

(int) index in owner guides list

name

(string) guide name

p0

(fgPoint)

p1

(fgPoint)

position

(int) y value of p0, p1 if guide is horizontal, x value - if vertical, none if guide nor horizontal/vertical

vertical

True if guide is vertical

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgGuides(object)

list of fgGuide objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)

append(item) or append( list(item) ) - add items to the end of the list

asList(...)

list(items) asList() - get items as list

clean(...)

clean() - delete all items

del(...)

del(index) - delete item by index

insert(...)

insert(position, item) - insert item into list at specified position

remove(...)

remove(fgPoint p0, fgPoint p1) - remove item if it's points are equal to specified

removeHV(...)

removeHV(float position, bool horizontal)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgHint(object)

Hint representation

Constructors:
  fgHint() - default
  fgHint(fgHint) - copy
  fgHint(name= , v= , dv= , point0= , point1= , p0= , p1= , points0= , points1= , horizontal= )

Methods

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

copy(...)



Descriptors

dv

(float)

horizontal

(bool)

index

(int) index from owner's hints list

name

(string) hint name

p0

(float)

p1

(float)

point0

(string)

point1

(string)

points0

([int])

points1

([int])

v

(float)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgHintCommand(object)

HintCommand representation

Constructors:
  fgHintCommand() - default
  fgHintCommand(fgHintCommand) - copy
  fgHintCommand(code, index) - parametric, possible values for code are 'none'/'hintH'/'hintV'/'replace'

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

code

('none'/'hintH'/'hintV'/'replace') code

index

(int)

pointName

(string)

subrIndex

(int)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgHintCommands(object)

list of fgHintCommand objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)



asList(...)



clean(...)



del(...)



insert(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgHints(object)

list of fgHint objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)

append(item) or append( list(item) ) - add items to the end of the list

asList(...)

list(items) asList() - get items as list

clean(...)

clean() - delete all items

del(...)

del(index) - delete item by index

getAsDict(...)

dict(items) getAsDict()

getAsList(...)



insert(...)

insert(position, item) - insert item into list at specified position

removeByName(...)

removeByName('name')

removeHV(...)

removeHV(float v, float dv, bool horizontal)

setFromDict(...)

setFromDict(dict(items))

setFromList(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgIntDict(object)

int dictionary

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

asDict(...)



del(...)



has_key(...)



keys(...)



value(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgKerning(object)

Kerning representation

Constructors:
  fgKerning(fgDataOwnerData)

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

addGroup(...)



asDict(...)

dict(fgKerningObjectPair : float) asDict()

clear(...)



deleteAllGroups(...)



deleteGroup(...)



get(...)

float get(fgKerningObjectPair / tuple('name1', 'name2')) - get kerning value

getPlainPairs(...)



getPlainPairsDict(...)



hasGroupKerning(...)



has_key(...)

bool has_key(fgKerningObjectPair)

items(...)

list( tuple(fgKerningObjectPair, float) ) items()

keys(...)

list(fgKerningObjectPair) keys()

remove(...)



renameGroup(...)



scale(...)



setPlainPairs(...)



values(...)

list( float ) values()

Descriptors

groups



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgKerningGroups(object)

Dictionary of kerning groups

Constructors:
  fgKerningGroups(fgDataOwnerData) - default

Methods

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

repr(...)

x.__repr__() <==> repr(x)

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

asDict(...)

represent object as dictionary

clear(...)

clear() - delete all items

has_key(...)

bool has_key('groupName')

items(...)

list( tuple('groupName', tuple( list('glyphName'), mode ) ) items()

keys(...)

list('groupName') keys()

remove(...)

remove('groupName'[, deleteDependentKerningPairs = false])

rename(...)

bool/Nothing rename('oldGroupName', 'newGroupName')

values(...)

list ( tuple( list('glyphName'), mode ) ) values()

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgKerningObject(object)

KerningObject representation

Constructors:  fgKerningObject() - default
  fgKerningObject(fgKerningObject) - copy
  fgKerningObject('name', mode) - mode must be one of 'glyphMode'/'groupMode'

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

asDict(...)

represent object as dictionary

asTuple(...)

represent object as tuple

Descriptors

id

(string) glyph or group name

mode

('glyphMode'/'groupMode')

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgKerningObjectPair(object)

KerningObjectPair representation

Constructors:  fgKerningObjectPair() - default
  fgKerningObjectPair(fgKerningObjectPair) - copy
  fgKerningObjectPair( tuple(fgKerningObject, fgKerningObject) )
  fgKerningObjectPair('nameLeft', 'nameRight')
  fgKerningObjectPair(fgKerningObject, fgKerningObject)
  fgKerningObjectPair('nameLeft', 'nameRight', modeLeft, modeRight) - modeLeft, modeRight must be one of 'glyphMode'/'groupMode'

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

hash(...)

x.__hash__() <==> hash(x)

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

asDict(...)

represent object as dictionary

asTuple(...)

represent object as tuple

Descriptors

left

(fgKerningObject) - left glyph or group

right

(fgKerningObject) - right glyph or group

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgLayer(object)

Layer representation

Constructors:
  fgLayer() - default
  fgLayer(fgLayer) - copy
  fgLayer('name') - create named layer

Math operation:
  fgLayer + fgLayer
  fgLayer - fgLayer

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

radd(...)

x.__radd__(y) <==> y+x

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

rsub(...)

x.__rsub__(y) <==> y-x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

sub(...)

x.__sub__(y) <==> x-y

addContour(...)

fgContour addContour(fgContour) - add contour to layer

boundingBox(...)

fgRect/Nothing boundingBox(fgMatrix[, prepareExport = false])

checkContours(...)

checkContours()

countContours(...)

int countContours()

countHints(...)

int countHints(bool horizontal)

countNodes(...)

int countNodes()

countPictures(...)

int countPictures()

countShapes(...)

int countShapes()

findHint(...)

int findHint(fgHint)

findNode(...)

fgNode/Nothing findNode(nodeIndex / 'nodeName') - find name by index or name

hasColors(...)

bool hasColors()

hasHints(...)

bool hasHints()

hasPictures(...)

bool hasPictures()

hints2links(...)

hints2links(double tolerance[, fgCuspPoints])

indexToName(...)

'nodeName' indexToName(int nodeIndex)

isCompatible(...)

bool/Nothing isCompatible(flLayer)

nameToIndex(...)

int nameToIndex('nodeName')

prepareNodeNames(...)

prepareNodeNames()

removeHints(...)

removeHints(bool horizontal)

transform(...)

transform(const Matrix& mx[, apply = true])

Descriptors

active

(bool)

anchors

(fgAnchors)

guides

(fgGuides)

hints

(fgHints)

hintsProgram

(fgHintCommands)

locked

(bool)

matrix

(fgMatrix)

name

(string)

opacity

(float)

reference

(fgPoint)

service

(bool)

visible

(bool)

wireframe

(bool)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgLayers(object)

list of fgLayer objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)



asList(...)



clean(...)



del(...)



insert(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgLib(object)

Dictionary with font- or glyph-related data

Methods

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

repr(...)

x.__repr__() <==> repr(x)

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

clear(...)



get(...)



hasKey(...)



items(...)



keys(...)



update(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgMapBytes(object)

Raw data dictionary

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

asDict(...)



del(...)



has_key(...)



keys(...)



value(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgMaster(object)

Anchor representation

Constructors:
  fgMaster() - default
  fgMaster(fgMaster) - copy
  fgMaster('name') - create with name='name'

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

name

(string) - name

penColor

(int) - penColor

position

(fgDesignPosition)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgMasters(object)

list of fgMaster objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)

append(item) or append( list(item) ) - add items to the end of the list

asList(...)

list(items) asList() - get items as list

clean(...)

clean() - delete all items

del(...)

del(index) - delete item by index

insert(...)

insert(position, item) - insert item into list at specified position

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgMatrix(object)

Transformation matrix representation

Constructors:
  fgMatrix() - default
  fgMatrix(fgMatrix) - copy
  fgMatrix(float m11, float m12, float m21, float m22, float dx, float dy)

Math operation:
  fgMatrix * fgMatrix

Methods

add(...)

x.__add__(y) <==> x+y

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

eq(...)

x.__eq__(y) <==> x==y

ge(...)

x.__ge__(y) <==> x>=y

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

gt(...)

x.__gt__(y) <==> x>y

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

le(...)

x.__le__(y) <==> x<=y

len(...)

x.__len__() <==> len(x)

lt(...)

x.__lt__(y) <==> x

mul(...)

x.__mul__(y) <==> x*y

ne(...)

x.__ne__(y) <==> x!=y

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(y) <==> y*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

str(...)

x.__str__() <==> str(x)

asDict(...)

represent object as dictionary

asTuple(...)

represent object as tuple

assign(...)

assign(fgMatrix) or assign(m11, m12, m21, m22, dx, dy)

determinant(...)

float determinant()

invert(...)

bool invert()

inverted(...)

fgMatrix inverted()

invertible(...)

bool invertible()

noMove(...)

bool noMove()

noRotate(...)

bool noRotate()

noScale(...)

bool noScale()

scale(...)

scale(float s)

slant(...)

slant(float angle) or float slant()

standard(...)

bool standard()

Descriptors

dx



dy



m11



m12



m21



m22



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgMaxP(object)

fgMaxP representation

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

str(...)

x.__str__() <==> str(x)

asDict(...)

represent object as dictionary

asTuple(...)

represent object as tuple

Descriptors

maxFunctionDefs
maxInstructionDefs
maxStackElements
maxStorage
maxTwilightPoints
maxZones

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgMetricsClass(object)

MetricsClass representation

Constructors:
  fgMetricsClass() - default
  fgMetricsClass(fgMetricsClass) - copy

Methods

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

str(...)

x.__str__() <==> str(x)

hasGlyph(...)

bool hasGlyph(int glyphID/'glyphName')

keyGlyphName(...)

'keyGlyphName' keyGlyphName()

Descriptors

glyphs

(fgGlyphIDsSet)

left

(bool)

name

(string)

right

(bool)

width

(bool)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgMetricsClasses(object)

list of fgMetricsClass objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)



asList(...)



clean(...)



del(...)



insert(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgNametable(object)

NameTable - unicode->name translation and vice versa

Methods

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

easyCompare(...)

bool easyCompare('name0', 'name1')

getAlternativeNames(...)

list( 'altGlyphName' ) getAlternativeNames('glyphName')

load(...)

bool load(string path_to_file)

name(...)

'glyphName' name(int unicode)

unc(...)

int unc('glyphName')

Descriptors

loaded

(bool)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgNode(object)

Node representation

Constructors:
  fgNode() - default
  fgNode(fgNode) - copy
  fgNode('Move'/'On'/'Off'/'Curve', fgPoint[, smooth=false])
  fgNode('Move'/'On'/'Off'/'Curve', fgPoint, 'name'[, smooth=false])

Math operation:
  fgNode + fgNode
  fgNode - fgNode
  fgNode * float

Methods

add(...)

x.__add__(y) <==> x+y

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

mul(...)

x.__mul__(y) <==> x*y

radd(...)

x.__radd__(y) <==> y+x

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(y) <==> y*x

rsub(...)

x.__rsub__(y) <==> y-x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

sub(...)

x.__sub__(y) <==> x-y

isG2(...)

bool isG2()

isInterpolatedX(...)

bool isInterpolatedX()

isInterpolatedY(...)

bool isInterpolatedY()

isOff(...)

bool isOff()

isOn(...)

bool isOn()

isSelected(...)

bool isSelected()

setG2(...)

setG2([true])

setInterpolatedX(...)

setInterpolatedX([true])

setInterpolatedY(...)

setInterpolatedY([true])

setSelected(...)

setSelected([true])

transform(...)

transform(fgMatrix)

Descriptors

flags

(int)

kind

('Move'/'On'/'Off'/'Curve')

name

(string)

point

(fgPoint)

smooth

(bool)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgNodes(object)

list of fgNode objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)



asList(...)



clean(...)



del(...)



insert(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOTLayout(object)

OpenType Layout representation

Constructors:
  fgOTLayout(fgDataOwnerData)
  fgOTLayout(fgFont)

Methods

add(...)

x.__add__(y) <==> x+y

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

clear(...)

clear() - remove all features

get_feature(...)

string get_feature(string / numeric tag) - get feature text

get_prefix(...)

string get_prefix() - get common part of fea data

has_key(...)

bool has_key(string / numeric tag) - True if feature is present

keys(...)

list(string) keys() - list of feature tags

remove(...)

remove(string / numeric tag) - remove feature

set_feature(...)

set_feature(string / numeric tag, string new_content) - set feature text

set_prefix(...)

set_prefix(string new_prefix) - set common part of fea data

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOpt_AutoMetrics(object)

fgOpt_AutoMetrics options page

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

close



left



right



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOpt_EOTExport(object)

fgOpt_EOTExport options page

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

doCompression



doXORCryptData



otExport



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOpt_ExpandKerning(object)

fgOpt_ExpandKerning options page

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

applyToAssistance



codepage



count



keep



limitAction



limitCmap10



limitCodepage



limitCount



limitFontWindow



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOpt_Font(object)

fgOpt_Font options page

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

autoMetrics



buildPclt



detectG2



detectInterpolation



expandKerning



fitAscender



fitDescender



optimize



otExport



placeDuplicate



placePaste



t1Autohint



t1Export



ttAutohint



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOpt_KerningOptions(object)

fgOpt_KerningOptions options page

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

saveTheOnlySubtableInKernTable



useScriptInfoForOneSubtableCutting



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOpt_OTExport(object)

fgOpt_OTExport options page

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

CBDT



COLR



SVG



addCharacters



applyBBoxSavings



autoWinAscDesc



autohint



autohintGlyphs



autohintingMode



autotrace



cff



cff_adobe



cff_compress



cmap10



copyHDMXData



decompose



doAutohinting



doHintsCompile



exportCBDT



exportCOLR



exportSBIX



exportSVG



exportVOLT



feaFileOptions



featuresCompile



featuresRestore



fixDirection



fixNames



fontNames



generateLTSH



headBBoxSavings



kerningOptions



noReorder



roundCoordinates



sbix



silent_mode



subrize



t1autohint



ttfautohint



useTTFAutohint



writeBinaryHinting



writeBitmaps



writeDeviceMetrics



writeGDEF



writeHintedFont



writeKernFeature



writeKernTable



writeOriginalHinting



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOpt_OTExportFeaFile(object)

fgOpt_OTExportFeaFile options page

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

doWriteGDEF



inlineLookups



verbose



write_body



write_classes



write_prefix



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOpt_OTImport(object)

fgOpt_OTImport options page

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

convertCurves



convertNames



curveConvertPrecision



featuresDecompile



featuresStore



ignoreGlyphs



namesGrouping



readKerningFromFeature



readKerningFromTable



readMacSpecificNaming



shortSplines



storeAAT



storeOriginalHinting



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOpt_Optimize(object)

fgOpt_Optimize options page

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

align



reduce



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOpt_T1Autohint(object)

fgOpt_T1Autohint options page

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

hHinting



hStems



maxHWidth



maxVWidth



minHLen



minHWidth



minVLen



minVWidth



ratioH



ratioV



useAdobeAutohinter



vHinting



vStems



zones



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOpt_T1Export(object)

fgOpt_T1Export options page

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

AFM



ASCII



INF



PFM



autohint



cff



cid



decompose



downloadable



encoding



fixDirection



flex



fsType



roundCoordinates



scale1000



sort



swapNotice



unicode



useOS2



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOpt_T1Import(object)

fgOpt_T1Import options page

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

decompose



familyGrouping



ignoreGlyphs



readMacSpecificNaming



singleMasterOnly



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOpt_TTAutohint(object)

fgOpt_TTAutohint options page

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

allow3Stems



allowDeltas



hHinting



hintSidebearing



hintToCenter



interpolateCusps



interpolateDoubleLinks



treshold



vHinting



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOpt_TTFAutohint(object)

fgOpt_TTFAutohint options page

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

TTFA_info



adjust_subglyphs



control_name



default_script



dehint



detailed_info



dw_cleartype_strong_stem_width



fallback_script



fallback_stem_width



family_suffix



gdi_cleartype_strong_stem_width



gray_strong_stem_width



hint_composites



hinting_limit



hinting_range_max



hinting_range_min



ignore_restrictions



increase_x_height



no_info



symbol



windows_compatibility



x_height_snapping_exceptions_string



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOpt_UfoFontExport(object)

fgOpt_UfoFontExport options page

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

base64



compress



formatVersion



writeLayoutTTX



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOpt_UfoFontImport(object)

fgOpt_UfoFontImport options page

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

compileFeatures



fixOrdering



readLayoutTTX



removeOverlap



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOpt_VfbExport(object)

fgOpt_VfbExport options page

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

saveEncoding



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOpt_VfbImport(object)

fgOpt_VfbImport options page

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

autoReplace



compileFeatures



fixOrdering



separateMasters



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOpt_WOFFExport(object)

fgOpt_WOFFExport options page

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

otExport



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOptions(object)

FontGate options

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

eotexport



font



otexport



otimport



t1export



t1import



ufoexport



ufoimport



vfbexport



vfbimport



woffexport



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOtInfo(object)

OT Info representation

Constructors:
  fgOtInfo() - default
  fgOtInfo(fgOtInfo) - copy

Methods

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

str(...)

x.__str__() <==> str(x)

Descriptors

glyphClass

('Unspecified'/'Simple'/'Ligature'/'Mark'/'Component')

markClass

(int)

otClasses

( [ int ] )

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgOtValue(object)

OT Value representation

Constructors:
  fgOtValue() - default
  fgOtValue(fgOtValue) - copy
  fgOtValue(float) - by float value
  fgOtValue(int/long) - by int/long value

Math operation:
  fgOtValue + fgOtValue
  fgOtValue - fgOtValue
  fgOtValue * float

Methods

add(...)

x.__add__(y) <==> x+y

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

mul(...)

x.__mul__(y) <==> x*y

radd(...)

x.__radd__(y) <==> y+x

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(y) <==> y*x

rsub(...)

x.__rsub__(y) <==> y-x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

str(...)

x.__str__() <==> str(x)

sub(...)

x.__sub__(y) <==> x-y

Descriptors

coordinate

(float)

deviceTable

(fgDeviceRecords)

point_index

(int)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgPackages(object)

Font packages representation

Constructors:
  fgPackages() - default
  fgPackages(fgPackages) - copy
  fgPackages('pathToFontFileOrFolder')

Methods

add(...)

x.__add__(y) <==> x+y

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

add(...)

add(fgFont or fgPackages object) - add font(s)

close(...)

close() - remove all font(s) from list

copyFrom(...)

copyFrom(fgPackages) - copy all fonts from another fgPackages object

create(...)

create() - add empty font to list and return it's index

indexOf(...)

indexOf(fgFont) - return font index or (-1) if missing in list

open(...)

open(path) - open existing font(s) from 'path' location and return first index of created font(s)

remove(...)

remove(int index) - remove font by index

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgPen(object)

Pen representation

Constructors:
  fgPen(fgGlyph) - default
  fgPen(fgPen) - copy

Methods

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

beginPath(...)

beginPath()

closePath(...)

closePath()

curveTo(...)

curveTo(fgPoint...)

curveToOne(...)

curveToOne(fgPoint, fgPoint, fgPoint)

endPath(...)

endPath()

lineTo(...)

lineTo(fgPoint)

moveTo(...)

moveTo(fgPoint)

qCurveToOne(...)

qCurveToOne(fgPoint, fgPoint)

Descriptors

smooth

(bool)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgPoint(object)

Point representation

Constructors:
  fgPoint() - default
  fgPoint(fgPoint) - copy
  fgPoint(float x)
  fgPoint(tuple(float x, float y))
  fgPoint(float x, float y)

Math Operations:
  fgPoint + fgPoint
  fgPoint - fgPoint
  fgPoint * fgPoint
  fgPoint * float - vector product
  fgPoint / float
  fgPoint << fgPoint - True if first point is less or equal to second
  fgPoint >> fgPoint - True if first point is greater or equal to second
  fgPoint ^ fgPoint - scalar product

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

div(...)

x.__div__(y) <==> x/y

eq(...)

x.__eq__(y) <==> x==y

ge(...)

x.__ge__(y) <==> x>=y

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

gt(...)

x.__gt__(y) <==> x>y

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

le(...)

x.__le__(y) <==> x<=y

len(...)

x.__len__() <==> len(x)

lshift(...)

x.__lshift__(y) <==> x<

lt(...)

x.__lt__(y) <==> x

mul(...)

x.__mul__(y) <==> x*y

ne(...)

x.__ne__(y) <==> x!=y

radd(...)

x.__radd__(y) <==> y+x

rdiv(...)

x.__rdiv__(y) <==> y/x

repr(...)

x.__repr__() <==> repr(x)

rlshift(...)

x.__rlshift__(y) <==> y<

rmul(...)

x.__rmul__(y) <==> y*x

rrshift(...)

x.__rrshift__(y) <==> y>>x

rshift(...)

x.__rshift__(y) <==> x>>y

rsub(...)

x.__rsub__(y) <==> y-x

rxor(...)

x.__rxor__(y) <==> y^x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

str(...)

x.__str__() <==> str(x)

sub(...)

x.__sub__(y) <==> x-y

xor(...)

x.__xor__(y) <==> x^y

angleDiff(...)

fgPoint angleDiff(fgPoint)

angleSum(...)

fgPoint angleSum(fgPoint)

asDict(...)

represent object as dictionary

asTuple(...)

represent object as tuple

assign(...)

assign(fgPoint) or assign(float x, float y)

clear(...)

clear()

close_to(...)

bool close_to(fgPoint[, d=0.00001])

collinear(...)

bool collinear(fgPoint)

direction(...)

fgPoint direction()

dist(...)

float dist(fgPoint)

dist2(...)

float dist2(fgPoint)

distance(...)

float distance(fgPoint[, horizontal=false]

doubleScale(...)

scale(fgPoint) or scale(float sx, float sy)

flip(...)

flip()

flipped(...)

fgPoint flipped()

ix(...)

int ix() - integer fast

iy(...)

int iy() - integer fast

len(...)

float len()

len2(...)

float len2()

normal(...)

fgPoint normal()

rotate(...)

fgPoint rotate(fgPoint v, fgPoint c)

round(...)

fgPoint round([doRound=true])

rx(...)

int rx() - integer rounded

ry(...)

int ry() - integer rounded

transform(...)

transform(fgMatrix)

transformed(...)

fgPoint transformed(fgMatrix)

value(...)

float value([horizontal=true])

zero(...)

bool zero()

Descriptors

x

(float)

y

(float)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgPointU(object)

PointU representation

Constructors:
  fgPointU() - default
  fgPointU(fgPoint) - copy
  fgPointU(fgPointU) - copy
  fgPointU(fgPoint, float u)
  fgPointU(tuple(float x, float y, float u))
  fgPointU(float x, float y, float u)

Math Operations:
  fgPointU + fgPoint/fgPointU
  fgPointU - fgPoint/fgPointU
  fgPointU * fgPoint/fgPointU
  fgPointU * float - vector product
  fgPointU / float
  fgPointU << fgPointU - True if first point is less or equal to second
  fgPointU >> fgPointU - True if first point is greater or equal to second
  fgPointU ^ fgPointU - scalar product

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

div(...)

x.__div__(y) <==> x/y

eq(...)

x.__eq__(y) <==> x==y

ge(...)

x.__ge__(y) <==> x>=y

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

gt(...)

x.__gt__(y) <==> x>y

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

le(...)

x.__le__(y) <==> x<=y

len(...)

x.__len__() <==> len(x)

lshift(...)

x.__lshift__(y) <==> x<

lt(...)

x.__lt__(y) <==> x

mul(...)

x.__mul__(y) <==> x*y

ne(...)

x.__ne__(y) <==> x!=y

radd(...)

x.__radd__(y) <==> y+x

rdiv(...)

x.__rdiv__(y) <==> y/x

repr(...)

x.__repr__() <==> repr(x)

rlshift(...)

x.__rlshift__(y) <==> y<

rmul(...)

x.__rmul__(y) <==> y*x

rrshift(...)

x.__rrshift__(y) <==> y>>x

rshift(...)

x.__rshift__(y) <==> x>>y

rsub(...)

x.__rsub__(y) <==> y-x

rxor(...)

x.__rxor__(y) <==> y^x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

str(...)

x.__str__() <==> str(x)

sub(...)

x.__sub__(y) <==> x-y

xor(...)

x.__xor__(y) <==> x^y

angleDiff(...)

fgPoint angleDiff(fgPoint)

angleSum(...)

fgPoint angleSum(fgPoint)

asDict(...)

represent object as dictionary

asTuple(...)

represent object as tuple

assign(...)

assign(fgPointU) or assign(float x, float y, float u)

clear(...)

clear()

close_to(...)

bool close_to(fgPointU[, d=0.00001])

collinear(...)

bool collinear(fgPoint)

direction(...)

fgPoint direction()

dist(...)

float dist(fgPoint)

dist2(...)

float dist2(fgPoint)

distance(...)

float distance(fgPoint[, horizontal=false]

doubleScale(...)

scale(fgPoint) or scale(float sx, float sy)

flip(...)

flip()

flipped(...)

fgPoint flipped()

ix(...)

int ix() - integer fast

iy(...)

int iy() - integer fast

len(...)

float len()

len2(...)

float len2()

normal(...)

fgPoint normal()

rotate(...)

fgPoint rotate(fgPointU v, fgPoint c)

round(...)

fgPoint round([doRound=true])

rx(...)

int rx() - integer rounded

ry(...)

int ry() - integer rounded

transform(...)

transform(fgMatrix)

transformed(...)

fgPoint transformed(fgMatrix)

value(...)

float value([horizontal=true])

zero(...)

bool zero()

Descriptors

u

(float)

x

(float)

y

(float)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgRect(object)

Rectangle representation

Constructors:
  fgRect() - default
  fgRect(fgRect) - copy
  fgRect(fgPoint, fgPoint)
  fgRect(fgPoint, fgPoint, bool empty)
  fgRect(float x1, float y1, float x2, float y2)

Math Operations:
  fgRect + fgPoint
  fgRect + fgRect
  fgRect + float
  fgRect - fgPoint
  fgRect - fgRect
  fgRect - float
  fgRect * float
  fgRect / float
  fgRect & fgRect
  fgRect | fgRect

Methods

add(...)

x.__add__(y) <==> x+y

and(...)

x.__and__(y) <==> x&y

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

div(...)

x.__div__(y) <==> x/y

eq(...)

x.__eq__(y) <==> x==y

ge(...)

x.__ge__(y) <==> x>=y

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

gt(...)

x.__gt__(y) <==> x>y

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

le(...)

x.__le__(y) <==> x<=y

len(...)

x.__len__() <==> len(x)

lt(...)

x.__lt__(y) <==> x

mul(...)

x.__mul__(y) <==> x*y

ne(...)

x.__ne__(y) <==> x!=y

or(...)

x.__or__(y) <==> x|y

radd(...)

x.__radd__(y) <==> y+x

rand(...)

x.__rand__(y) <==> y&x

rdiv(...)

x.__rdiv__(y) <==> y/x

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(y) <==> y*x

ror(...)

x.__ror__(y) <==> y|x

rsub(...)

x.__rsub__(y) <==> y-x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

str(...)

x.__str__() <==> str(x)

sub(...)

x.__sub__(y) <==> x-y

adjust(...)

adjust(float x1, float y1, float x2, float y2)

adjusted(...)

fgRect adjusted(float x1, float y1, float x2, float y2)

asDict(...)

represent Py::Object as dictionary

asTuple(...)

represent Py::Object as tuple

assign(...)

assign(fgPoint, fgPoint[, fix=true]) or assign(float, float, float, float[, fix=true])

bottom(...)

float bottom()

center(...)

fgPoint center()

clear(...)

clear()

contains(...)

bool contains(fgPoint) or bool contains(fgRect)

containsX(...)

bool containsX(float)

containsY(...)

bool containsY(float)

diagonal(...)

float diagonal()

empty(...)

empty()

fix(...)

fix()

fix_x(...)

fix_x()

fix_y(...)

fix_y()

height(...)

float height()

intersects(...)

bool intersects(fgRect)

left(...)

float left()

move(...)

move(float dx, float dy)

moved(...)

fgRect moved(float dx, float dy)

right(...)

float right()

setBottom(...)

setBottom(float)

setHeight(...)

setHeight(float)

setLeft(...)

setLeft(float)

setRect(...)

setRect(int x, int y, int w, int h)

setRight(...)

setRight(float)

setSize(...)

setSize(fgPoint)

setTop(...)

setTop(float)

setWidth(...)

setWidth(float)

size(...)

fgPoint size()

top(...)

float top()

transform(...)

transform(fgMatrix)

transformed(...)

fgRect transformed(fgMatrix)

width(...)

float width()

zero(...)

zero()

Descriptors

ll

(fgPoint) lower left point

ur

(fgPoint) upper right point

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgRendered(object)

fgRendered representation

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

str(...)

x.__str__() <==> str(x)

asDict(...)

represent object as dictionary

asTuple(...)

represent object as tuple

Descriptors

bitmap
metrics
position
ppm

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgShape(object)

Shape representation

Constructors:
  fgShape() - default
  fgShape(fgShape) - copy
  fgShape(fgShape, fgShape, float tx, float ty)
  fgShape(fgShape, fgShape, float tx, float ty, int blend_mode)

Math Operations:
  fgShape + fgShape
  fgShape - fgShape
  fgShape * float

Methods

add(...)

x.__add__(y) <==> x+y

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

mul(...)

x.__mul__(y) <==> x*y

radd(...)

x.__radd__(y) <==> y+x

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(y) <==> y*x

rsub(...)

x.__rsub__(y) <==> y-x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

sub(...)

x.__sub__(y) <==> x-y

addContour(...)

fgContour addContour(fgContour)

addShape(...)

int addShape(fgShape, int mode) ???

applyTransform(...)

applyTransform()

area(...)

float area()

assignStyle(...)

assignStyle(fgShape)

autoInterpolated(...)

bool autoInterpolated()

autoSmooth(...)

bool autoSmooth()

boundingBox(...)

fgRect/Nothing boundingBox(fgMatrix[, bool prepareExport=false])

checkContours(...)

checkContours()

containsOffPoint(...)

bool containsOffPoint()

countContours(...)

int countContours()

countNodes(...)

int countNodes()

excludeShape(...)

int excludeShape(fgShape, int mode) ???

hasBody(...)

bool hasBody()

hasContours(...)

bool hasContours()

isCompatible(...)

bool/Nothing isCompatible(fgShape)

removeOverlap(...)

int removeOverlap()

reverse(...)

reverse()

sortContours(...)

sortContours()

subtractShape(...)

int subtractShape(fgShape, int mode) ???

transform(...)

transform(fgMatrix)

Descriptors

angle

(float)

body

(fgBrush)

calligraphic

(bool)

cap_type

(int)

contours

(fgContours)

join_type

(int)

matrix

(fgMatrix)

name

(string)

opacity

(float)

pen

(fgBrush)

picture

(fgBitmap)

width

(float)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgShapes(object)

list of fgShape objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)



asList(...)



clean(...)



del(...)



insert(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgStem(object)

Stem representation

Constructors:
  fgStem() - default
  fgStem(fgStem) - copy
  fgStem(float)

Methods

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

str(...)

x.__str__() <==> str(x)

clear(...)

clear()

fillProgram(...)

list(int) fillProgram(float upm)

ppm(...)

int ppm(float upm, int k)

setProgram(...)

setProgram(int k, int ppm, bool keepValues)

Descriptors

name

(string)

program

( dict(int:int) )

value

(float)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgStems(object)

list of fgStem objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)

append(item) or append( list(item) ) - add items to the end of the list

asList(...)

list(items) asList() - get items as list

clean(...)

clean() - delete all items

del(...)

del(index) - delete item by index

insert(...)

insert(position, item) - insert item into list at specified position

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgStringDict(object)

string dictionary

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

asDict(...)



del(...)



has_key(...)



keys(...)



value(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgTTInterpreter(object)

TTInterpreter representation

Constructors:
  fgTTInterpreter() - default
  fgTTInterpreter(fgTTInterpreter) - copy

Methods

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

str(...)

x.__str__() <==> str(x)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

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

class fgTrueTypePoint(object)

TrueType Point representation

Constructors:
  fgTrueTypePoint() - default
  fgTrueTypePoint(fgTrueTypePoint) - copy
  fgTrueTypePoint(fgPoint)
  fgTrueTypePoint(bool on, int x, int y)

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

str(...)

x.__str__() <==> str(x)

asDict(...)

represent object as dictionary

asTuple(...)

represent object as tuple

assign(...)

assign(int x, int y)

onCurve(...)

bool onCurve() or onCurve(bool value)

repeat(...)

bool repeat()  or repeat(bool value)

touched(...)

bool touched() or touched(bool value)

xSame(...)

bool xSame()   or xSame(bool value)

xShort(...)

bool xShort()  or xShort(bool value)

ySame(...)

bool ySame()   or ySame(bool value)

yShort(...)

bool yShort()  or yShort(bool value)

Descriptors

flag

(int)

x

(int)

y

(int)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgTrueTypePoints(object)

list of fgTrueTypePoint objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)

append(item) or append( list(item) ) - add items to the end of the list

asList(...)

list(items) asList() - get items as list

clean(...)

clean() - delete all items

del(...)

del(index) - delete item by index

insert(...)

insert(position, item) - insert item into list at specified position

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgValuesDict(object)

float values dictionary

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

asDict(...)



del(...)



has_key(...)



keys(...)



value(...)



Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgVdmxRecord(object)

fgVdmxRecord representation

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

str(...)

x.__str__() <==> str(x)

asDict(...)

represent object as dictionary

asTuple(...)

represent object as tuple

Descriptors

yMax
yMin
yPelHeight

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgVdmxRecords(object)

list of fgVdmxRecord objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)

append(item) or append( list(item) ) - add items to the end of the list

asList(...)

list(items) asList() - get items as list

clean(...)

clean() - delete all items

del(...)

del(index) - delete item by index

insert(...)

insert(position, item) - insert item into list at specified position

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgVector(object)

Vector representation

Constructors:
  fgVector() - default
  fgVector(fgVector) - copy
  fgVector(fgPoint q0[, fgPoint q1]) - from one or two points
  fgVector(fgPoint, float l, float a)

Methods

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

str(...)

x.__str__() <==> str(x)

angle(...)

float angle()

angleTo(...)

float angleTo(fgVector)

asDict(...)

represent object as dictionary

asTuple(...)

represent object as tuple

bbox(...)

fgRect bbox()

center(...)

fgPoint center()

delta(...)

fgPoint delta()

direction(...)

fgPoint direction()

equivalent(...)

bool equivalent(fgVector)

intersect(...)

fgPoint/None intersect(fgVector) or (fgPoint, t)/None intersect(fgVector, bool get_t)

intersectY(...)

float/None intersectY(float pos)

len(...)

float len() - distance between q0 and q1

parallel(...)

bool parallel(fgVector)

point(...)

fgPoint point(float time)

time(...)

float time(fgPoint)

Descriptors

q0

(fgPoint)

q1

(fgPoint)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgVectorBool(object)

[char] vector

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)

append(item) or append( list(item) ) - add items to the end of the list

asList(...)

list(items) asList() - get items as list

clean(...)

clean() - delete all items

del(...)

del(index) - delete item by index

insert(...)

insert(position, item) - insert item into list at specified position

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgVectorChar(object)

[char] vector

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)

append(item) or append( list(item) ) - add items to the end of the list

asList(...)

list(items) asList() - get items as list

clean(...)

clean() - delete all items

del(...)

del(index) - delete item by index

insert(...)

insert(position, item) - insert item into list at specified position

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgVectorDouble(object)

[double] vector

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)

append(item) or append( list(item) ) - add items to the end of the list

asList(...)

list(items) asList() - get items as list

clean(...)

clean() - delete all items

del(...)

del(index) - delete item by index

insert(...)

insert(position, item) - insert item into list at specified position

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgVectorInt(object)

[int] vector

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)

append(item) or append( list(item) ) - add items to the end of the list

asList(...)

list(items) asList() - get items as list

clean(...)

clean() - delete all items

del(...)

del(index) - delete item by index

insert(...)

insert(position, item) - insert item into list at specified position

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgVectorPoint(object)

[fgPoint] vector

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)

append(item) or append( list(item) ) - add items to the end of the list

asList(...)

list(items) asList() - get items as list

clean(...)

clean() - delete all items

del(...)

del(index) - delete item by index

insert(...)

insert(position, item) - insert item into list at specified position

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgVectorUInt16(object)

[uint16_t] vector

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)

append(item) or append( list(item) ) - add items to the end of the list

asList(...)

list(items) asList() - get items as list

clean(...)

clean() - delete all items

del(...)

del(index) - delete item by index

insert(...)

insert(position, item) - insert item into list at specified position

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgVectorUInt32(object)

[uint32t] vector

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)

append(item) or append( list(item) ) - add items to the end of the list

asList(...)

list(items) asList() - get items as list

clean(...)

clean() - delete all items

del(...)

del(index) - delete item by index

insert(...)

insert(position, item) - insert item into list at specified position

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgZone(object)

Zone representation

Constructors:
  fgZone() - default
  fgZone(fgZone) - copy

Methods

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

str(...)

x.__str__() <==> str(x)

clear(...)

clear()

getIntValues(...)

tuple( int y0, int y1 ) getIntValues()

v0(...)

float v0()

v1(...)

float v1()

Descriptors

name

(string)

position

(float)

program

( dict(int:int) )

top

(bool)

width

(float)

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class fgZones(object)

list of fgZone objects

Methods

add(...)

x.__add__(y) <==> x+y

cmp(...)

x.__cmp__(y) <==> cmp(x,y)

delattr(...)

x.__delattr__('name') <==> del x.name

delitem(...)

x.__delitem__(y) <==> del x[y]

delslice(...)

x.__delslice__(i, j) <==> del x[i:j]

Use of negative indices is not supported.

getattribute(...)

x.__getattribute__('name') <==> x.name

getitem(...)

x.__getitem__(y) <==> x[y]

getslice(...)

x.__getslice__(i, j) <==> x[i:j]

Use of negative indices is not supported.

init(...)

x.__init__(...) initializes x; see help(type(x)) for signature

len(...)

x.__len__() <==> len(x)

mul(...)

x.__mul__(n) <==> x*n

repr(...)

x.__repr__() <==> repr(x)

rmul(...)

x.__rmul__(n) <==> n*x

setattr(...)

x.__setattr__('name', value) <==> x.name = value

setitem(...)

x.__setitem__(i, y) <==> x[i]=y

setslice(...)

x.__setslice__(i, j, y) <==> x[i:j]=y

Use  of negative indices is not supported.

append(...)

append(item) or append( list(item) ) - add items to the end of the list

asList(...)

list(items) asList() - get items as list

clean(...)

clean() - delete all items

del(...)

del(index) - delete item by index

insert(...)

insert(position, item) - insert item into list at specified position

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T

class pyfgDataOwnerData(object)

pyfgDataOwnerData objects

Methods

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

Attributes

new = <built-in method new of type object>

T.__new__(S, ...) -> a new object with type S, a subtype of T