529 Commits

Author SHA1 Message Date
Tal Leming
fcde72c819 Merge pull request #29 from benkiel/patch-1
Testing for ufoz
2016-05-26 14:48:55 -04:00
Ben Kiel
317214dfb1 If structure is zip, make sure saved file is ufos 2016-05-24 11:21:00 -05:00
Ben Kiel
26863a2b79 Update __init__.py
Add in ufoz for testing.
2016-05-24 11:07:53 -05:00
Tal Leming
29db50cd01 Remove plistlib shim. 2016-05-16 15:02:19 -04:00
Tal Leming
ca217854ba Remove local testing code. 2016-05-16 14:58:32 -04:00
Tal Leming
173669b265 Add a fallback for OSFS when fs isn't installed. 2016-05-16 14:57:46 -04:00
Tal Leming
0b94969fcd Merge from master. 2016-05-16 14:04:56 -04:00
Tal Leming
db9467ff1e Merge branch 'master' into ufo4 2016-05-16 10:24:09 -04:00
Adrien Tétar
3d13117af9 Merge pull request #25 from mashabow/fix-ufo4
[ufo4] Fix _getGlyphSetFormatVersion3()
2016-05-12 09:57:52 +02:00
Masaya Nakamura
a8c7788d66 Fix _getGlyphSetFormatVersion3() 2016-05-11 17:50:14 +09:00
Tal Leming
08f8f114cb Implement writing to package or ZIP.
This has only been lightly tested. It slightly breaks defcon, but I'll
deal with that later.
2016-05-04 10:53:43 -04:00
Tal Leming
59d723b9f8 GlyphSet tweaks. 2016-05-03 10:17:48 -04:00
Tal Leming
622b7c9352 ZIPs will contain a single root directory that packages will not. Abstract this. 2016-05-03 09:59:26 -04:00
Tal Leming
45910b6131 Initial work on reading single file UFO.
This is a work in progress update of UFOReader and UFOWriter that
supports UFO in its package and zipped forms. Reading works. Writing is
not yet implemented.

I'm building a base file system (that lives on top of fs for now and
maybe in the long term) that the reader and writer then subclass. This
base class implements the file system interaction so that the reader
and writer can be blissfully ignorant about file systems.

Additionally, I ran into a problem with the local plistlib.py creating
an import error, so I've temporarily renamed it plistlibShim.py so that
I can continue working.

