Method summary
- __getitem__(self, index)
- __init__(self, name, base = None)
- __setitem__(self, index, value)
- freeze(self)
- getDifferences(self, otherEnc)
- isEqual(self, other)
- makePDFObject(self)
- modifyRange(self, base, newNames)
Methods
- __getitem__(self, index)
Return glyph name for that code point, or None
- __init__(self, name, base = None)
- __setitem__(self, index, value)
- freeze(self)
- getDifferences(self, otherEnc)
Returns a compact list of the code points differing between two encodings
This is in the Adobe format, a list of:
[[b1, name1, name2, name3], [b2, name4]]
where b1...bn is the starting code point, and the glyph names following are assigned consecutive code points.
- isEqual(self, other)
- makePDFObject(self)
- modifyRange(self, base, newNames)
Sets a group of character names starting at the code point 'base'.