10137 Commits

Author SHA1 Message Date
Cosimo Lupo
4d2a2241a0
Merge pull request #2874 from fonttools/fix-designspace-links
[designspaceLib] Small doc fixes
2022-11-06 14:29:07 +00:00
Cosimo Lupo
66a3ec9071
Merge pull request #2879 from fonttools/drop-py37
Drop Python3.7, require 3.8+ and run tests on 3.11 too
2022-11-04 18:43:45 +00:00
Behdad Esfahbod
82b90236f8
Merge pull request #2880 from fonttools/instancer-featureVars
Instancer feature vars
2022-11-04 11:56:18 -06:00
Behdad Esfahbod
672c4bacdd [instancer.featureVars] Address review comments 2022-11-04 11:55:48 -06:00
Behdad Esfahbod
ea2ae7df86 [instancer.featureVars] Add one more test 2022-11-03 17:15:40 -06:00
Behdad Esfahbod
392706949c [instancer.featureVars] Fix deficiency in L4 instancing
See discussion on the issue.  I think I got this right.

Fixes https://github.com/fonttools/fonttools/issues/2737
2022-11-03 14:55:01 -06:00
Behdad Esfahbod
1b6f4fb858 [instancer.featureVars] Minor adjustments 2022-11-03 14:54:47 -06:00
Behdad Esfahbod
ecfcdffe9f [instancer.featureVars] Combine two functions
Fold _limitFeatureVariationRecord() into
_instantiateFeatureVariationRecord().
2022-11-03 14:22:02 -06:00
Behdad Esfahbod
6e156a7f13 [instancer] Split featureVars code into own module
Towards fixing https://github.com/fonttools/fonttools/issues/2737
2022-11-03 14:21:27 -06:00
Cosimo Lupo
cbac6cacf9
README: mention 3.8 as required and cite NEP 29 as formal schedule 2022-11-03 17:29:17 +00:00
Cosimo Lupo
f15efa00b1
bump skia-pathops==0.7.3 so we install 3.11 wheels 2022-11-03 12:22:55 +00:00
Cosimo Lupo
34dad6dc2e
CI: run tox in verbose mode to debug package installation 2022-11-03 12:11:30 +00:00
Cosimo Lupo
4baa08c722
tox.ini: force pip to install --only-binary=lxml 2022-11-03 11:54:06 +00:00
Cosimo Lupo
8346308414
setup.py: update PyPI Trove Classifiers to mention the array of supported pythons 2022-11-03 11:41:01 +00:00
Cosimo Lupo
7834cf31cc
tox.ini: update envlist to drop 7 and add 11 2022-11-03 11:39:39 +00:00
Cosimo Lupo
99dabeae32
test on 3.10 until lxml provides wheels for windows 3.11
looks like neither lxml 4.9.0 nor 4.9.1 provide precompiled wheels for Windows CPython 3.11 so for now continue to run tests on 3.10 until that's the case
2022-11-03 11:37:59 +00:00
Cosimo Lupo
b36247de21
use lxml==4.9.0; 4.9.1 wheel can't be installed on M1 macs
https://github.com/fonttools/fonttools/issues/2676

I hope they fix that in the next release...
2022-11-03 11:33:52 +00:00
Cosimo Lupo
cd6bc3b79e
tox.ini: bump lxml version so we get precompiled wheels for python3.11 2022-11-03 11:26:13 +00:00
Cosimo Lupo
81efdb8b6c
CI: test on 3.8 and 3.11, no longer 3.7 2022-11-03 11:22:30 +00:00
Cosimo Lupo
496da9985b
setup.py: drop soon EOL python 3.7, require 3.8+
Fixes https://github.com/fonttools/fonttools/issues/2878 and https://github.com/fonttools/fonttools/issues/2163
2022-11-03 11:21:11 +00:00
Behdad Esfahbod
155c32c2d0 [ttLib/main] Fix writing! 2022-11-01 11:18:56 -06:00
Behdad Esfahbod
d23804c916 [ttLib/main] Port to argparse instead of getopt 2022-11-01 11:18:56 -06:00
Behdad Esfahbod
366e16b36b [ttLib] Convert fonts <-> collection in main()
Fixes https://github.com/fonttools/fonttools/pull/2869
2022-11-01 11:18:56 -06:00
Behdad Esfahbod
a639516c4c [ttLib] Add main
Just opens font files from commandline.
2022-11-01 11:18:56 -06:00
Cosimo Lupo
df34f63b87
README.rst: actually write the name of the 'repacker' extra 2022-11-01 15:36:40 +00:00
Cosimo Lupo
2fbcb80272
README.rst: add repacker to list of extras 2022-11-01 15:35:03 +00:00
Jany Belluz
9022c3a41c [designspaceLib] Small doc fixes 2022-11-01 09:31:12 +00:00
Cosimo Lupo
fe4bb77cda require unicodedata2>=15 to support Unicode 15 2022-10-28 18:02:45 -07:00
Behdad Esfahbod
0f48f0a5ea [varLib/featureVars] Insert rvrn lookups at beginning
Fixes https://github.com/fonttools/fonttools/issues/2140
Fixes https://github.com/googlefonts/fontmake/issues/950
2022-10-28 15:45:40 -06:00
Behdad Esfahbod
492645239b [varLib / instancer] Remove DSIG table from font
Fixes https://github.com/fonttools/fonttools/issues/1480
2022-10-28 11:42:57 -06:00
Behdad Esfahbod
9369edb6a9 [mutator] Remove DSIG table if present
Fixes https://github.com/fonttools/fonttools/issues/1480
2022-10-26 14:48:32 -06:00
Behdad Esfahbod
f379aced4d [svgPathPen] Don't close path in endPath()
Fixes https://github.com/fonttools/fonttools/issues/2089
2022-10-26 14:36:22 -06:00
خالد حسني (Khaled Hosny)
ede6c04fd2
Merge pull request #2862 from fonttools/pyup-scheduled-update-2022-10-24
Scheduled weekly dependency update for week 43
2022-10-26 22:12:45 +02:00
Behdad Esfahbod
027de814e2 [subset/SVG] Speed up
Subsetting NotoColorEmojiSvg for one glyph.

