Skip to content

fontgate.fgGlyph · declarations 002

Back to fontgate.fgGlyph

layer instance-attribute

layer: Any

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

layerName instance-attribute

layerName: Any

(string) name of the working layer name

layers instance-attribute

layers: Any

([ fgLayer ]) layer's list

leftMargin instance-attribute

leftMargin: Any

lib instance-attribute

lib: Any

(fgLib) additional glyph's data

mark instance-attribute

mark: Any

(int) glyph's mark value

mask instance-attribute

mask: Any

(fgGlyph/Nothing) mask glyph

metrics instance-attribute

metrics: Any

(fgPoint) advancedWidth and advancedHeight

modified

modified(GlyphDataType: Any) -> Any

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

move

move(dx: Any, dy: Any) -> Any

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

name instance-attribute

name: Any

(string) glyph name

note instance-attribute

note: Any

(string)

otInfo instance-attribute

otInfo: Any

(fgOtInfo)

parent instance-attribute

parent: Any

(fgFont) parent font for glyph

removeOverlap

removeOverlap() -> Any

removeOverlap()

rightMargin instance-attribute

rightMargin: Any

setData

setData(object: Any) -> Any

setData(GlyphData-like object) - set glyph data

setUnicode

setUnicode(unicode: Any) -> Any

setUnicode(unicode) - assign unicode to glyph

transform

transform(arg0: fgMatrix) -> Any

transform(fgMatrix) - transform glyph by fgMatrix data

ttData

ttData() -> Any

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

ttDataCreate

ttDataCreate() -> fgTrueTypeData

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

unicode instance-attribute

unicode: Any

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

unicodes instance-attribute

unicodes: Any

([ int ]) unicode's list

update

update() -> Any

update()

vsb instance-attribute

vsb: Any

(float) vsb

width instance-attribute

width: Any

(float) advancedWidth