minor cleanups
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@131 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
parent
ad6bb5a352
commit
344757f42d
@ -51,8 +51,8 @@ def deHexString(h):
|
||||
|
||||
|
||||
def _test():
|
||||
import eexecOp
|
||||
testStr = "\0\0asdadads asds"
|
||||
from fontTools.misc import eexecOp
|
||||
testStr = "\0\0asdadads asds\265"
|
||||
print decrypt, decrypt(testStr, 12321)
|
||||
print eexecOp.decrypt, eexecOp.decrypt(testStr, 12321)
|
||||
print encrypt, encrypt(testStr, 12321)
|
||||
@ -64,7 +64,7 @@ if __name__ == "__main__":
|
||||
|
||||
|
||||
try:
|
||||
from eexecOp import *
|
||||
from fontTools.misc.eexecOp import *
|
||||
except ImportError:
|
||||
pass # Use the slow Python versions
|
||||
|
||||
|
@ -341,6 +341,6 @@ if __name__ == "__main__":
|
||||
import macfs
|
||||
fss, ok = macfs.StandardGetFile("LWFN")
|
||||
if ok:
|
||||
import t1Lib
|
||||
from fontTools import t1Lib
|
||||
data, kind = t1Lib.read(fss.as_pathname())
|
||||
font = suckfont(data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user