Skip to content

# `fgGlyphsR`

## fontgate.fgGlyphsR = 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

## `find`

fontgate.fgGlyphsR.find = find(...)

      fgGlyph find(name|unicode)

## `getStats`

fontgate.fgGlyphsR.getStats = getStats(...)

      (totalGlyphs, avgNodesCount, avgContoursCount) getStats()

## `glyph`

fontgate.fgGlyphsR.glyph = glyph(...)

      fgGlyph glyph(int index)

## `glyphByID`

fontgate.fgGlyphsR.glyphByID = glyphByID(...)

      fgGlyph glyphByID(int ID)

## `index`

fontgate.fgGlyphsR.index = index(...)

      int index(fgGlyph)

## `indexByID`

fontgate.fgGlyphsR.indexByID = indexByID(...)

      int index(int ID)

## `rebuildUnicodeMap`

fontgate.fgGlyphsR.rebuildUnicodeMap = rebuildUnicodeMap(...)

      rebuildUnicodeMap()