12089 Commits

Author SHA1 Message Date
Khaled Hosny
827da6731d Release 4.55.2 2024-12-05 15:46:26 +02:00
Khaled Hosny
d06535aded Update NEWS.rst 2024-12-05 15:44:50 +02:00
خالد حسني (Khaled Hosny)
190441beb8
Merge pull request #3693 from fonttools/dependabot/github_actions/codecov/codecov-action-5
Bump codecov/codecov-action from 4 to 5
2024-12-05 15:34:51 +02:00
خالد حسني (Khaled Hosny)
12049c8503
Merge pull request #3708 from fonttools/pyup-scheduled-update-2024-12-02
Scheduled weekly dependency update for week 48
2024-12-05 15:34:04 +02:00
خالد حسني (Khaled Hosny)
26590d3d6e
[feaLib] Don’t modify variable anchors in place (#3717)
When passing a parsed feature file that has variable anchors to
addOpenTypeFeatures(), builder would modify the anchors in place and
discard the variations, which break any subsequent use of the feature
file.

I encountered this building a font that has variable cursing anchors
with ufo2ft. The cursFeatureWriter would write the variable anchors, but
then when kernFeatreWriter compiles the file to get GSUB closure, the
variation would be dropped from the anchors, and later when when the
feature data is compiled into the font, the anchors would be compiled
without variations.
2024-12-05 12:09:44 +00:00
Just van Rossum
332602ebc4
Merge pull request #3715 from ryanbugden/main
Allow axisOrdering to be set to zero
2024-12-03 22:03:42 +01:00
n8willis
3ed96c973d
Merge pull request #3712 from n8willis/master
[Docs] update Sphinx config
2024-12-03 20:37:47 +00:00
Ryan Bugden
0f840042e1 Allow axisOrdering to be set to zero
Fixes https://github.com/fonttools/fonttools/issues/3710
2024-12-03 15:22:13 -05:00
خالد حسني (Khaled Hosny)
eeaa499981
Merge pull request #3714 from fonttools/news
Bump version to 4.55.2.dev0
2024-12-03 19:33:29 +02:00
rsheeter
a1a69e40db Bump version: 4.55.1 → 4.55.2.dev0 2024-12-03 08:33:18 -08:00
rsheeter
383fc3fad7 Release 4.55.1 2024-12-03 08:33:18 -08:00
Nathan Williis
993b007fc1 Add qu2cu to docs structure. 2024-12-03 13:28:36 +00:00
Nathan Williis
10778cd2c2 Docs: update Sphinx config and refactor single-page module RSTs. 2024-12-03 13:20:06 +00:00
rsheeter
fbd89a0f55 Update NEWS.rst 2024-12-02 19:51:44 -07:00
Behdad Esfahbod
1773f7b0ad [ttGlyphSet] Support VARC CFF2 fonts 2024-12-02 13:59:39 -07:00
pyup-bot
c07c092234 Update pyobjc from 10.3.1 to 10.3.2 2024-12-02 16:49:48 +01:00
Colin Rofls
d6f3c51895 [varLib] "Fix" cython iup issue?
In some cases we were seeing different output from iup depending on
whether or not we were running cython code.

I've tracked this particular issue down to the line that is changed in
this diff, and the change introduced in this diff does (locally, for me,
on one machine with one architecture and one compiler) seem to suppress
the problem.

However... it feels pretty bad??

I'm not sure how motivated I am to try and generate a proper minimal
test case and try to get this fixed upstream. I guess I'm.. medium
motivated? But at the very least it would be nice to figure out a more
robust way to prevent this optimization from happening, and at the very
_very_ least it would be nice to figure out away to test this.

The solution I was hoping for was some way to write some actual
hand-written C so we could have finer-grained control over what's going
on, and use that just for this one little bit of arithmetic, but I
didn't see an easy way to do that.
2024-11-27 23:07:39 -07:00
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
dependabot[bot]
2b6ee5aaed
Bump codecov/codecov-action from 4 to 5
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 19:17:54 +00: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