Did I mention that this is a work in progress? It's a work in progress.
2016-05-02 23:06:25 -04:00
Tal Leming
185c04220d The UFO spec has changed with regard to kerning conflicts. Reflect this in ufoLib. 2016-04-22 13:30:28 -04:00
Tal Leming
e193b72ff3 Work through the pairs in a reliable order. 2016-03-28 07:19:21 -04:00
Tal Leming
44474ee8e5 Slight tweak to the reporting of problematic pairs. 2016-03-27 23:14:25 -04:00
Adrien Tétar
338d97c076 Merge pull request #21 from behdad/allow-duplicate-non-conflicting-kerning
Allow duplicate non-conflicting kerning pairs
2016-03-27 23:24:03 +02:00
Behdad Esfahbod
f5ddac0e5d Allow duplicate non-conflicting kerning pairs
Fixes https://github.com/unified-font-object/ufoLib/pull/15#issuecomment-193552682
2016-03-27 13:47:15 -07:00
Adrien Tétar
0e2eeaf58b Merge pull request #20 from anthrotype/repr-float
use repr() instead of str() to stringify floats
2016-03-17 19:50:55 +01:00
Cosimo Lupo
ace2a4a6bc [glifLib] use use repr() to stringify floats for py23 compat
Closes #19
2016-03-17 16:06:03 +00:00
Cosimo Lupo
6dbca7fa38 [testSupport] use repr() to stringify floats for py23 compat
Part of fixing #19
2016-03-17 16:04:11 +00:00
Adrien Tétar
14e03b478b Merge pull request #18 from benkiel/master
Updating robofab occurances in the text to ufoLib
2016-03-16 23:38:17 +01:00
Ben Kiel
cc16c7370c Updating robofab occurances in the text to ufoLib 2016-03-16 14:24:16 -05:00
Adrien Tétar
1867eb5a37 Merge pull request #14 from unified-font-object/plistlib
plistlib: reimplement as shim
2016-03-01 12:31:32 +00:00
Adrien Tétar
fab99c30e5 plistlib: reimplement as shim 2016-03-01 12:43:04 +01:00
Adrien Tétar
d82050c466 Merge pull request #13 from unified-font-object/plistlib
Use stdlib's plistlib
2016-02-27 17:56:32 +00:00
Adrien Tétar
ded0d09cd1 plistlib API dispatch 2016-02-27 17:04:58 +01:00
Adrien Tétar
cb104104b0 glifLib: remove legacy workaround 2016-02-27 14:53:04 +01:00
Adrien Tétar
9e5dbff662 gliflib: use stdlib plistlib 2016-02-27 14:52:35 +01:00
Adrien Tétar
46879af112 validators: export pngSignature
To remove duplicate in defcon.
2016-02-21 12:11:41 +01:00
Adrien Tétar
5d89437108 pointPen: add missing GuessSmoothPointPen 2016-01-17 10:46:39 +01:00
Adrien Tétar
dbfcb5cf3f appveyor.yml: fix dl link 2015-12-29 16:04:29 +01:00
Adrien Tétar
c6132fdd35 pointPen: add pt count in assertions 2015-12-25 23:51:26 +01:00
Adrien Tétar
ae46da13b3 Merge pull request #4 from unified-font-object/adapterPens
pointPen: add adapter pens
2015-12-18 11:10:50 +01:00
Adrien Tétar
67414f21ff pointPen: add adapter pens
and annihilate remaining robofab dependency
2015-12-13 20:48:01 +01:00
Adrien Tétar
744423d267 Merge pull request #8 from moyogo/py23
Python 2/3: replace str by basestring
2015-11-18 15:31:34 +01:00
Denis Jacquerye
d05df7eb7e Python 2/3: replace str by basestring 2015-11-18 13:22:14 +00:00
Adrien Tétar
f733002fea Merge pull request #7 from moyogo/badges
README: link badges with Travis-CI and AppVeyor project pages
2015-11-13 16:06:08 +01:00
Denis Jacquerye
7a4f0328e7 README: link badges with Travis-CI and AppVeyor project pages 2015-11-13 14:19:51 +00:00
Adrien Tétar
91190587b8 Merge pull request #2 from moyogo/appveyor
Add AppVeyor files
2015-11-08 18:03:51 +01:00
Denis Jacquerye
4611f4d6fc README: add Appveyor and Python versions badges 2015-11-08 16:56:50 +00:00
Denis Jacquerye
c7c9d901e8 Add Appveyor files 2015-11-08 16:56:50 +00:00
Adrien Tétar
08a6281a91 Merge pull request #1 from unified-font-object/patch-1
glifLib: open files as binary to avoid line-endings normalization
2015-11-08 15:44:30 +01:00
Adrien Tétar
0d3cdb1ee4 glifLib: open files as binary to avoid line-endings normalization 2015-11-08 15:41:43 +01:00
Adrien Tétar
0b60503f4f test: fix a test on Windows 2015-11-08 11:49:06 +01:00
Adrien Tétar
ae7ad468c0 stop importing robofab in the test suite 2015-11-08 11:33:29 +01:00
Adrien Tétar
0e3ca80eea add README 2015-11-08 11:22:08 +01:00
Adrien Tétar
e345fec96f meta: remove robofab files 2015-11-08 11:11:11 +01:00
Denis Jacquerye
5b43ab5b42 ufoLib.test.test_glifLib: undo some 2to3 2015-11-06 15:11:04 +00:00