Searched refs:tableCache (Results 1 – 2 of 2) sorted by relevance
/external/fonttools/Lib/fontTools/ttLib/ |
D | ttCollection.py | 33 tableCache = {} if shareTables else None 37 font = TTFont(file, fontNumber=i, _tableCache=tableCache, **kwargs) 54 tableCache = {} if shareTables else None 60 font._save(file, tableCache=tableCache)
|
D | ttFont.py | 197 def _save(self, file, tableCache=None): argument 212 self._writeTable(tag, writer, done, tableCache) 619 def _writeTable(self, tag, writer, done, tableCache=None): argument 629 self._writeTable(masterTable, writer, done, tableCache) 634 if tableCache is not None: 635 entry = tableCache.get((Tag(tag), tabledata)) 642 if tableCache is not None: 643 tableCache[(Tag(tag), tabledata)] = writer[tag]
|