Skip to content

# `fgSymbol`

## fontlab.fgSymbol = class fgSymbol(object)

      fgSymbol representation

      Constructors:
        fgSymbol() - default
        fgSymbol(fgSymbol) - copy
        fgSymbol(unicode)
        fgSymbol('name')
        fgSymbol(id, fgFont)
        fgSymbol(glyph_id, package_id)
        fgSymbol(unicode, 'name', id)

#### 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

clear(...)

      clear()

clearData(...)

      clearData(DataCode)

clearID(...)

      clearID()

compare(...)

      bool compare(fgSymbol)

computeID(...)

      bool computeID(fgFont)

containsData(...)

      bool containsData(DataCode)

data(...)

      QVariant data(DataCode)

glyph(...)

      fgGlyph glyph(fgFont, bool setId)

init(...)

      init()

setData(...)

      setData(DataCode, QVariant d)

setSterile(...)

      setSterile()

#### Descriptors

cr

      bool

empty

      bool

glyphIndex

      int

hasName

      bool

hasUnicode

      bool

id

      unsigned long

layerName

      string

ligatureIndex

      int

name

      QString

pid

      unsigned long

space

      bool

unicode

      uint

unicodeEnsure

      uint

#### Attributes

DataCode = {'Active': 9, 'ColorMark': 10, 'DoFeatures': 6, 'DoLayout': 5, 'Features': 7, 'FontSize': 3, 'GlyphIndex': 0, 'LigatureIndex': 1, 'Locked': 2, 'PackageID': 4, ...}

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

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

## `clear`

fontlab.fgSymbol.clear = clear(...)

      clear()

## `clearData`

fontlab.fgSymbol.clearData = clearData(...)

      clearData(DataCode)

## `clearID`

fontlab.fgSymbol.clearID = clearID(...)

      clearID()

## `compare`

fontlab.fgSymbol.compare = compare(...)

      bool compare(fgSymbol)

## `computeID`

fontlab.fgSymbol.computeID = computeID(...)

      bool computeID(fgFont)

## `containsData`

fontlab.fgSymbol.containsData = containsData(...)

      bool containsData(DataCode)

## `cr`

fontlab.fgSymbol.cr

      bool

## `data`

fontlab.fgSymbol.data = data(...)

      QVariant data(DataCode)

## `DataCode`

fontlab.fgSymbol.DataCode = {'Active': 9, 'ColorMark': 10, 'DoFeatures': 6, 'DoLayout': 5, 'Features': 7, 'FontSize': 3, 'GlyphIndex': 0, 'LigatureIndex': 1, 'Locked': 2, 'PackageID': 4, ...}

## `empty`

fontlab.fgSymbol.empty

      bool

## `glyph`

fontlab.fgSymbol.glyph = glyph(...)

      fgGlyph glyph(fgFont, bool setId)

## `glyphIndex`

fontlab.fgSymbol.glyphIndex

      int

## `hasName`

fontlab.fgSymbol.hasName

      bool

## `hasUnicode`

fontlab.fgSymbol.hasUnicode

      bool

## `id`

fontlab.fgSymbol.id

      unsigned long

## `init`

fontlab.fgSymbol.init = init(...)

      init()

## `layerName`

fontlab.fgSymbol.layerName

      string

## `ligatureIndex`

fontlab.fgSymbol.ligatureIndex

      int

## `name`

fontlab.fgSymbol.name

      QString

## `pid`

fontlab.fgSymbol.pid

      unsigned long

## `setData`

fontlab.fgSymbol.setData = setData(...)

      setData(DataCode, QVariant d)

## `setSterile`

fontlab.fgSymbol.setSterile = setSterile(...)

      setSterile()

## `space`

fontlab.fgSymbol.space

      bool

## `unicode`

fontlab.fgSymbol.unicode

      uint

## `unicodeEnsure`

fontlab.fgSymbol.unicodeEnsure

      uint