4581 Commits

Author SHA1 Message Date
Cosimo Lupo
5216d1dbec [travis] do a brew update before installing py36 on mac
Apparently, this should fix https://github.com/fonttools/fonttools/issues/1068

let's see...
2017-10-12 15:34:49 +01:00
Cosimo Lupo
b110d9d624 Revert "[Travis] simply comment-out osx python3.6 build"
This reverts commit d4af7c84c01af8f89bcd8a7c0ea83462b7249ace.
2017-10-12 15:32:48 +01:00
Cosimo Lupo
b4f0986d2e Merge pull request #1071 from anthrotype/reverse-pen
add ReverseContourPen
2017-10-12 12:03:01 +01:00
Cosimo Lupo
3f933548b8 [filterPen] clarify ContourFilterPen doesn't touch components 2017-10-12 11:16:43 +01:00
Jens Kutilek
161a2a393d Update NEWS.rst 2017-10-12 10:41:17 +02:00
Jens Kutilek
a25a401fd2 Merging TT hinting (#1069)
Merge cvts; copy fpgm, prep, glyf programs from base master if compatible.
2017-10-12 10:40:40 +02:00
Cosimo Lupo
3bbba21f1f [reverseContourPen_test] unit tests for ReverseContourPen
For comparison, I also include tests for the ufoLib pen.
They are skipped if ufoLib is not importable.
2017-10-11 21:13:23 +01:00
Cosimo Lupo
021de9963b [reverseContourPen] add ReverseContourPen
A filter pen that passes outline data to another pen, but reversing
the winding direction of all contours.

Like ufoLib's ReverseContourPointPen, but using segment-wise pen
interface, without additional point/segment converters, and without
ufoLib.

627f997ddb/Lib/ufoLib/pointPen.py (L327-L406)
2017-10-11 21:13:23 +01:00
Cosimo Lupo
ccf7ab3ab1 [filterPen] add ContourFilterPen
A filter pen that accumulates contour data, passes it through a
`filterContour` method as the contour is closed or ended, and
draws the result with the output pen.
2017-10-11 21:13:23 +01:00
Cosimo Lupo
8afa763ad2 [arrayTools] fix mixed indentation
This particual file originally contained spaces, so we revert to that...
sorry.
2017-10-11 21:13:23 +01:00
Cosimo Lupo
558dad9028 [arrayTools] add function to iterate over pairs in iterable 2017-10-11 20:43:08 +01:00
Behdad Esfahbod
ab02ce49d3 Implement more ops for arrayTools.Vector
Would be nice to add tests for these...
2017-10-10 13:06:15 +02:00
Behdad Esfahbod
c91f0323db Rename CVTValues to arrayTools.Vector
This is generic, and useful in other cases.
2017-10-10 12:43:15 +02:00
Jens Kutilek
974eb08810 Update NEWS.rst 2017-10-10 12:21:31 +02:00
Jens Kutilek
f874cf6542 Merge pull request #1067 from fonttools/varlib-mutator-cvar
Add interpolation of cvt/cvar table
2017-10-10 12:17:06 +02:00
Jens Kutilek
55cda3901c Only emit a cvar tuple if any delta is not zero. 2017-10-09 17:30:27 +02:00
Jens Kutilek
8cc0df85c5 Merge branch 'master' into varlib-mutator-cvar 2017-10-09 15:21:26 +02:00
Cosimo Lupo
d4af7c84c0 [Travis] simply comment-out osx python3.6 build
I gave up.. too complicated to configure 'allow_failures' without
messing things up.
2017-10-09 14:11:46 +01:00
Cosimo Lupo
1d9305dc08 Revert "[Travis] temporarily let osx python3.6 build fail"
This reverts commits 3693309c651e07f90a95157ec097f81fb6a7def5,
eba71efeecc2702081fb17c6091f70bf0545108f and 5ae9ce60c6a122f27d001fa7beebde3a8e0e98d1.
2017-10-09 14:08:18 +01:00
Cosimo Lupo
5ae9ce60c6 [Travis] still fiddling with .travis.yml...
https://travis-ci.org/fonttools/fonttools/builds/285560888
2017-10-09 14:04:07 +01:00
Cosimo Lupo
eba71efeec [Travis] fix syntax error in .travis.yml 2017-10-09 13:54:40 +01:00
Cosimo Lupo
3693309c65 [Travis] temporarily let osx python3.6 build fail
until the issue with Travis/Homebrew is fixed

https://github.com/fonttools/fonttools/issues/1068
2017-10-09 13:47:19 +01:00
Jens Kutilek
f7c4995413 Set correct expected control value 2017-10-09 13:22:33 +02:00
Jens Kutilek
9209da1bc3 Add cvt table to test data 2017-10-09 13:18:59 +02:00
Jens Kutilek
eaeb366810 Remove debug prints 2017-10-09 13:16:58 +02:00
Jens Kutilek
5b39aa7af2 Implement building cvar tables 2017-10-09 13:08:55 +02:00
Jens Kutilek
f0d5db9975 Add cvt tables to test data 2017-10-06 11:47:20 +02:00
Cosimo Lupo
ae73c45e6a [hhea/vhea] cast to int when using math.ceil and floor
Fixes https://github.com/fonttools/fonttools/issues/1064
2017-10-05 13:27:13 +01:00
Jens Kutilek
80414303d0 Add interpolation of cvt/cvar table 2017-10-05 13:32:06 +02:00
Bill Amidei
11bfd82854 Added xmlReader test for sub_file 2017-10-03 09:07:07 -07:00
Cosimo Lupo
72927cde87 Bump version: 3.16.0 → 3.16.1.dev0 2017-10-03 12:39:38 +01:00
Cosimo Lupo
53732c226a Release 3.16.0 2017-10-03 12:38:32 +01:00
Cosimo Lupo
974bb8aca9 [setup.py] use bump2version, up-to-date fork of bumpversion
The latter is no longer maintained.

https://github.com/c4urself/bump2version
2017-10-03 12:37:51 +01:00
Cosimo Lupo
5224662dc1 [Travis] enable fast_finish
With "fast_finish" enabled, Travis CI will mark builds as finished
as soon as a job has already failed (or the only remaining ones are
allowed to fail).

https://blog.travis-ci.com/2013-11-27-fast-finishing-builds/
2017-10-03 11:40:48 +01:00
Cosimo Lupo
14ee88b09c Updated changelog 2017-10-02 16:38:05 +01:00
Cosimo Lupo
2e4b1d05df [timeTools_test] use pytest.raises to catch ValueError 2017-10-02 14:19:01 +01:00
Cosimo Lupo
0740f899a1 Merge pull request #1063 from khaledhosny/source_date_epoch
Respect SOURCE_DATE_EPOCH for time stamp
2017-10-02 14:09:03 +01:00
Cosimo Lupo
77e22c2d8d Update unicodedata2 to 10.0
Must include python3.6 (as that comes with Unicode 9.0).
Python 3.7 already has Unicode 10.0
2017-10-02 13:39:16 +01:00
Khaled Hosny
4b3a2eb1d9 Respect SOURCE_DATE_EPOCH for time stamp
For reproducible builds, check the presence of SOURCE_DATE_EPOCH
environment variable and use it for the time stamp. This affects the
head.modified (and head.created in merge.py).

See https://reproducible-builds.org/specs/source-date-epoch/
2017-10-02 11:37:00 +02:00
Denis Moyogo Jacquerye
7f352b028b TSI tables content as utf-8 and unicode instead of bytes (#1060)
* TSI tables content as unicode

* TSI1: update tests for utf-8
2017-09-21 18:04:57 +02:00
Martin Hosken
437b3ead2e Make python3 happy 2017-09-19 15:45:44 +02:00
Martin Hosken
9f44ce541c Run buildTableList.py 2017-09-19 15:45:44 +02:00
Martin Hosken
b0ae563d4d Add Graphite table tests 2017-09-19 15:45:44 +02:00
Martin Hosken
84ce740814 Bug fixes 2017-09-19 15:45:44 +02:00
Martin Hosken
1d164cc9c0 Make python3 happy with lambdas 2017-09-19 15:45:44 +02:00
Martin Hosken
0aab423993 Tidy up PR 2017-09-19 15:45:44 +02:00
Martin Hosken
e29a41bbe3 Fix Silf v2 support 2017-09-19 15:45:44 +02:00
Martin Hosken
a997fae488 Some light pep8ing 2017-09-19 15:45:44 +02:00
Martin Hosken
4400854ff0 Tidy up output 2017-09-19 15:45:44 +02:00
Martin Hosken
eb9eebf972 Use glyph names not glyph ids 2017-09-19 15:45:44 +02:00