fgNametable

fontgate.fgNametable = 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

easyCompare

fontgate.fgNametable.easyCompare = easyCompare(...)
bool easyCompare('name0', 'name1')

getAlternativeNames

fontgate.fgNametable.getAlternativeNames = getAlternativeNames(...)
list( 'altGlyphName' ) getAlternativeNames('glyphName')

load

fontgate.fgNametable.load = load(...)
bool load(string path_to_file)

loaded

fontgate.fgNametable.loaded
(bool)

name

fontgate.fgNametable.name = name(...)
'glyphName' name(int unicode)

unc

fontgate.fgNametable.unc = unc(...)
int unc('glyphName')