12166 Commits

Author SHA1 Message Date
Behdad Esfahbod
ce534ac74a
Merge pull request #3598 from fonttools/avar2-reconstruct-mappings
[varLib.avar] Reconstruct mappings from binary
2024-08-30 11:04:20 -06:00
Behdad Esfahbod
dab890e681 [varLib.avar] Add another test 2024-08-30 08:46:50 -07:00
Behdad Esfahbod
8d58f7f730 [varLib.avar] Add roundtrip test
Fails currently.
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
132654c9e5 [varLib.avar] Comment 2024-08-30 08:46:50 -07:00
Behdad Esfahbod
2742c6287c [varLib.avar] Test & fix _pruneLocations 2024-08-30 08:46:50 -07:00
Behdad Esfahbod
700b6a7b0e [varLib.avar] Refactor code
So we can test it.
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
65ab19468d [varLib.avar] Comments and a bug fix
Code was in wrong block.
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
bd76b4a24b [varLib.avar] Handle default location mapping somewhere else 2024-08-30 08:46:50 -07:00
Behdad Esfahbod
34e38c3d03 [varLib.avar] Do less work
No need to compute outputLocation for unneeded inputLocations.
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
9f19a19c4e [varLib.avar] Introduce base master earlier 2024-08-30 08:46:50 -07:00
Behdad Esfahbod
b8306b1d82 [varLib.avar] Fix normalization
And see if I can make it deterministic. It still isn't.
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
cb031514ea [varLib.avar] Try dropping unnecessary "masters"
Untested, as I don't have a test font that exercises this.
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
e606adfffe [varLib.avar] Add peakLocation as well, oops 2024-08-30 08:46:50 -07:00
Behdad Esfahbod
0127a235af [varLib.avar] Don't require a full .designspace with sources 2024-08-30 08:46:50 -07:00
Behdad Esfahbod
297f73aeaf [varLib.avar] Err, don't drop empty pins
https://github.com/fonttools/fonttools/issues/3086#issuecomment-2263626285
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
40f6760e8a [varLib.avar] Don't clamp values
https://github.com/fonttools/fonttools/pull/3598#issuecomment-2266082009
2024-08-30 08:46:50 -07:00
Behdad Esfahbod
150d4fc195 [varLib.avar] Sketch of code to reconstruct mappings from binary
https://github.com/Lorp/fencer/issues/25
2024-08-30 08:46:50 -07:00
n8willis
770917d89e
Merge pull request #3611 from n8willis/docs-cleanup
Small docs cleanups
2024-08-21 17:34:52 +01:00
Behdad Esfahbod
ecd2d8e559 [Tests] Do not require fonttools command to be available
I typically run tests like:

$ python setup.py build_ext -i && PYTHONPATH=Lib pytest

Previously, this particular test and only this, required
that a `pip install -e .` has had happened. Not anymore.
2024-08-20 10:58:55 -06:00
Nathan Williis
1781cf8f75 Docs, minor: reformat line for lint GH action. 2024-08-20 17:00:52 +01:00
Nathan Williis
868f50daf4 Pin the Sphinx dependency to v7; v8 breaks the RTD theme. See issue #3606 2024-08-20 16:15:50 +01:00
Nathan Williis
6f7d949d5c Docs: update Sphinx config, to show inheritance. This should simplify cross-module readability, and also makes errors caused by autodoc easier to spot. 2024-08-20 16:14:46 +01:00
Nathan Williis
31b5ce1f8e Docs, minor: fix Sphinx warnings. 2024-08-20 16:12:00 +01:00
Behdad Esfahbod
0c2652011e [varLib.models] By default, assume OpenType-like normalized space
See:
https://github.com/fonttools/fonttools/pull/2846#issuecomment-2267750076

I *think* this is an improvement, and no one should have been relying
on the broken existing behavior.

