Moved psCharStrings.py, psLib.py and psOperators.py to fontTools.misc, since they're not "toplevel" font tools.

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@59 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
Just 2000-01-16 22:14:02 +00:00
parent 470b5050ee
commit 528614e6e2
5 changed files with 4 additions and 4 deletions

View File

@ -1,13 +1,13 @@
"""cffLib.py -- read/write tools for Adobe CFF fonts.""" """cffLib.py -- read/write tools for Adobe CFF fonts."""
# #
# $Id: cffLib.py,v 1.3 1999-12-20 22:02:10 Just Exp $" # $Id: cffLib.py,v 1.4 2000-01-16 22:14:02 Just Exp $"
# #
import struct, sstruct import struct, sstruct
import string import string
import types import types
import psCharStrings from fontTools.misc import psCharStrings
cffHeaderFormat = """ cffHeaderFormat = """

View File

@ -61,8 +61,8 @@ class T1Font:
return self.font[key] return self.font[key]
def parse(self): def parse(self):
import psLib from fontTools.misc import psLib
import psCharStrings from fontTools.misc import psCharStrings
self.font = psLib.suckfont(self.data) self.font = psLib.suckfont(self.data)
charStrings = self.font["CharStrings"] charStrings = self.font["CharStrings"]
lenIV = self.font["Private"].get("lenIV", 4) lenIV = self.font["Private"].get("lenIV", 4)