Behdad Esfahbod
e037cea726
[cython] Simplify COMPILED variables
2024-11-27 22:53:16 -07:00
خالد حسني (Khaled Hosny)
0c26044a63
Merge pull request #3700 from fonttools/pyup-scheduled-update-2024-11-25
...
Scheduled weekly dependency update for week 47
2024-11-25 18:11:01 +02:00
pyup-bot
de3e078c15
Update glyphslib from 6.9.4 to 6.9.5
2024-11-25 16:49:46 +01:00
pyup-bot
0035424938
Update uharfbuzz from 0.42.0 to 0.43.0
2024-11-25 16:49:45 +01:00
pyup-bot
600af79b92
Update ufolib2 from 0.16.1 to 0.17.0
2024-11-25 16:49:44 +01:00
pyup-bot
f8b6833613
Update sphinx_rtd_theme from 3.0.1 to 3.0.2
2024-11-25 16:49:44 +01:00
Behdad Esfahbod
3fe083e8d1
[DecomposedTransform] Document and implement always skewY == 0
...
Spotted by Cosimo. I convinced myself he is right, since a and b
are zero in that branch.
2024-11-22 01:18:33 -07:00
Behdad Esfahbod
b8635fee62
[cffLib.transforms] Handle an attribute error
...
Fixes https://github.com/fonttools/fonttools/issues/3695
2024-11-21 14:21:20 -07:00
Behdad Esfahbod
756c893b84
[Tests] Add pytest.approx() to a test
...
Fixes https://github.com/fonttools/fonttools/issues/3696
2024-11-21 12:26:54 -07:00
Rod S
b90ac3c29f
Bump version: 4.55.0 → 4.55.1.dev0
2024-11-14 09:00:08 -08:00
Rod S
6ad1c3192a
Release 4.55.0
2024-11-14 09:00:08 -08:00
Rod
c4f837021a
Merge pull request #3690 from fonttools/news
...
Update news.rst for next release
2024-11-14 08:41:35 -08:00
Rod
417b0a841d
Update NEWS.rst
2024-11-14 08:34:07 -08:00
rsheeter
c0c89e1ed2
Update news.rst for next release
2024-11-14 08:29:23 -08:00
خالد حسني (Khaled Hosny)
919c1a94f2
Merge pull request #3685 from fonttools/pyup-scheduled-update-2024-11-11
...
Scheduled weekly dependency update for week 45
2024-11-14 17:22:26 +02:00
خالد حسني (Khaled Hosny)
b49335e0e4
Merge pull request #3686 from fonttools/dependabot/github_actions/pypa/gh-action-pypi-publish-1.12.2
...
Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.2
2024-11-14 17:22:11 +02:00
Cosimo Lupo
4a18869794
Merge pull request #3688 from fonttools/name_consistency
...
[varLib] Lets not add mac names if the rest of `name` doesn't have them
2024-11-14 16:20:47 +01:00
Cosimo Lupo
b371f23760
fontBuilder: don't add mac names for fvar and STAT if name table hasn't any
2024-11-14 12:57:44 +01:00
Cosimo Lupo
d2ce6e075c
check for mac names in buildVFStatTable for DSv5 sources with STAT data
2024-11-14 12:57:44 +01:00
rsheeter
991e7914e3
Lets not add inconsistent names?
2024-11-13 16:17:56 -08:00
Behdad Esfahbod
081d6a27ab
Merge pull request #3689 from fonttools/specializer-argsStackUse
...
[cffLib.specializer] Adjust stack use calculation
2024-11-13 08:37:23 -07:00
Behdad Esfahbod
a8462a65c5
[specializer] Use "is None"
2024-11-12 20:17:50 -07:00
Behdad Esfahbod
751d1383af
[specializer] Reuse list len()'s
2024-11-12 20:15:38 -07:00
Behdad Esfahbod
4e2968462a
[specializer_test] Simplify tests
...
No need to go to string and back...
2024-11-12 19:44:50 -07:00
Behdad Esfahbod
6f37252e85
[specializer_test] Remove unused variable
2024-11-12 19:38:11 -07:00
Behdad Esfahbod
7457f8ac52
[specializer_test] Speed up test
...
No need to test 2000 ops. Just 600, anything higher than the max
stack depth (514) is as good...
2024-11-12 19:29:13 -07:00
Behdad Esfahbod
b54936400e
[cffLib.specializer_test] Do less work
...
No need to generalizeFirst these. The tests are in the
general form.
2024-11-12 19:23:00 -07:00
Behdad Esfahbod
cfba1f995f
[cffLib.specializer] Make command-merging linear again
...
The consideration for blends had made it into O(n^2).
Make it linear again.
Speeds up Tests/cffLib/specializer_test.py::CFFSpecializeProgramTest::test_maxstack_blends
3x for me.
2024-11-12 18:43:03 -07:00
Behdad Esfahbod
7e6d31569f
[cffLib.specializer] Adjust stack use calculation
...
See comment.
2024-11-12 17:47:52 -07:00
Behdad Esfahbod
f1d3e116d5
Merge pull request #3672 from googlefonts/cmap14
...
[subset] consider variation selectors subsetting cmap14
2024-11-11 13:45:36 -07:00
dependabot[bot]
16cafc5332
Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.2
...
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish ) from 1.11.0 to 1.12.2.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases )
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.11.0...v1.12.2 )
---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 19:17:22 +00:00
pyup-bot
64af15cbe5
Update glyphslib from 6.9.3 to 6.9.4
2024-11-11 16:49:05 +01:00
pyup-bot
7d97a65199
Update uharfbuzz from 0.41.1 to 0.42.0
2024-11-11 16:49:05 +01:00
Behdad Esfahbod
dafb6d26a0
Merge pull request #3679 from fonttools/cff2-specializer-maxStack
...
[CFF2] specializer fix stack overflow
2024-11-08 10:51:04 -07:00
Behdad Esfahbod
bb7a29e81a
[cffLib.specializer] Fix more stack-overflow opportunity
...
I think it's solid now.
2024-11-06 19:13:35 -05:00
Behdad Esfahbod
2e96d81b05
[specializer_test] Add a test for blend stack-use after specialize()
2024-11-06 18:25:03 -05:00
Behdad Esfahbod
3a909a07fa
[specializer_test] Parametrize copy/pasta tests
2024-11-06 17:49:52 -05:00
Behdad Esfahbod
49bcd19bd9
[specializer_test] Remove Python2 remnants
2024-11-06 16:23:58 -05:00
Cosimo Lupo
18d4b17070
Merge pull request #3682 from ftCLI/reorder-glyphs
...
[ttLib.reorderGlyphs] Update CFF table charstrings and charset
2024-11-06 09:59:01 +01:00
ftCLI
1cb153b2c5
Remove unused imports from reorderGlyphs.py
2024-11-05 17:42:26 +01:00
ftCLI
2906e4043d
Add test for reorderGlyphs function with CFF fonts
2024-11-05 17:39:57 +01:00
ftCLI
a238ed2c31
Remove '.notdef' glyph handling code
2024-11-05 17:10:39 +01:00
Behdad Esfahbod
776e1ce132
[cffLib.specializer] Fix CFF argument stack overflow
...
The code was always merging at least two blends, which was causing
stack-overflow with a test font of ours. Move the overflow check
earlier to catch that.
Fixes https://github.com/fonttools/fonttools/issues/3676
2024-11-05 10:38:00 -05:00
ftCLI
ea59c39e21
Ensure '.notdef' is first glyph and update CFF table
2024-11-05 16:36:36 +01:00
خالد حسني (Khaled Hosny)
e04dfaab53
Merge pull request #3680 from fonttools/dependabot/github_actions/pypa/gh-action-pypi-publish-1.11.0
...
Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0
2024-11-05 01:55:20 +02:00
dependabot[bot]
61ebf0dc79
Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0
...
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish ) from 1.10.3 to 1.11.0.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases )
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.10.3...v1.11.0 )
---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-04 19:20:12 +00:00
Behdad Esfahbod
614d9ebf6b
[cffLib.specializer] Minor refactor
2024-11-04 13:52:28 -05:00
Behdad Esfahbod
2e8a67696f
[interpolatable_test] Don't test CFF2 on Python 3.8
...
It's mysteriously failing:
https://github.com/fonttools/fonttools/pull/3670#issuecomment-2445055495
2024-11-04 11:13:42 -07:00
Behdad Esfahbod
b5373bf5d2
[varLib.interpolatable] Support CFF2 input font
...
Fixes https://github.com/fonttools/fonttools/issues/3666
2024-11-04 11:13:42 -07:00
Behdad Esfahbod
885d7c1ecb
[varLib.interpolatable] Warn if only one master was found
...
Motivated by https://github.com/fonttools/fonttools/issues/3666
2024-11-04 11:13:42 -07:00