8359 Commits

Author SHA1 Message Date
Cosimo Lupo
6bd52a6f6d Merge pull request #409 from anthrotype/sfnt-table-order
[sfnt] make SFNTReader.tables an OrderedDict sorted by table offset
2015-11-13 17:44:20 +00:00
Cosimo Lupo
8019069f7c [sfnt] make SFNTReader.tables an OrderedDict sorted by table offset
Fixes https://github.com/behdad/fonttools/issues/408
2015-11-13 17:38:50 +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
jamesgk
ebcd99b1df Rearrange some code
Hopefully this should make the code supporting the public API more
clear.
2015-11-12 16:36:23 -08:00
jamesgk
3855de8887 Move non-RoboFab code into a separate module 2015-11-12 16:22:15 -08:00
jamesgk
3e7c9a39d3 Move cu2qu into a package 2015-11-12 16:18:58 -08:00
Cosimo Lupo
7f5d5454fc Merge pull request #406 from anthrotype/xattr-keyerror
[macCreatorType] fix KeyError raised by old version of xattr module
2015-11-11 00:06:54 +00:00
Cosimo Lupo
f10cb1f17d [macCreatorType] fix KeyError raised by old version of xattr module
in version 0.6.4 (installed on OS X 10.10 python lib/extras) it raises
KeyError, whereas in the latest version available fom PyPI (v0.7.8) it
raises IOError.

Fixes issue in https://github.com/googlei18n/nototools/issues/113
2015-11-11 00:01:50 +00:00
Cosimo Lupo
75d4805256 Merge pull request #405 from anthrotype/post-maxint
[_p_o_s_t] remove max indices "reserved for future use"
2015-11-10 00:20:44 +00:00
Cosimo Lupo
49d929681e [_p_o_s_t] remove max indices "reserved for future use"
the third (2015) edition of ISO/IEC 14496-22 "Open Font Format" increased
the limit from 32767 to 65535 (and thus eliminated the reserved numbers).

`array.array` will take care of raising the right `OverflowError` exception
so we don't need any further checking.
2015-11-10 00:11:28 +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
Cosimo Lupo
491b1ebfb0 Merge pull request #401 from jamesgk/pen-tests
TTGlyphPen tests
2015-11-06 21:00:40 +00:00
James Godfrey-Kittle
45e496fdb8 [TTGlyphPen] Use bytes for array.array for python3 2015-11-06 11:50:39 -08:00
James Godfrey-Kittle
981ad5978c Add endPath method to TransformPen
I think this was just forgotten before.
2015-11-06 11:25:48 -08:00
jamesgk
ff3d0bae3b More consistent naming 2015-11-06 11:15:12 -08:00
Denis Jacquerye
5b43ab5b42 ufoLib.test.test_glifLib: undo some 2to3 2015-11-06 15:11:04 +00:00
Denis Jacquerye
3be6afbf72 ufoLib.test.test_glifLib: remove test for robofab’s glyphNameToShortFileName 2015-11-06 15:06:52 +00:00
Denis Jacquerye
929ed4454c ufoLib: drop READ_MODE and WRITE_MODE 2015-11-06 15:06:52 +00:00
Denis Jacquerye
2bf0a6cb6f setup.py: fallback on distutils and use extra_kwars for test_suite 2015-11-06 15:06:52 +00:00
Denis Jacquerye
1f6ea45483 setup.py: fallback on distutils and use extra_kwargs for test_suite 2015-11-06 15:06:52 +00:00
Denis Jacquerye
4126202615 setup.py: numpy is not required anymore, remove "" from packages 2015-11-06 15:06:52 +00:00
Denis Jacquerye
0ccff993e4 travis: test for requirements 2015-11-06 15:06:52 +00:00
Denis Jacquerye
62b4af5c83 setup.py: clean up indentation 2015-11-06 15:06:51 +00:00
Denis Jacquerye
92bf29bd70 ufoLib.glifLib: add anchors to list of attributes in description of readGlyph() and writeGlyph() 2015-11-06 15:06:51 +00:00
Denis Jacquerye
31d358af40 test_UFOConversion, test_UFO{1,2,3}: use plistlib load and dump 2015-11-06 15:06:51 +00:00
Denis Jacquerye
3df210b68f ufoLib.test.test_glifLib: testRoundTrip() anchors don't come in the same order anymore 2015-11-06 15:06:51 +00:00
Denis Jacquerye
c643b67f08 ufoLib.glifLib: glyph.drawPoints(None) should set attr anchors 2015-11-06 15:06:51 +00:00
Denis Jacquerye
e1dd985741 ufoLib.glifLib: undo some 2to3 2015-11-06 15:06:51 +00:00
Denis Jacquerye
7deef57dd0 ufoLib.__init__: add basestring in Python3 and undo 2to3 2015-11-06 15:06:51 +00:00
Denis Jacquerye
07c10687c4 test_gliflib: new file name scheme 2015-11-06 15:06:51 +00:00
Denis Jacquerye
d70348e8a7 test_gliflib: use io.open 2015-11-06 15:06:50 +00:00
Denis Jacquerye
e57fd856c6 travis: add .travis.yml 2015-11-06 15:06:50 +00:00
Denis Jacquerye
a6ea0f2188 setup: use setuptools, add test_suite 2015-11-06 15:06:50 +00:00
Denis Jacquerye
ab842f1e01 ufoLib.test.test_UFOConversion: absolute import 2015-11-06 15:06:50 +00:00
Denis Jacquerye
9c0c7e5177 ufoLib.test.test_UFO1, test_UFO2, test_UFO3: absolute import, unicode_literals, explicit bytes, use io.open 2015-11-06 15:06:50 +00:00
Denis Jacquerye
b6cb3738c8 ufoLib.test.testSupport, test_GLIF1 and test_GLIF2: unicode_literals, use basestring 2015-11-06 15:06:50 +00:00
Denis Jacquerye
72df478a91 ufoLib.plistlib: use basestring 2015-11-06 15:06:50 +00:00
Denis Jacquerye
c74ced8246 ufoLib.plistFromTree: utf-8 is good 2015-11-06 15:06:49 +00:00
Denis Jacquerye
ba7259a99c ufoLib.plistFromTree: absolute import 2015-11-06 15:06:49 +00:00
Denis Jacquerye
3dabb84be5 ufoLib.xmlTreeBuilder: use io.open and basestring 2015-11-06 15:06:49 +00:00
Denis Jacquerye
77f2e022c7 ufoLib.validators: use io.open, use basestring instead of str 2015-11-06 15:06:49 +00:00