back out pfa 'fix'; it reverses a bug fix from last year...
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@291 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
parent
d7787131e4
commit
db1f2800e1
@ -312,13 +312,12 @@ def findEncryptedChunks(data):
|
||||
eEnd = string.find(data, EEXECEND, eBegin)
|
||||
if eEnd < 0:
|
||||
raise T1Error, "can't find end of eexec part"
|
||||
if 0:
|
||||
cypherText = data[eBegin:eEnd + 2]
|
||||
plainText, R = eexec.decrypt(cypherText, 55665)
|
||||
eEndLocal = string.find(plainText, EEXECINTERNALEND)
|
||||
if eEndLocal < 0:
|
||||
raise T1Error, "can't find end of eexec part"
|
||||
eEnd = eBegin + eEndLocal + len(EEXECINTERNALEND) + 1
|
||||
cypherText = data[eBegin:eEnd + 2]
|
||||
plainText, R = eexec.decrypt(cypherText, 55665)
|
||||
eEndLocal = string.find(plainText, EEXECINTERNALEND)
|
||||
if eEndLocal < 0:
|
||||
raise T1Error, "can't find end of eexec part"
|
||||
eEnd = eBegin + eEndLocal + len(EEXECINTERNALEND) + 1
|
||||
chunks.append((0, data[:eBegin]))
|
||||
chunks.append((1, data[eBegin:eEnd]))
|
||||
data = data[eEnd:]
|
||||
|
Loading…
x
Reference in New Issue
Block a user