Home | History | Annotate | Download | only in fontTools

Lines Matching refs:table

25 			assert allowDefault or clazz != DefaultTable, 'Oops, table class not found.'
100 allKeys = set.union(set(), *(vars(table).keys() for table in lst))
112 value = mergeLogic(getattr(table, key, NotImplemented) for table in lst)
334 for i,table in enumerate(tables):
335 for g in table.glyphs.values():
343 g.expand(table)
353 cmapTables = [(t,fontIdx) for fontIdx,table in enumerate(tables) for t in table.tables
366 for table,fontIdx in cmapTables:
368 for uni,gid in table.cmap.items():
443 'table': mergeObjects,
450 for i,(table,dups) in enumerate(zip(tables, m.duplicateGlyphsPerFont)):
452 assert (table is not None and table is not NotImplemented), "Have duplicates to resolve for font %d but no GSUB" % (i + 1)
453 lookupMap = dict((id(v),v) for v in table.table.LookupList.Lookup)
454 featureMap = dict((id(v),v) for v in table.table.FeatureList.FeatureRecord)
457 for script in table.table.ScriptList.ScriptRecord:
475 table.table.FeatureList.FeatureRecord.append(synthFeature)
476 table.table.FeatureList.FeatureCount += 1
487 table.table.LookupList.Lookup.append(synthLookup)
488 table.table.LookupList.LookupCount += 1
745 table = clazz(tag).merge(self, tables)
746 # XXX Clean this up and use: table = mergeObjects(tables)
748 if table is not NotImplemented and table is not False:
749 mega[tag] = table
779 allKeys = set.union(set(), *(vars(table).keys() for table in tables if table is not NotImplemented))
791 value = mergeLogic(getattr(table, key, NotImplemented) for table in tables)
808 if t.table.LookupList:
809 lookupMap = dict((i,id(v)) for i,v in enumerate(t.table.LookupList.Lookup))
810 t.table.LookupList.mapLookups(lookupMap)
811 if t.table.FeatureList:
813 t.table.FeatureList.mapLookups(lookupMap)
815 if t.table.FeatureList and t.table.ScriptList:
816 featureMap = dict((i,id(v)) for i,v in enumerate(t.table.FeatureList.FeatureRecord))
817 t.table.ScriptList.mapFeatures(featureMap)
833 if t.table.LookupList:
834 lookupMap = dict((id(v),i) for i,v in enumerate(t.table.LookupList.Lookup))
835 t.table.LookupList.mapLookups(lookupMap)
836 if t.table.FeatureList:
838 t.table.FeatureList.mapLookups(lookupMap)
840 if t.table.FeatureList and t.table.ScriptList:
842 featureMap = dict((id(v),i) for i,v in enumerate(t.table.FeatureList.FeatureRecord))
843 t.table.ScriptList.mapFeatures(featureMap)