Home | History | Annotate | Download | only in ttLib

Lines Matching refs:directory

123 		# clear out directory area
139 raise ttLib.TTLibError("cannot rewrite '%s' table: length does not match directory entry" % tag)
169 directory.
222 directory = sstruct.pack(self.directoryFormat, self)
229 directory = directory + entry.toString()
231 self.writeMasterChecksum(directory)
233 self.file.write(directory)
235 def _calcMasterChecksum(self, directory):
245 # Create a SFNT directory for checksum calculation purposes
247 directory = sstruct.pack(sfntDirectoryFormat, self)
253 directory = directory + sfntEntry.toString()
256 assert directory_end == len(directory)
258 checksums.append(calcChecksum(directory))
264 def writeMasterChecksum(self, directory):
265 checksumadjustment = self._calcMasterChecksum(directory)
271 # -- sfnt directory helpers and cruft