Lines Matching full:tables
11 classes, since whenever to number of tables changes or whenever
83 tables = {}
88 tables[tag] = entry
89 self.tables = OrderedDict(sorted(tables.items(), key=lambda i: i[1].offset))
96 return tag in self.tables
101 return self.tables.keys()
105 entry = self.tables[Tag(tag)]
122 del self.tables[Tag(tag)]
152 # default compression level for WOFF 1.0 tables and metadata
243 self.tables = OrderedDict()
246 if tag in self.tables:
249 self.tables[tag] = entry
253 if tag in self.tables:
282 return self.tables[tag]
285 """All tables must have been written to disk. Now write the
288 tables = sorted(self.tables.items())
289 if len(tables) != self.numTables:
290 raise TTLibError("wrong number of tables; expected %d, found %d" % (self.numTables, len(tables)))
297 self.totalSfntSize += 16 * len(tables)
298 for tag, entry in tables:
341 for tag, entry in tables:
352 tags = list(self.tables.keys())
355 checksums.append(self.tables[tags[i]].checkSum)
362 tables = sorted(self.tables.items())
363 for tag, entry in tables:
371 directory_end = sfntDirectorySize + len(self.tables) * sfntDirectoryEntrySize
383 self.file.seek(self.tables['head'].offset + 8)
408 numTables: H # number of tables
431 numTables: H # number of tables