Docs need updating.
2024-08-16 18:45:08 -06:00
Behdad Esfahbod
ead2a18d4b [varLib.interpolatable] Support discrete axes in .designspace
Fixes https://github.com/fonttools/fonttools/issues/3597
2024-08-16 12:14:30 -06:00
Nathan Williis
6ec2b67152 Remove duplicate sidebar entries for ttLib.ttFont.TTFont and .GlyphOrder. 2024-08-15 11:32:05 +01:00
خالد حسني (Khaled Hosny)
16dbe3f5e2
Merge pull request #3604 from fonttools/pyup-scheduled-update-2024-08-12
Scheduled weekly dependency update for week 32
2024-08-12 19:03:20 +03:00
pyup-bot
7220fcbdc7 Update sympy from 1.13.0 to 1.13.2 2024-08-12 16:49:08 +01:00
pyup-bot
c6aef32488 Update lxml from 5.2.2 to 5.3.0 2024-08-12 16:49:08 +01:00
pyup-bot
6f358c7202 Update glyphslib from 6.7.1 to 6.8.0 2024-08-12 16:49:07 +01:00
pyup-bot
ca175df7bc Update ufo2ft from 3.2.5 to 3.2.7 2024-08-12 16:49:06 +01:00
pyup-bot
d4f79043aa Update black from 24.4.2 to 24.8.0 2024-08-12 16:49:05 +01:00
pyup-bot
599f3398de Update sphinx from 7.4.3 to 8.0.2 2024-08-12 16:49:05 +01:00
ftCLI
8aebeeb7d7
Merge branch 'fonttools:main' into ttf2otf 2024-08-12 08:46:27 +02:00
Behdad Esfahbod
45bd0637bd [varLib.interpolatable]
Fix master name formatting.

https://github.com/fonttools/fonttools/pull/3599#issuecomment-2269372640
2024-08-05 09:44:59 -06:00
dependabot[bot]
88759123a2
Bump docker/setup-qemu-action from 3.1.0 to 3.2.0
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v3.1.0...v3.2.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>
2024-07-22 19:01:40 +00:00
David Jones
aa2d9196c0 Lift .get("hex") out of try:; and avoid re-evaluating it 2024-07-18 19:29:41 +01:00
Behdad Esfahbod
ba20aa2f56 [merge] Format 2024-07-18 12:05:46 -06:00
David Jones
4214a66405 Minor fixes to documentation for merge 2024-07-18 12:04:59 -06:00
خالد حسني (Khaled Hosny)
b096ff7b3c
Merge pull request #3583 from fonttools/dependabot/github_actions/docker/setup-qemu-action-3.1.0
Bump docker/setup-qemu-action from 3.0.0 to 3.1.0
2024-07-15 19:17:43 +03:00
خالد حسني (Khaled Hosny)
59b7f12516
Merge pull request #3586 from fonttools/pyup-scheduled-update-2024-07-15
Scheduled weekly dependency update for week 28
2024-07-15 19:17:21 +03:00
pyup-bot
1e4ca6d70e Update sympy from 1.12.1 to 1.13.0 2024-07-15 17:50:07 +02:00
pyup-bot
c1253594da Update sphinx from 7.3.7 to 7.4.3 2024-07-15 17:50:06 +02:00
dependabot[bot]
2b93a1d2a2
Bump docker/setup-qemu-action from 3.0.0 to 3.1.0
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v3.0.0...v3.1.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>
2024-07-08 19:24:28 +00:00
Simon Cozens
647abe70a9 Bump version: 4.53.1 → 4.53.2.dev0 2024-07-05 13:03:28 +01:00
Simon Cozens
d3e68f28f2 Release 4.53.1 2024-07-05 13:03:27 +01:00
Simon Cozens
f676472ff3 Test for visitor inheritance 2024-07-03 06:48:38 -06:00
Simon Cozens
3546b9f06d Search the object's MRO for visitors 2024-07-03 06:48:38 -06:00
خالد حسني (Khaled Hosny)
ee56bb0eda
Merge pull request #3578 from fonttools/pyup-scheduled-update-2024-07-01
Scheduled weekly dependency update for week 26
2024-07-02 21:35:04 +03:00
pyup-bot
7f473e157e Update uharfbuzz from 0.39.1 to 0.39.3 2024-07-01 16:50:07 +01:00