fixed typo in comment
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@230 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
parent
6d73fdef1c
commit
04b3204dd1
@ -16,6 +16,7 @@ import struct, sstruct
|
|||||||
import Numeric
|
import Numeric
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
||||||
class SFNTReader:
|
class SFNTReader:
|
||||||
|
|
||||||
def __init__(self, file, checkChecksums=1):
|
def __init__(self, file, checkChecksums=1):
|
||||||
@ -92,7 +93,7 @@ class SFNTWriter:
|
|||||||
"""Write raw table data to disk."""
|
"""Write raw table data to disk."""
|
||||||
if self.tables.has_key(tag):
|
if self.tables.has_key(tag):
|
||||||
# We've written this table to file before. If the length
|
# We've written this table to file before. If the length
|
||||||
# of the data is still the same, we allow overwritng it.
|
# of the data is still the same, we allow overwriting it.
|
||||||
entry = self.tables[tag]
|
entry = self.tables[tag]
|
||||||
if len(data) <> entry.length:
|
if len(data) <> entry.length:
|
||||||
from fontTools import ttLib
|
from fontTools import ttLib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user