6239 Commits

Author SHA1 Message Date
justvanrossum
cc540c41e9 oops, removed leftover debug turd 2018-11-02 11:59:07 +01:00
Just van Rossum
2ed480b50b
Merge pull request #1357 from justvanrossum/fontbuilder-improvements
FontBuilder improvements
2018-11-02 11:48:25 +01:00
justvanrossum
0bfee639c6 test named instances 2018-11-02 08:02:56 +01:00
justvanrossum
8298169dfb at least set these ascent/descent values in the example 2018-11-01 21:33:56 +01:00
justvanrossum
6e299a1bd5 set reasonable values for ascent and descent, test toy variation font 2018-11-01 21:33:08 +01:00
justvanrossum
beaf0432a9 added many docstrings, and added setupHorizontalMetrics and setupVerticalMetrics methods to replace setupMetrics 2018-11-01 20:30:21 +01:00
Cosimo Lupo
364a578c1d
.travis/run.sh: TOXENV variable may list multiple tox envs 2018-11-01 13:36:13 +00:00
Cosimo Lupo
7059296312
tox: 'twine check' already checks RST, don't need to do it again 2018-11-01 13:23:27 +00:00
Cosimo Lupo
532abbcaf6
travis: automatically check REAMDE+NEWS are valid reStructuredText 2018-11-01 13:22:04 +00:00
Cosimo Lupo
e0303ae412
README: fix rst syntax error... 2018-11-01 13:21:24 +00:00
Cosimo Lupo
39dd56f552
tox: add env to check package long_description using 'twine check' command
Restrucutred Text is very picky. 3.32.0 release process failed because of some broken rst.
I have to stop doing [skip ci] when I update the changelog... :(
2018-11-01 13:11:12 +00:00
Cosimo Lupo
3ac256012a
Bump version: 3.32.0 → 3.32.1.dev0 2018-11-01 12:58:53 +00:00
Cosimo Lupo
aa7d99080a
Release 3.32.0 2018-11-01 12:58:52 +00:00
Cosimo Lupo
e4e0375b4c
Update changelog [skip ci] 2018-11-01 12:57:37 +00:00
Just van Rossum
d0fd4b899c
Merge pull request #1354 from justvanrossum/fontbuilder
Merging FontBuilder class.
2018-11-01 13:50:00 +01:00
justvanrossum
25f29841b7 rename setupDSIG to setupDummyDSIG and added a doc string to clarify the legacy status of this 2018-11-01 13:19:27 +01:00
justvanrossum
8d2615e9c8 document the required setup method call order 2018-11-01 12:37:37 +01:00
justvanrossum
723afd626d mark module as experimental 2018-11-01 12:32:17 +01:00
justvanrossum
3e051f582e added a note about the order of setup method calls 2018-11-01 12:21:38 +01:00
justvanrossum
d10dc87527 test DSIG 2018-11-01 12:13:47 +01:00
justvanrossum
7a084bd016 added assert message, fixed DSIG issue 2018-11-01 12:13:35 +01:00
justvanrossum
a81bcbf8a2 remove redundant method call 2018-11-01 12:08:20 +01:00
justvanrossum
277c7da951 added __all__ module attr 2018-11-01 10:28:05 +01:00
justvanrossum
a259d31109 added module doc string with two examples 2018-11-01 10:19:51 +01:00
justvanrossum
cabce338c7 calculate glyph bounds implicitly (unless asked not to do that) 2018-11-01 10:17:07 +01:00
justvanrossum
cfd00ef3dd don't need to specify keepGlyphNames, esp. if it matches defsult behavior 2018-11-01 09:57:35 +01:00
justvanrossum
19eac2e00a test localized name table entries 2018-11-01 09:55:27 +01:00
justvanrossum
a442ce627d work towards making name strings localizable 2018-11-01 09:52:06 +01:00
justvanrossum
3ebde1bda5 allow localized name table entries 2018-11-01 09:44:56 +01:00
justvanrossum
53d743f427 adjust expected test output: we no longer output mac names 2018-11-01 09:41:58 +01:00
justvanrossum
53761c5e03 use more existing name table logic 2018-11-01 09:40:54 +01:00
justvanrossum
0a6cbc0be0 use existing helper func 2018-11-01 09:36:37 +01:00
justvanrossum
0ae6b7f777 workaround path object issue on py 2.7 2018-10-31 21:09:27 +01:00
justvanrossum
f1d5ed1c51 add filename and tables arguments to addOpenTypeFeatures method 2018-10-31 21:01:00 +01:00
justvanrossum
96cdf116ee initial commit, with rudimentary tests 2018-10-31 20:54:34 +01:00
Cosimo Lupo
50dae4cc90 subset: don't error if STAT has no AxisValue tables
the minimalist STAT table that varLib produces only contains one DesignAxisRecord
for each fvar axis, and has AxisValueCount=0, thus the AxisValueArray offset is None.
2018-10-30 10:32:36 +00:00
Cosimo Lupo
f3e928c5c3
Merge pull request #1352 from fonttools/pointpen-fixes
Some Pointpen fixes, and a point pen test file
2018-10-29 20:21:45 +00:00
Cosimo Lupo
139030e1fb
travis/appveyor: only build from master or wip/* branches 2018-10-29 19:50:11 +00:00
Cosimo Lupo
7654895e46
appveyor: only run tests on 2.7 and 3.7 (too slow\!) 2018-10-29 19:49:30 +00:00
justvanrossum
7bcb67f0cc avoid %r to eliminate unicode repr problems in the tests 2018-10-29 20:47:17 +01:00
justvanrossum
6b4a4e3087 don't use unicode literals in pointPen 2018-10-29 19:58:33 +01:00
justvanrossum
c9d4b65fd4 add some component tests 2018-10-29 19:54:52 +01:00
Cosimo Lupo
622131a415
Update changelog [skip ci] 2018-10-29 18:45:20 +00:00
justvanrossum
b5b8a776fe one more identifier test 2018-10-29 19:45:06 +01:00
justvanrossum
25f3dbfb85 test identifier kwarg behavior 2018-10-29 19:43:27 +01:00
justvanrossum
f8ff962490 added some point pen tests 2018-10-29 19:37:50 +01:00
justvanrossum
7d5530ec91 more pointpen method signature consistency fixes 2018-10-29 16:42:07 +01:00
justvanrossum
186e4615ab fix some PointPen method signatures 2018-10-29 16:23:54 +01:00
Behdad Esfahbod
62003f492f [varLib] If multiple axes have the same range ratio, cut across both
The symmetry is desired.

Before:
$ ./fonttools varLib.models 0,0 .5,0 0,.5 .5,.5 1,1
Sorted locations:
[{}, {'A': 0.5}, {'B': 0.5}, {'A': 0.5, 'B': 0.5}, {'A': 1.0, 'B': 1.0}]
Supports:
[{},
 {'A': (0, 0.5, 1.0)},
 {'B': (0, 0.5, 1.0)},
 {'A': (0, 0.5, 1.0), 'B': (0, 0.5, 1.0)},
 {'A': (0.5, 1.0, 1.0), 'B': (0, 1.0, 1.0)}]

Note the last line assymetry.

After:
$ ./fonttools varLib.models 0,0 .5,0 0,.5 .5,.5 1,1
Sorted locations:
[{}, {'A': 0.5}, {'B': 0.5}, {'A': 0.5, 'B': 0.5}, {'A': 1.0, 'B': 1.0}]
Supports:
[{},
 {'A': (0, 0.5, 1.0)},
 {'B': (0, 0.5, 1.0)},
 {'A': (0, 0.5, 1.0), 'B': (0, 0.5, 1.0)},
 {'A': (0.5, 1.0, 1.0), 'B': (0.5, 1.0, 1.0)}]

7ee81c8821 (commitcomment-31054804)
2018-10-28 09:30:09 -07:00
Cosimo Lupo
1ac4d2a427
Revert "Merge pull request #1351 from anthrotype/transform-properties"
This reverts commit 70b0fbf9cfb3e2e1e2fc25fd75ddb71814cd62fb, reversing
changes made to 6a5a4c742219d0590f77d1a35163760e5c98a5a9.
2018-10-26 18:10:33 +01:00