10140 Commits

Author SHA1 Message Date
Just van Rossum
a2f67b964a
Merge pull request #2785 from fonttools/fontbuilder-empty-cmap
[fontBuilder] don't error when there are zero code points
2022-08-27 10:44:45 +02:00
Just van Rossum
8af6c16b6a don't error when there are zero code points 2022-08-27 10:29:12 +02:00
Behdad Esfahbod
b3d6868516 [ttGlyphSet_test] Test CFF2 variations 2022-08-26 21:42:14 -06:00
Behdad Esfahbod
f5a1d0ba10 [ttVarGlyphSet-CFF] Handle font without advance variation 2022-08-26 21:24:24 -06:00
Behdad Esfahbod
a949380b4a [psCharStrings] Internal var rename 2022-08-26 21:23:04 -06:00
Behdad Esfahbod
9fe1f8c73e [ttVarGlyphSet-cff] Handle non-variable fonts 2022-08-26 21:20:56 -06:00
Behdad Esfahbod
683308abb5 [varGlyphSet-cff] Apply advance width variation 2022-08-26 21:07:10 -06:00
Behdad Esfahbod
4650b8d293 [cff] Store varStore in CharStrings 2022-08-26 21:00:37 -06:00
Behdad Esfahbod
a7cda37fbb [ttVarGlyphSet] Support CFF 2022-08-26 20:52:18 -06:00
Behdad Esfahbod
9cb418cbfc [varLib.plot] Add plotModelFromMasters 2022-08-26 11:17:26 -06:00
Just van Rossum
a32a92e6d7 add custom __init__ in favor of setting .data externally 2022-08-26 10:53:32 -06:00
Just van Rossum
a0af5727e1 Use UserDict for lazy gar variations dict; alternative for #2779 2022-08-26 10:53:32 -06:00
Behdad Esfahbod
4669372b46 [cu2qu.benchmark] Document main() 2022-08-25 14:38:35 -06:00
Behdad Esfahbod
80033bb2a0 [cu2qu] Move benchmark code into cu2qu.benchmark module 2022-08-25 14:37:59 -06:00
Behdad Esfahbod
2d5a3576d1 [varLib.interpolatable] Report index of contour in error message 2022-08-25 14:15:58 -06:00
Just van Rossum
d1f09e4b34
Merge pull request #2778 from fonttools/varglyphset-pointpen
[ttLib] VarGlyphSet: implement drawPoints natively
2022-08-25 19:02:59 +02:00
Just van Rossum
66411c426b address feedback 2022-08-25 16:11:24 +02:00
Just van Rossum
b460afca09 Implement drawPoints natively 2022-08-25 15:21:54 +02:00
Behdad Esfahbod
d5a08b3b96 [Snippets/statShape] Handle empty shapes 2022-08-24 17:08:07 -06:00
Behdad Esfahbod
1500e35b1c [Snippets/statShape] Draw slant line 2022-08-24 16:32:09 -06:00
Behdad Esfahbod
baecd8850b [Snippets] Add statShape 2022-08-24 16:13:16 -06:00
Behdad Esfahbod
5454989987 [ttGlyphSet] Copy glyph components before shifting
Fixes https://github.com/fonttools/fonttools/issues/2774
2022-08-24 13:30:28 -06:00
Nikolaus Waxweiler
2fcac63a74
Merge pull request #1754 from fonttools/benkiel-patch-1
checkAxis and checkDefault were removed, but not from doc
2022-08-24 19:20:35 +01:00
Ben Kiel
8c3fa47ba8 checkAxis and checkDefault were removed in 3.27.0 2022-08-24 18:57:38 +01:00
Cosimo Lupo
afd0b48f77 Bump version: 4.37.1 → 4.37.2.dev0 2022-08-24 18:36:22 +01:00
Cosimo Lupo
2edaa2a29c Release 4.37.1 2022-08-24 18:36:22 +01:00
Cosimo Lupo
88e105f4a2 Update changelog [skip ci] 2022-08-24 18:36:10 +01:00
Cosimo Lupo
4e43dc2900
Merge pull request #2773 from fonttools/subset-variable
[subset] Fix subsetting of variable fonts
2022-08-24 17:27:22 +01:00
Behdad Esfahbod
27965842eb [subset] Fix subsetting of variable fonts
Fixes https://github.com/fonttools/fonttools/issues/2769
2022-08-24 10:12:32 -06:00
Behdad Esfahbod
78f12ab12d [pens] Add cairoPen 2022-08-24 09:40:17 -06:00
Just van Rossum
33b2dfe709
Merge pull request #2771 from fonttools/faster-lazy-gvar
Read 'gvar' more lazily by not parsing all of the 'glyf' table
2022-08-24 17:40:00 +02:00
Just van Rossum
0637b24b2a Read gvar more lazily by not parsing all of the 'glyf' table 2022-08-24 16:38:00 +02:00
Just van Rossum
21058f61a4
Merge pull request #2770 from fonttools/cff-glyphset-drawpoints
[ttLib] make glyphset[gn].drawPoints(pointPen) work for CFF
2022-08-24 15:21:55 +02:00
Just van Rossum
5aa83bed33 make glyphset[gn].drawPoints(pointPen) work for CFF 2022-08-24 14:48:58 +02:00
Cosimo Lupo
86107453d2 Bump version: 4.37.0 → 4.37.1.dev0 2022-08-23 17:43:58 +01:00
Cosimo Lupo
d4ac42e682 Release 4.37.0 2022-08-23 17:43:58 +01:00
Cosimo Lupo
73d3c12913 Update changelog [skip ci] 2022-08-23 17:43:54 +01:00
Cosimo Lupo
e25ee4b606
Merge pull request #2765 from fonttools/revert-narrow-tents
Revert "[varLib.models] Generate narrower tents"
2022-08-23 17:43:12 +01:00
Behdad Esfahbod
f0f7b93f11 [varLib.models_test] Add test
from https://github.com/fonttools/fonttools/issues/2764
2022-08-23 10:32:57 -06:00
Cosimo Lupo
f5933c1cfa Revert "[varLib.models] Generate narrower tents"
This reverts commit 688939394b8cae3b2a0d5747e435cbd828a14531.
2022-08-23 17:20:57 +01:00
Behdad Esfahbod
5284ac3c58 [varLib.models] Update docstring 2022-08-23 09:56:33 -06:00
Behdad Esfahbod
bad70c68ef [varLib] Support extrapolation
Fixes https://github.com/fonttools/fonttools/issues/1252
2022-08-23 09:56:33 -06:00
Behdad Esfahbod
fce82adba2 [varLib] Clean up __all__ 2022-08-22 11:59:04 -06:00
Behdad Esfahbod
1d285e82ca [scaleUpem] Scale all FontMatrix entries, not just two 2022-08-22 11:16:47 -06:00
Cosimo Lupo
0adc164355
Merge pull request #2762 from fonttools/var-glyph-set-inheritance
[ttGlyphSet] Inherit ttVarGlyphSet from ttGlyphSet
2022-08-22 17:24:05 +01:00
Cosimo Lupo
320cbf7c47 [ttGlyphSet] Inherit ttVarGlyphSet from ttGlyphSet
Fixes #2759
2022-08-22 17:07:31 +01:00
Behdad Esfahbod
129e9cf6a5 [varLib] Fix doc formatting 2022-08-22 07:43:48 -06:00
Behdad Esfahbod
3eed84da01
Merge pull request #2756 from fonttools/makeOutputFileName-fragment
[cliTools.makeOutputFileName] Add fragment argument
2022-08-22 06:29:19 -06:00
Behdad Esfahbod
aa2dae3be1 [instancer] Run black 2022-08-22 06:28:48 -06:00
Behdad Esfahbod
24c9fb6ffa [cliTools] Rename fragment to suffix 2022-08-22 06:26:30 -06:00