Lines Matching full:tables
11 classes, since whenever to number of tables changes or whenever
82 tables = {}
87 tables[tag] = entry
88 self.tables = OrderedDict(sorted(tables.items(), key=lambda i: i[1].offset))
95 return tag in self.tables
100 return self.tables.keys()
104 entry = self.tables[Tag(tag)]
121 del self.tables[Tag(tag)]
151 # default compression level for WOFF 1.0 tables and metadata
242 self.tables = OrderedDict()
245 if tag in self.tables:
248 self.tables[tag] = entry
252 if tag in self.tables:
281 return self.tables[tag]
284 """All tables must have been written to disk. Now write the
287 tables = sorted(self.tables.items())
288 if len(tables) != self.numTables:
289 raise TTLibError("wrong number of tables; expected %d, found %d" % (self.numTables, len(tables)))
296 self.totalSfntSize += 16 * len(tables)
297 for tag, entry in tables:
340 for tag, entry in tables:
351 tags = list(self.tables.keys())
354 checksums.append(self.tables[tags[i]].checkSum)
361 tables = sorted(self.tables.items())
362 for tag, entry in tables:
370 directory_end = sfntDirectorySize + len(self.tables) * sfntDirectoryEntrySize
382 self.file.seek(self.tables['head'].offset + 8)
407 numTables: H # number of tables
430 numTables: H # number of tables