Behdad Esfahbod
642cb03296
Remove unused line of code
2018-07-25 11:06:44 -07:00
Cosimo Lupo
7b4a9e3b58
appveyor: fixup
2018-07-25 19:06:20 +01:00
Cosimo Lupo
b88caadb8f
run-test.sh: use tox to run the tests
...
still works as before, only that now it requires tox to be available in the /home/clupo/.pyenv/plugins/pyenv-virtualenv/shims:/home/clupo/.pyenv/shims:/home/clupo/.pyenv/bin:/home/clupo/.pyenv/plugins/pyenv-virtualenv/bin:/home/clupo/.local/bin:/home/clupo/bin:/home/clupo/.cargo/bin:/home/clupo/Applications/node-v6.11.4-linux-x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin, else it will fail
2018-07-25 19:03:05 +01:00
Cosimo Lupo
d79b2dd6c7
tox/appveyor: don't use TOXPYTHON env var to select basepython; write a pythonX.Y.bat wrapper instead
2018-07-25 19:03:05 +01:00
Cosimo Lupo
8991f2c097
Merge pull request #1300 from anthrotype/explicit-subtable-break
...
support explicit "subtable" breaks in kerning lookups
2018-07-25 11:58:26 +01:00
Cosimo Lupo
3734b6c036
cffLib/specializer: minor; use < instead of <= maxstack - 1
2018-07-25 11:56:32 +01:00
Cosimo Lupo
334440b56d
Merge pull request #1301 from irori/stacksize
...
[cffLib.specializer] Leave 1 stack free area for subroutinizer use
2018-07-25 10:44:19 +01:00
Kunihiko Sakamoto
35377bc93b
Fix test
2018-07-25 18:22:18 +09:00
Kunihiko Sakamoto
41a21cce27
[cffLib.specializer] Leave 1 stack free area for subroutinizer use
2018-07-25 17:29:27 +09:00
Cosimo Lupo
33084b74cf
Tests: add tests for 'subtable' breaks
2018-07-24 17:14:39 +01:00
Cosimo Lupo
9456ae9485
feaLib: support explicit 'subtable' statements in PairPos lookups
...
Fixes https://github.com/fonttools/fonttools/issues/1279
2018-07-24 17:13:52 +01:00
Cosimo Lupo
d3229d5777
feaLib: ensure languagesystems using 'DFLT' script tag precede all others
...
https://github.com/fonttools/fonttools/pull/1292#issuecomment-407427544
this is to match makeotf's behavior
https://github.com/adobe-type-tools/afdko/pull/498/files#diff-17824930b3cdfb707ae56e1f42bccec6R2305
2018-07-24 16:17:23 +01:00
Cosimo Lupo
1740d18584
Merge pull request #1292 from silnrsi/bugfix2
...
More depths to allowing languages in DFLT
2018-07-24 15:24:50 +01:00
Cosimo Lupo
098b0ade72
appveyor: test on python3.7 64-bit; no longer test on 2.7 x64 and 3.6 x86
...
appveyor is slooow. It's enough we test 2.7 on 32-bit and 3.6 and 3.7 for 64-bit. I think..
2018-07-24 12:23:40 +01:00
Cosimo Lupo
6f94e2ce23
travis: remove python3.4, add python3.7
2018-07-24 12:22:15 +01:00
Cosimo Lupo
38566f3a30
subset_test: minor
2018-07-24 12:17:59 +01:00
Cosimo Lupo
248ae41e9d
loggingTools: fix CapturingLogHandler to work with py37
...
we can't set the logger.level directly because in py37 the logger has a _cache
attribute and that needs to be invalidated by calling setLevel method.
also, I noticed we weren't restoring the original 'disabled' attribute value...
And we need to also set/restore the 'propagate' attribute.
2018-07-24 12:17:59 +01:00
Cosimo Lupo
6105c41f34
tox.ini: add py37 env
2018-07-24 12:17:59 +01:00
Cosimo Lupo
5a1ccf1640
Merge pull request #1297 from anthrotype/fix-mark-base-overflow
...
atttempt to fix offset overflows in MarkBasePos subtables
2018-07-23 12:58:39 +01:00
Cosimo Lupo
6a8ef18eca
MANIFEST.in: add extra_requirements.txt and .coveragerc
2018-07-21 19:20:43 +01:00
Cosimo Lupo
94c8bcc333
Bump version: 2.3.1 → 2.3.2.dev0
2018-07-21 19:18:11 +01:00
Cosimo Lupo
902fbc29d6
Release 2.3.1
2018-07-21 18:43:21 +01:00
Cosimo Lupo
e51f81dce4
Bump version: 2.3.0 → 2.3.1.dev0
2018-07-21 18:36:31 +01:00
Cosimo Lupo
6072fe1802
plistlib: rename some private functions
...
to better match the plist element names they are meant to construct
2018-07-21 18:34:27 +01:00
Cosimo Lupo
d7ac0ad359
subset: write default file extension based on --flavor or sfntVersion
...
Fixes https://github.com/fonttools/fonttools/issues/1298
2018-07-21 18:28:33 +01:00
Cosimo Lupo
0da87b4ccc
Merge pull request #163 from anthrotype/use-bultin-types
...
add use_bultin_types option
2018-07-20 19:36:38 +01:00
Cosimo Lupo
ab3e069a25
test_plistlib: parametrize tests with use_builtin_types option
2018-07-20 19:25:19 +01:00
Cosimo Lupo
5dcf204729
plistlib: add use_builtin_types option
...
Fixes https://github.com/unified-font-object/ufoLib/issues/162
2018-07-20 19:20:33 +01:00
Cosimo Lupo
0df51c58e0
otTables_test: add unit test for splitMarkBasePos
2018-07-19 17:56:35 +01:00
Cosimo Lupo
6e8e431dee
otTables: try to fix MarkBasePos subtable overflows
...
Fixes https://github.com/googlei18n/fontmake/issues/450
2018-07-19 17:52:00 +01:00
Cosimo Lupo
2798bf6d1f
otTables: print subtable type when can't split in fixSubTableOverFlows
2018-07-19 17:50:43 +01:00
Ben Kiel
46db1b06b1
Don't run codecov on tests.
2018-07-16 15:13:18 -05:00
Ben Kiel
2486c6d31d
Add codecov badge
2018-07-16 15:10:58 -05:00
Cosimo Lupo
0602e1fe7b
Release 2.3.0
2018-07-16 15:08:35 +02:00
Cosimo Lupo
bced5b62b9
Bump version: 2.2.5.dev0 → 2.3.0.dev0
2018-07-16 15:01:32 +02:00
Cosimo Lupo
25c1060059
Merge pull request #161 from anthrotype/optional-lxml
...
WIP: make lxml (and singledispatch) optional
2018-07-16 14:59:24 +02:00
Cosimo Lupo
eb03bfeef5
README.md: mention alternative installation method with [lxml] extras notation
...
[ci skip]
2018-07-16 14:41:50 +02:00
Cosimo Lupo
42a3428d0f
writeLayerContents: make sure bytes strings in layerOrder are decoded
...
looks like defcon LayerSet.newLayer does not ensure the 'name' argument is a unicode
string, so serializing the layercontents.plist with the new ufoLib.plistlib may
lead to the layer name being encoded as a <data> element instead of a <string>.
Thanks Miguel for noticing this.
2018-07-15 21:32:13 +01:00
Cosimo Lupo
e15d56a2d3
test_etree: add test for pretty_print=True with ordered dict
2018-07-15 13:55:01 +01:00
Cosimo Lupo
bc7494b7f0
test_etree: start adding some unit tests to etree module
2018-07-15 12:32:17 +01:00
Cosimo Lupo
0c0d46e53b
etree: pretty_print is False by default (like in lxml)
2018-07-15 12:31:11 +01:00
Cosimo Lupo
6c6b94a580
etree: restrict py2 bytes to ASCII only
2018-07-14 20:06:22 +01:00
Cosimo Lupo
abe74f1edc
aarg! fix writeDataFileAtomically not removing empty file...
...
this had been broken for years, since commit 66e5ae02
2018-07-14 19:58:38 +01:00
Cosimo Lupo
b44e3d5087
validators: fixup doctests after adding unicode_literals
2018-07-14 19:42:16 +01:00
Cosimo Lupo
0951e2063e
ensure all modules do from __future__ import absolute_import, unicode_literals
2018-07-14 19:25:18 +01:00
Cosimo Lupo
83e8da2206
etree: only write self-closing <tag/> when element.text is None
...
like lxml does
2018-07-14 17:58:44 +01:00
Cosimo Lupo
3ca63203b2
tox: print python version and bitness for debugging
2018-07-14 15:19:19 +01:00
Cosimo Lupo
e59b89c6ab
tox/appveyor: try creating pythonX.Y.bat file to run with specific python.exe
...
https://nedbatchelder.com/blog/201509/appveyor.html
The old TOXPYTHON trick seems to be discouraged now with tox 3.1, which
emits a warning when there is a conflict in the basepython settings for
environments containing default factors (e.g. py27, etc.)
https://github.com/tox-dev/tox/pull/841
2018-07-14 15:02:07 +01:00
Cosimo Lupo
1a94fbc121
etree: in invalid xml chars allow surrogates for 'narrow' pythons
2018-07-14 14:31:52 +01:00
Cosimo Lupo
37e4b32f6e
appveyor: add fast_finish: true
...
https://www.appveyor.com/docs/build-configuration/#failing-strategy
2018-07-14 14:11:28 +01:00