first patch to make ttLib 64-bit clean
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@83 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
parent
509e2874aa
commit
752465b9df
@ -11,7 +11,7 @@ class table__l_o_c_a(DefaultTable.DefaultTable):
|
|||||||
def decompile(self, data, ttFont):
|
def decompile(self, data, ttFont):
|
||||||
longFormat = ttFont['head'].indexToLocFormat
|
longFormat = ttFont['head'].indexToLocFormat
|
||||||
if longFormat:
|
if longFormat:
|
||||||
format = "l"
|
format = "i"
|
||||||
else:
|
else:
|
||||||
format = "H"
|
format = "H"
|
||||||
locations = array.array(format)
|
locations = array.array(format)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user