12177 Commits

Author SHA1 Message Date
Cosimo Lupo
70fb77884c
Merge pull request #3719 from fonttools/statisticsControlPen-fix
[StatisticsControlPen] Fix uninitialized variable
2025-01-21 14:03:04 +00:00
Cosimo Lupo
49cd3c3265
Merge pull request #3732 from andrewsuzuki/fix-name-table-names-attr
Ensure names attr exists on table__n_a_m_e
2025-01-21 14:00:44 +00:00
Cosimo Lupo
e0022ded22
Merge pull request #3743 from cmyr/bez-split-robustness
[bezierTools] Improve robustness of curve splitting
2025-01-21 13:55:05 +00:00
Colin Rofls
fc32bca017 [bezierTools] Improve robustness of splitCubicAtT 2025-01-17 12:20:29 -05:00
خالد حسني (Khaled Hosny)
8d3b990097
Merge pull request #3739 from fonttools/dependabot/github_actions/docker/setup-qemu-action-3.3.0
Bump docker/setup-qemu-action from 3.2.0 to 3.3.0
2025-01-14 16:42:17 +02:00
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
Andrew Suzuki
68dbfba5c4 Ensure names attr exists on table__n_a_m_e 2024-12-22 10:44:06 -05: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
Nathan Williis
1b6b5872bb Black. 2024-12-07 17:23:09 +00:00
Nathan Williis
9f833fe518 Beef up TTFont and glyphSet explanations. 2024-12-07 17:00:01 +00:00
Nathan Williis
ba77dbe696 Fix broken code block syntax. 2024-12-07 16:58:58 +00:00
Nathan Williis
7d5c516b9a Fix broken list in bfs_base_table docstring. 2024-12-07 16:58:12 +00:00
Nathan Williis
97d11e0c92 Docs: add an explanation of ttGlyphSet glyphs. 2024-12-07 16:34:53 +00:00
Nathan Williis
3584705ea2 [Docs] Fix docstring formatting. 2024-12-06 14:05:31 +00:00
Nathan Williis
19f8ad5bf4 [Docs] Update ttLib documentation 2024-12-06 14:04:27 +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
Behdad Esfahbod
d533e8bd39 [StatisticsControlPen] Fix uninitialized variable
An open contour was hitting this because _startingPoint wasn't
set.

Fixes https://github.com/fonttools/fonttools/issues/3527
2024-12-05 14:19:08 -07: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