10148 Commits

Author SHA1 Message Date
Behdad Esfahbod
af9ab41d21 [instancer] Move solving code into instancer.solver module 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
7856a5cc46 [instancer] Merge pinTupleVariationAxes and limitTupleVariationAxisRanges 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
a8943d99c9 [instancer] Add an assert 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
d0e4758d3c [instancer] Minor 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
fc14158cfd [instancer] Fix setting default WWS for recent changes 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
6752d07c98 [instancer] Parse and percolate triples for axis values 2022-10-13 10:35:02 -06:00
Behdad Esfahbod
eae0613a82 [instancer] Carry pinned locations as ranges of (value,value) in axisLimits
Towards L4 instancing.
2022-10-13 10:35:02 -06:00
Behdad Esfahbod
fdaea7a1d8 [instancer] Avoid unnecessary scaling 2022-10-13 10:35:02 -06:00
Cosimo Lupo
f66ee05f71
Merge pull request #2847 from fonttools/extrapolate-normalize
Allow extrapolation in normalization
2022-10-13 16:25:42 +01:00
Just van Rossum
d102b7a9fb
Merge pull request #2846 from fonttools/issue2843
[varLib.models] Attempt to fix #2843 by computing the axis ranges
2022-10-13 17:15:11 +02:00
Simon Cozens
4d21550052 Allow extrapolation in normalization 2022-10-13 12:34:59 +01:00
Just van Rossum
8b8fbf390e formatting 2022-10-13 12:56:04 +02:00
Just van Rossum
668b8d094b Fallback should be value, not 0 2022-10-13 12:54:19 +02:00
Just van Rossum
2afac999ef Add test for VariationModel with extrapolate=True, and test a two-dimensional designspace for expected interpolation values 2022-10-13 12:50:21 +02:00
Just van Rossum
a91e4d3595 An omitted axis in a location implies a value of 0 -- we need to records that value 2022-10-13 12:48:59 +02:00
Just van Rossum
b073fb8f6f Demand axisRanges is given when extrapolate is True 2022-10-13 12:27:46 +02:00
Just van Rossum
e02e9dc295 Drop -1,+1 fallback and require the axisRanges dict to be complete 2022-10-13 09:07:59 +02:00
Just van Rossum
16183b9436 Adjust extrapolate test cases, and added some for extrapolating below the minimum 2022-10-13 09:03:42 +02:00
Just van Rossum
8e527d3b84 adjust doctests and doc strings 2022-10-13 08:54:28 +02:00
Just van Rossum
4ef44bfbd1 formatting 2022-10-13 08:42:37 +02:00
Just van Rossum
053cba3626 use value as default instead of 0 2022-10-12 16:48:13 +02:00
Just van Rossum
115874cb05 Always ssign axisValues attr 2022-10-12 16:41:50 +02:00
Just van Rossum
f368dcb4dd Attempt to fix #2843 by computing the axis ranges for interpolation 2022-10-12 16:29:14 +02:00
Behdad Esfahbod
4742960f7f [varLib.cff] Don't round deltas
Fixes https://github.com/fonttools/fonttools/issues/2838
2022-10-04 14:12:01 -06:00
Behdad Esfahbod
5a9b044617 [scaleUpem] Fix test 2022-10-04 12:43:39 -06:00
Behdad Esfahbod
f19283e692 [scaleUpem] Handle CFF hintmask 2022-10-04 12:40:14 -06:00
Behdad Esfahbod
6b7c2767d7 [scaleUpeam] Calculate numShorts in VarData after scale
Part of https://github.com/fonttools/fonttools/issues/2840
2022-10-04 12:34:53 -06:00
Jany Belluz
a2e6d341df Add more instructions to make a release 2022-09-30 16:39:32 +01:00
Jany Belluz
8d3e6d286d Fix duplicated title in NEWS.rst 2022-09-30 16:28:26 +01:00
Jany Belluz
1372a36485 Bump version: 4.37.4 → 4.37.5.dev0 2022-09-30 16:25:50 +01:00
Jany Belluz
67f759aa34 Release 4.37.4 2022-09-30 16:25:49 +01:00
Jany Belluz
25bcde5f31
Merge pull request #2837 from daltonmaag/fix-subset-palette-labels
[subset] Keep nameIDs used by CPAL palette entry labels
2022-09-30 16:25:16 +01:00
Jack McCabe
a01e20aa86 Update news 2022-09-30 16:11:41 +01:00
Jack McCabe
eeba234ee0 [subset] PR feedback implementation 2022-09-30 15:59:11 +01:00
Jack McCabe
14ce08bd75 [subset] extend CPALv1 test 2022-09-30 15:41:14 +01:00
Jack McCabe
70112b947d [subset] prevent CPAL nameIDs from being dropped 2022-09-30 12:36:28 +01:00
Jack McCabe
4901deab76 [subset] Add test for CPALv1 (failing !) 2022-09-30 12:10:56 +01:00
Jack McCabe
b945fd6305 [subset] Fix enumeration of palette entry labels 2022-09-30 11:40:39 +01:00
Cosimo Lupo
bf6078af3e
Merge pull request #2833 from fonttools/unicode-15
unicodedata: Update Scripts/Blocks to Unicode 15.0
2022-09-23 11:08:12 +01:00
Cosimo Lupo
ea534a4ecf
unicodedata: Update Scripts/Blocks to Unicode 15.0
by re-running the MetaTools/buildUCD.py script using the current UCD
database.
2022-09-23 10:42:55 +01:00
Just van Rossum
a2eef358be [instancer] Minor touch-up of #2828 2022-09-20 17:36:43 +02:00
Just van Rossum
5ed94e7b2c
Merge pull request #2828 from fonttools/issue2822
[instancer] Don't prune stat.ElidedFallbackNameID
2022-09-20 17:34:18 +02:00
Just van Rossum
c7ea667215 [intancer] Add stat.ElidedFallbackNameID to the set of used name IDs, to avoid it being pruned. Fixes #2822 2022-09-20 17:21:26 +02:00
Cosimo Lupo
85fcb94b36
Merge pull request #2827 from CourtBouillon/main
Avoid negative hmtx values when creating font from variable CFF2 font
2022-09-20 15:40:33 +01:00
Guillaume Ayoub
fd0e81ad13 Avoid negative hmtx values when creating font from variable font
Fix #2821.
2022-09-20 16:27:54 +02:00
Cosimo Lupo
995e5e254d
fixup NEWS.rst 2022-09-20 11:01:47 +01:00
Cosimo Lupo
810aeaa4d7
Bump version: 4.37.3 → 4.37.4.dev0 2022-09-20 11:00:17 +01:00
Cosimo Lupo
8bc00a64b8
Release 4.37.3 2022-09-20 11:00:15 +01:00
Cosimo Lupo
15e41ca498
Update changelog [skip ci] 2022-09-20 11:00:02 +01:00
Cosimo Lupo
e8efe9817e
Explicitly add codecov token to action, see codecov/codecov-action#557
Fixes #2763
2022-09-20 10:33:50 +01:00