Cosimo Lupo
|
3167e31be8
|
ufoLib: also reuse _readLayerContents method
plus fix some redundant 2to3 left-overs
|
2018-10-23 20:30:52 +01:00 |
|
Cosimo Lupo
|
f997005fb7
|
make UFOWriter a subclass of UFOReader, use mixins for shared methods
|
2018-10-23 19:43:37 +01:00 |
|
Cosimo Lupo
|
1a14b38de2
|
UFOWriter: normalize path by removing trailing slashes
or else os.path.dirname(Font.ufo/) would think that the directory doesn't exist...
|
2018-10-23 19:10:39 +01:00 |
|
Cosimo Lupo
|
fe4381df56
|
ufoLib: add readData, writeData and removeData methods
|
2018-10-21 15:42:02 +01:00 |
|
Ben Kiel
|
8bb9d0ed6c
|
Change UFOLib creator
|
2018-10-19 11:25:52 -05:00 |
|
Cosimo Lupo
|
8081bf57fa
|
etree/plistlib/glifLib: using (default) single quotes in XML_DECLARATION
https://github.com/fonttools/fonttools/pull/1335#issuecomment-431118568
|
2018-10-18 19:49:52 +01:00 |
|
Cosimo Lupo
|
6b1bf4247b
|
move pointPen to fontTools.pens subpackage; keep ufoLib.pointPen alias
|
2018-10-18 16:03:09 +01:00 |
|
Cosimo Lupo
|
b23a208805
|
ufoLib: fix doctests failing on py27 for unicode_literals
I hate doctests.
|
2018-10-18 15:40:32 +01:00 |
|
Cosimo Lupo
|
3e19f6d985
|
keep fontTools.ufoLib.etree as a shim module for fontTools.misc.etree
|
2018-10-18 11:12:08 +01:00 |
|
Cosimo Lupo
|
081b0fc090
|
keep fontTools.ufoLib.plistlib compatibility shim
the old readPlist, writePlist are only kept in fontTools.ufoLib.plistlib,
not in fontTools.misc.plistlib
|
2018-10-18 11:11:34 +01:00 |
|
Cosimo Lupo
|
176b5f763d
|
change 'import ufoLib' to 'import fontTools.ufoLib'
|
2018-10-17 17:43:28 +01:00 |
|
Cosimo Lupo
|
7ee7ccd568
|
move ufoLib.etree to fontTools.misc.etree
we can use this ElementTree-like XML API for ttx or designspaceLib, not
just ufoLib
|
2018-10-17 17:30:39 +01:00 |
|
Cosimo Lupo
|
e42bfd65f4
|
move ufoLib.plistlib to fontTools.misc.plistlib
As PLIST are not only UFOs (e.g. DesignSpace documents)
|
2018-10-17 17:29:34 +01:00 |
|
Cosimo Lupo
|
7cd80a37dd
|
move Lib/ufoLib to Lib/fontTools/ufoLib
|
2018-10-17 17:05:17 +01:00 |
|