fixed problem with private VTT table, found by Peter Bilak
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@522 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
parent
e307d81d4b
commit
8633195104
@ -26,7 +26,7 @@ class table_T_S_I__1(DefaultTable.DefaultTable):
|
||||
for i in range(len(indextable.extra_indices)):
|
||||
extraCode, textLength, textOffset = indextable.extra_indices[i]
|
||||
if textLength == 0x8000:
|
||||
if extraName == "fpgm": # this is the last one
|
||||
if self.extras[extraCode] == "fpgm": # this is the last one
|
||||
textLength = len(data) - textOffset
|
||||
else:
|
||||
textLength = indextable.extra_indices[i+1][1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user