Behdad Esfahbod
78a939848f
[Cu2QuMultiPen] Add tests and fix a but
...
Fixes https://github.com/fonttools/fonttools/issues/2926
2022-12-13 11:28:33 -07:00
Cosimo Lupo
d74cb8afe6
Merge pull request #2927 from cmyr/sort-names
...
[feaLib] Sort name table entries in builder
2022-12-13 16:13:59 +00:00
Colin Rofls
4716f85731
[feaLib] Sort name table entries in builder
...
This patch ensures that feaLib always produces a name table with entries
sorted in the order proscribed by the spec: platform id, encoding id,
language id, name id.
This breaks some tests, and so I have manually updated the test data to
match the new outputs.
2022-12-13 10:39:33 -05:00
Cosimo Lupo
164d6ead03
Merge pull request #2912 from fonttools/cu2quMultiPen
...
[cu2quPen] Add Cu2QuMultiPen
2022-12-13 11:00:58 +00:00
Behdad Esfahbod
4f3cb7e4bc
[cu2quPen] Add Cu2QuMultiPen
2022-12-12 09:55:12 -07:00
Behdad Esfahbod
78e10d8b42
[ttGlyphPen] Add outputImpliedClosingLine argument
...
Fixes https://github.com/fonttools/fonttools/issues/2913
2022-12-12 09:53:59 -07:00
Behdad Esfahbod
ddbbef2257
[reverseContourPen] Add outputImpliedClosingLine
...
Fixes https://github.com/fonttools/fonttools/issues/2914
2022-12-12 09:49:06 -07:00
Behdad Esfahbod
6aca5be9b7
[gvar] Don't expand glyph for unused pointCount
...
Keep it in the API though.
2022-12-09 11:39:07 -07:00
Behdad Esfahbod
96de954d29
[gvar] Don't expand glyph during decompile if no variation data
2022-12-07 21:34:36 -07:00
Behdad Esfahbod
73923b3a1e
Typo
2022-12-07 15:19:07 -07:00
Behdad Esfahbod
3a258573af
[gvar] Avoid decompiling glyphs that don't have variations
2022-12-07 14:50:15 -07:00
Behdad Esfahbod
5a0dc4bc8d
Merge pull request #2894 from fonttools/punchcutter-patch-1
...
Skip scaling of vsindex in scaleUpem.py
2022-11-17 13:29:15 -07:00
Zachary Quinn Scheuren
0c43aeb511
Skip scaling of vsindex in scaleUpem.py
2022-11-17 21:40:32 +09:00
Nikolaus Waxweiler
8e9bf42cb4
Merge pull request #2891 from daltonmaag/dskub-add-getaxisbytag
...
[designspaceLib] Add DS.getAxisByTag and refactor getAxis
2022-11-15 13:38:50 +00:00
Nikolaus Waxweiler
45c89c0700
Add DS.getAxisByTag and refactor getAxis
2022-11-14 19:15:47 +00:00
Cosimo Lupo
cf28372e2d
cerry-pick packaging & ci changes from reverted PR #2879
2022-11-14 13:48:39 +00:00
Cosimo Lupo
2f0b065b30
requirements.txt: bump skia-pathops==0.7.3
2022-11-14 13:43:29 +00:00
Cosimo Lupo
de015cd0a1
README.rst: mention NEP29 as python deprecation policy we like to follow
2022-11-14 13:41:56 +00:00
Cosimo Lupo
f21e6768a7
Revert "Merge pull request #2879 from fonttools/drop-py37"
...
This reverts commit 66a3ec90713375aec5a95d1698ef1521fd432918, reversing
changes made to 82b90236f839fc9fc8e694ddcdee0ad1604d30ec.
A major user of fontTools, RoboFont, will need a bit more time to wean itself from Python 3.7.
We can delay this change by a few more months to give them time to upgrade.
2022-11-14 13:39:18 +00:00
Cosimo Lupo
a1fc9b1efc
Merge pull request #2889 from fonttools/unicodedata-Zmth
...
[unicodedata] map Zmth<->math in ot_tag_{to,from}_script
2022-11-11 20:37:36 +00:00
Cosimo Lupo
3585641248
Merge pull request #2884 from fonttools/woff2-overlap-simple
...
[woff2] Support encoding/decoding OVERLAP_SIMPLE glyf flags
2022-11-11 12:23:38 +00:00
Cosimo Lupo
8697f91cdc
[unicodedata] map Zmth<->math in ot_tag_{to,from}_script
...
Fixes https://github.com/fonttools/fonttools/issues/1737
2022-11-11 12:20:37 +00:00
Cosimo Lupo
ded595f03c
Merge pull request #2886 from fonttools/l4-default-wght-wdth-slnt
...
[instancer] update OS/2 class and post.italicAngle when default moved (L4)
2022-11-10 10:29:07 +00:00
Cosimo Lupo
dbc3b48879
[instancer] udpdate OS/2 class and post.italicAngle when default moved (L4)
...
Previously we were only updating these when pinning wght/wdth/slnt axes.
Now we do whenever any of these axes defaults are changed, whether or not the axes are pinned or kept
Fixes https://github.com/fonttools/fonttools/issues/2885
2022-11-09 16:33:23 +00:00
Cosimo Lupo
b4e664da21
[woff2] Add support for encoding/decoding OVERLAP_SIMPLE glyf flags in WOFF2
...
Fixes #2576
This updates our woff2 encoder/decoder to support retaining the OVERLAP_SIMPLE glyf flag following the updated WOFF 2.0 specification and official google/woff2 implementation.
https://www.w3.org/TR/WOFF2/#glyf_table_format
2022-11-09 13:56:46 +00:00
Cosimo Lupo
12bf60aee0
woff2_test: [minor] remove unused local variable
2022-11-09 11:08:37 +00:00
Cosimo Lupo
04b43ed833
woff2_test: fix test_hmtx_compressed test
...
it had been failing after we renamed a name string containing 'master' => 'main; in https://github.com/fonttools/fonttools/pull/2883
2022-11-09 11:06:04 +00:00
Cosimo Lupo
2bfb7b9279
Merge pull request #2882 from fonttools/pyup-scheduled-update-2022-11-07
...
Scheduled weekly dependency update for week 45
2022-11-09 09:52:56 +00:00
Cosimo Lupo
899b71f831
Merge pull request #2883 from pnemade/main
...
Update references of branch name from master to main
2022-11-09 09:52:38 +00:00
Parag Nemade
0a176acabc
Update branch name from master to main
2022-11-09 10:11:02 +05:30
pyup-bot
d80d1360bc
Update uharfbuzz from 0.31.0 to 0.32.0
2022-11-07 16:10:40 +00:00
pyup-bot
a613b0d69d
Update pyobjc from 8.5.1 to 9.0
2022-11-07 16:10:40 +00:00
pyup-bot
638acdcc36
Update ufolib2 from 0.13.1 to 0.14.0
2022-11-07 16:10:29 +00:00
pyup-bot
23c6446829
Update reportlab from 3.6.11 to 3.6.12
2022-11-07 16:10:29 +00:00
pyup-bot
04973236e7
Update sphinx_rtd_theme from 1.0.0 to 1.1.1
2022-11-07 16:10:28 +00:00
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