12113 Commits

Author SHA1 Message Date
dependabot[bot]
ec71775e7a
Bump docker/setup-qemu-action from 3.2.0 to 3.3.0
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 19:30:26 +00:00
Simon Cozens
cb159dea72
Black (#3736) 2025-01-07 08:23:24 +00:00
梁海 Liang Hai
b497b5de60
Correct docstring of AlternateSubstStatement (#3735) 2025-01-07 07:31:08 +00:00
Harry Dalton
ef07e3b2cc Add further type annotations 2025-01-03 13:16:17 -07:00
Harry Dalton
2865d19ff0 Remove redundant inline imports
Since the addition of `DecomposedTransform`, we have had a top-level
import of `math` to depend on.
2025-01-03 13:16:17 -07:00
Harry Dalton
0b3ac6e9ae Merge tests with the same name, to prevent one being obscured 2025-01-03 13:16:17 -07:00
Harry Dalton
c00bc6fecf Explicitly type arguments that are more liberal than their default value
This avoids pitfalls from type checkers having to work with limited
information, e.g., a type checker may implicitly assume that only
integers are expected where a default value is 1, whereas in reality any
float is accepted.
2025-01-03 13:16:17 -07:00
Rod S
7e374c53da Bump version: 4.55.3 → 4.55.4.dev0 2024-12-10 12:59:30 -08:00
Rod S
8e5c1bf7e9 Release 4.55.3 2024-12-10 12:59:30 -08:00
Rod
460b530f67
Merge pull request #3731 from fonttools/news
Update news to prepare for release
2024-12-10 12:58:22 -08:00
Rod S
e507e7c39d Update news to prepare for release 2024-12-10 12:48:33 -08:00
Colin Rofls
4b9f5ef605 [feaLib] More efficient inline format 4 lookups
With this patch we will now reuse lookups more frequently when a
contextual lookup has inline ligature substitution rules.
2024-12-10 09:51:05 -07:00
Behdad Esfahbod
1be0440c55 [Tests] Don't compare numbers with "is" 2024-12-10 02:28:51 -07:00
خالد حسني (Khaled Hosny)
7ad7cfd058
Merge pull request #3725 from fonttools/dependabot/github_actions/pypa/gh-action-pypi-publish-1.12.3
Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3
2024-12-09 21:57:37 +02:00
dependabot[bot]
2abf8372f2
Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.12.2 to 1.12.3.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.12.2...v1.12.3)

---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-09 19:45:08 +00:00
n8willis
02cc44530b
Merge pull request #3716 from n8willis/master
[Docs] Fill out ttLib table section. Part of a bottom-up docs rework for ttLib.

Note that 23546cf changes the `import`s for ttLib/tables/_g_v_a_r.py to un-confuse autodoc.
2024-12-06 12:16:54 +00:00
Nathan Williis
23546cfaa9 [Docs] Import TupeVariation class directly in gvar table module. Fixes a Sphinx autodoc confusion. 2024-12-06 11:38:09 +00:00
Nathan Williis
314eee05c7 [Docs] Fix docstring typo in gcid table module. 2024-12-06 11:37:17 +00:00
Nathan Williis
dcb6f22693 Docs, add crossreferences to bitmap-table-helper-module docs rather than duplicating automodule directives. 2024-12-05 16:07:38 +00:00
Khaled Hosny
eb305519a8 Bump version: 4.55.2 → 4.55.3.dev0 2024-12-05 15:46:27 +02:00
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
Nathan Williis
ebb2b9cd94 Docs, tables. Add pages for various helper and ancillary modules. 2024-12-04 16:04:51 +00:00
Nathan Williis
1fda9c5387 Docs, update table-index page. 2024-12-04 16:03:40 +00:00
Nathan Williis
ff158055f1 Docs: ttLib, update table-converter pages with consistent structure and text. 2024-12-04 16:02:48 +00:00
Nathan Williis
e5eb053105 Docs: add boilerplate docstrings to table converters. Mostly links to reference specs. 2024-12-04 15:58:46 +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