added some initializer in case the table is empty.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@49 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
parent
484a67ebb1
commit
b0860a8c2b
@ -36,6 +36,9 @@ class table_T_S_I__1(DefaultTable.DefaultTable):
|
||||
self.extraPrograms[self.extras[extraCode]] = text
|
||||
|
||||
def compile(self, ttFont):
|
||||
if not hasattr(self, "glyphPrograms"):
|
||||
self.glyphPrograms = {}
|
||||
self.extraPrograms = {}
|
||||
data = ''
|
||||
indextable = ttFont[self.indextable]
|
||||
glyphNames = ttFont.getGlyphOrder()
|
||||
|
Loading…
x
Reference in New Issue
Block a user