Home | History | Annotate | Download | only in tables

Lines Matching refs:Lookup

514 	""" Either the offset from the LookupList to a lookup overflowed, or
515 an offset from a lookup to a subtable overflowed.
521 Lookup[0] and contents
527 Lookup[n] and contents
532 If the offset to a lookup overflowed (SubTableIndex is None)
533 we must promote the *previous* lookup to an Extension type.
534 If the offset from a lookup to subtable overflowed, then we must promote it
535 to an Extension Lookup type.
548 lookups = ttf[overflowRecord.tableType].table.LookupList.Lookup
549 lookup = lookups[lookupIndex]
550 # If the previous lookup is an extType, look further back. Very unlikely, but possible.
551 while lookup.SubTable[0].__class__.LookupType == extType:
555 lookup = lookups[lookupIndex]
557 for si in range(len(lookup.SubTable)):
558 subTable = lookup.SubTable[si]
563 lookup.SubTable[si] = extSubTable
655 lookup = table.LookupList.Lookup[overflowRecord.LookupListIndex]
657 subtable = lookup.SubTable[subIndex]
669 lookup.SubTable.insert(subIndex + 1, newExtSubTable)
678 lookup.SubTable.insert(subIndex + 1, newSubTable)
680 if hasattr(lookup, 'SubTableCount'): # may not be defined yet.
681 lookup.SubTableCount = lookup.SubTableCount + 1