Before: 280ms
After: 80ms

Fixes https://github.com/fonttools/fonttools/issues/2360
2022-10-26 14:06:35 -06:00
pyup-bot
75de2d4c69 Update uharfbuzz from 0.30.0 to 0.31.0 2022-10-24 09:11:05 -07:00
pyup-bot
b33347bd6e Update pyobjc from 8.5 to 8.5.1 2022-10-24 09:11:04 -07:00
pyup-bot
dd38c3356d Update scipy from 1.9.1 to 1.9.3 2022-10-24 09:11:04 -07:00
pyup-bot
48a034c6e2 Update sphinx from 5.1.1 to 5.3.0 2022-10-24 09:11:04 -07:00
Cosimo Lupo
57afc89835
Bump version: 4.38.0 → 4.38.1.dev0 2022-10-21 19:17:59 +01:00
Cosimo Lupo
111d2c5c0f
Release 4.38.0 2022-10-21 19:17:57 +01:00
Cosimo Lupo
63cea8821b
Update changelog [skip ci] 2022-10-21 19:16:34 +01:00
Cosimo Lupo
65a65b5f66
Merge pull request #2861 from fonttools/l4-fixes
[instancer-l4] expand singles/tuples to triples upfront and use triples throughout
2022-10-21 18:47:42 +01:00
Cosimo Lupo
b74d098115
add custom repr to AxisTriple so they print nicer in the logging output 2022-10-21 18:38:55 +01:00
Cosimo Lupo
0c30d96906
Update instancer tests to use triples as axis limits 2022-10-21 18:01:01 +01:00
Cosimo Lupo
86e1202129
[instancer] expand singles/tuples to triples upfront and use triples throughout
Also renamed AxisTent => AxisTriple because I think "tent" is more appropriate to visualize master supports (i.e. a triangle with a peak in the middle), here it's simply the new desired min, default, max values of an axis, or the axis limits.

The public facing instantiateVariableFont continues to accept a hybrid map of axis tags to single values or 2- (and now also 3-) tuples, these are normalized to an AxisLimits mapping that contains only AxisTriples and passed around to the internal methods.
2022-10-21 17:49:35 +01:00
Cosimo Lupo
40b2473a48
Merge pull request #2728 from fonttools/instancer-l4
[instancer] Towards L4 instancing
2022-10-21 16:39:09 +01:00
Behdad Esfahbod
3d2fa8a342 [glyf] Return component transform as part of control data
This makes sure that when we are building variable fonts, we
check that all masters have the same component transform in
composite glyphs.  We were not checking for this before.
2022-10-20 11:05:08 -06:00
Cosimo Lupo
6fd5bc270e
Merge pull request #2860 from fonttools/set-redundant-attrs
[otlLib|featureVars] sort name records after building STAT, set redundant Counts
2022-10-20 17:31:45 +01:00
Cosimo Lupo
c41cda33c1
featureVars: set FeatureCount/LangSysCount, even if 0 2022-10-20 16:45:44 +01:00
Cosimo Lupo
41ff9511cc
otlLib: sort names after building STAT, set AxisValueCount=0 2022-10-20 16:44:02 +01:00