Ben Kiel
42b94f53fa
UFOWriter validation turned on by default.
2018-06-11 11:59:16 -05:00
Ben Kiel
b8d4b5562b
UFOReader validation turned off by default. Starting on UFOWriter
2018-06-11 11:07:29 -05:00
Cosimo Lupo
2a0682238e
Merge pull request #147 from applePrincess/master
...
Update installing pip. This change will solve failing to build under windows.
2018-06-09 18:30:15 +01:00
applePrincess
d16710074a
Update installing pip.
2018-06-09 02:00:32 +01:00
Cosimo Lupo
cc0c55bc0f
Merge pull request #135 from miguelsousa/small-fixes
...
Small fixes
2018-04-04 08:05:05 +02:00
Miguel Sousa
3e8ca172ab
Small fixes
2018-04-03 17:36:41 -07:00
Cosimo Lupo
7aa8794141
Merge pull request #132 from benkiel/master
...
Get rid of Python 3.4, add in Python 3.6
2018-03-23 14:52:27 +00:00
Ben Kiel
400f39cbc4
Forgot about .travis.yml
2018-03-21 22:04:37 -05:00
Ben Kiel
25bbd89c8f
Get rid of Python 3.4, add in Python 3.5
2018-03-21 21:56:01 -05:00
Frederik Berlaen
6992e0eb1b
Merge pull request #122 from hoeflerco/fix-convertGroupNames
...
When converting kerning group names, remove the older '@MMK' prefixes
2018-02-07 16:05:58 +01:00
Andy Clymer
d53d12a7cc
Fixed tests to match the changes to group names
2018-01-29 12:49:38 -05:00
Andy Clymer
76d0fa276e
When converting kerning group names, remove the older '@MMK' prefixes
2018-01-29 12:30:12 -05:00
Frederik Berlaen
85bf64d756
Merge pull request #120 from unified-font-object/ufo2_anchors
...
an anchor is a move point with a name
2018-01-28 21:17:15 +01:00
Frederik Berlaen
4182100744
updating tests
2018-01-26 23:27:31 +01:00
Frederik Berlaen
4549c6a2d4
an anchor is a move point with a name
...
check if the point has a name
if no name is given its a single move point in a contour
2018-01-26 23:18:25 +01:00
Cosimo Lupo
37c4777fab
Merge pull request #103 from adrientetar/optimize
...
Some optimizations
2017-11-17 12:39:14 +00:00
Adrien Tétar
8946a5f753
More
2017-11-17 13:18:44 +01:00
Cosimo Lupo
dc5ef5a629
Merge pull request #106 from mashabow/patch-1
...
Fix typo: PointsPen → PointPen
2017-11-08 15:41:40 +00:00
Masaya Nakamura
f73202b00c
Fix typo
2017-11-09 00:40:08 +09:00
Cosimo Lupo
570fc1550e
Merge pull request #105 from mashabow/fix-getinfo
...
[filesystem] Specify namespaces for getinfo()
2017-11-07 10:15:48 +00:00
Masaya Nakamura
c7882c84b2
[filesystem] Specify namespaces for getinfo()
...
https://pyfilesystem2.readthedocs.io/en/latest/info.html#namespaces
2017-11-07 18:40:44 +09:00
Adrien Tétar
d8d366de7e
More
2017-11-05 15:31:58 +01:00
Adrien Tétar
a2ffce8596
typo
2017-11-04 22:59:01 +01:00
Adrien Tétar
99c5c4fff5
Use dedicated Error
2017-11-04 22:56:12 +01:00
Adrien Tétar
f0d67574ab
Some optimizations to glifLib
2017-11-04 22:18:20 +01:00
Cosimo Lupo
3d891631d9
Bump version: 2.1.1 → 2.1.2.dev0
2017-10-25 12:01:13 +01:00
Cosimo Lupo
55c2be52bd
Release 2.1.1
2017-10-25 12:00:47 +01:00
Erik van Blokland
f726d88bcb
Remove TTVendorCode. Not sure if "NONE" is a valid one, but here it is.
2017-10-25 11:36:23 +02:00
Erik van Blokland
5408815f09
This removes 4 glyphs borrowed from Adobe Sans. These glyphs are not used in any tests.
...
All licenses, copyright strings, notices, trademarks, removed and pointing to the license of the package.
2017-10-25 11:34:06 +02:00
Cosimo Lupo
9c72e09e18
[validators] fix fontLibValidator doctests; make errors more verbose
2017-10-19 18:29:05 +02:00
Cosimo Lupo
25c84dcb84
Test fontLibValidator with either bytes or unicode
...
This passes on my local machine with both 2.7 and 3.6.
I can't seem to reproduce this error:
https://github.com/unified-font-object/ufoLib/issues/98
2017-10-19 17:34:34 +02:00
Frederik Berlaen
627f997ddb
remove raise errors when the formatVersion < 3
...
see https://github.com/unified-font-object/ufoLib/issues/91
Im going to ahead on this as no one replied...
2017-09-26 21:58:26 +02:00
Cosimo Lupo
fb1eef601f
minor
2017-08-07 18:40:36 +01:00
Cosimo Lupo
b03a005119
Merge pull request #84 from chrissimpkins/master
...
detect incorrect metainfo.plist formatVersion type before version tes…
2017-08-07 18:35:45 +01:00
Cosimo Lupo
190b63333d
Merge pull request #86 from mashabow/layer-contents-validator
...
[validators] Make layerContentsValidator() compatible with FileSystem
2017-08-07 08:07:39 +01:00
Masaya Nakamura
d8c02c2f13
[validators] Make layerContentsValidator() compatible with FileSystem
2017-08-07 14:27:33 +09:00
Cosimo Lupo
18fb0459de
Merge pull request #85 from mashabow/fix-open-zip
...
[filesystem] Fix error on opening zip in Python 2
2017-08-02 10:51:12 +01:00
Masaya Nakamura
2be975d42a
[filesystem] Fix error on opening zip in Python 2
2017-08-02 18:22:20 +09:00
Chris Simpkins
659299a318
detect incorrect metainfo.plist formatVersion type before version testing ( #83 )
2017-07-27 22:18:42 -04:00
Cosimo Lupo
4d9291fe71
[plistlib] in python3, explicitly use fmt=PlistFormat.FMT_XML
...
Otherwise it will try to sniff the plist format and call `seek`
method on the file object, but the zip filesystem does not support
that...
UnsupportedOperation: seek
2017-07-21 17:46:00 +01:00
Cosimo Lupo
f1f4e120f5
[filesystem] exclude '__MACOSX' metadata dir contained in zip file
2017-07-21 17:43:00 +01:00
Cosimo Lupo
879fce2e7c
Merge pull request #81 from anthrotype/ufo4
...
update "Add ZIP support to UFO"
2017-07-21 17:16:10 +01:00
Cosimo Lupo
a06da7681e
fixup
2017-07-21 16:45:22 +01:00
Cosimo Lupo
ec8d58f0b8
[filesystem] in listDirectory, always use Unix '/' as separator
...
the _NOFS implementation is using `os.listdir` which uses the
native `os.sep`; however, pyfilesystem2 FS paths always uses forward
slashes '/'.
2017-07-21 16:40:28 +01:00
Cosimo Lupo
2bef40c30d
[ufoLib] use self.fileSystem.joinPath instead of reader.joinPath
2017-07-21 14:11:13 +01:00
Cosimo Lupo
e3d89cee7f
[ufoLib] fix listing images dir; pass a file object to pngValidator
2017-07-21 14:08:41 +01:00
Cosimo Lupo
c06c38cadb
[ufoLib] UFOReader.getFileModificationTime is used by defcon
2017-07-21 14:05:59 +01:00
Cosimo Lupo
22a6f917e4
[filesystem] implement 'create' argument for _NOFS.movedir
...
in pyfilesystem2, movedir copies the content from one directory to
antoher, optionally creating the destination if create=True.
When the destination is exists and is a directory, shutil.move moves
the source directory inside the destinatinn directory.
shutil.copytree also fails if the destination already exists; so here
we resort to distutils.dir_util.copy_tree (it's part of python std lib)
2017-07-21 14:04:10 +01:00
Cosimo Lupo
3c0d41bac9
[filesystem] use the current ZipFS API; create "contents" dir
...
The 'mode' and 'allow_zip_64' arguments are no longer there in
pyfileststem2's zipfs module; allow_zip_64 is the default now,
and the 'mode' is replaced by a 'write' boolean argument
The "contents" root dir must be created manually.
2017-07-21 13:53:49 +01:00
Cosimo Lupo
46f32d4cd4
[filesystem] print exception in readPlist
2017-07-21 13:43:33 +01:00