-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from fonttools/use-fontools-ufoLib
Use fontTools.ufoLib
- Loading branch information
Showing
26 changed files
with
568 additions
and
2,251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
fonttools==3.26.0 | ||
attrs==18.1.0 | ||
lxml==4.2.1 | ||
typing==3.6.4 ; python_version<'3.5' | ||
singledispatch ; python_version<'3.4' | ||
fonttools==3.31.0 | ||
attrs==18.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
"""ufoLib2 -- a package for dealing with UFO fonts.""" | ||
|
||
# The structure of UFO font files is defined here: | ||
# http://unifiedfontobject.org/ | ||
|
||
from ufoLib2.objects import Font | ||
from ufoLib2.reader import UFOReader | ||
from ufoLib2.writer import UFOWriter | ||
|
||
try: | ||
from ._version import version as __version__ | ||
except ImportError: | ||
__version__ = "0.0.0+unknown" | ||
|
||
|
||
__all__ = ["Font", "UFOReader", "UFOWriter"] | ||
__all__ = ["Font"] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
from ufoLib2.objects.misc import DataStore | ||
from ufoLib2.reader import UFOReader | ||
from ufoLib2.writer import UFOWriter | ||
from fontTools.ufoLib import UFOReader | ||
from fontTools.ufoLib import UFOWriter | ||
|
||
|
||
class DataSet(DataStore): | ||
listdir = UFOReader.getDataDirectoryListing | ||
readf = UFOReader.readData | ||
writef = UFOWriter.writeData | ||
deletef = UFOWriter.deleteData | ||
deletef = UFOWriter.removeData |
Oops, something went wrong.