Khaled Hosny
f7ecc6fe65
[removeOverlaps] Add test for handling CFF.Private.nominalWidthX
...
The test currently fails because we don’t take CFF.Private.nominalWidthX
into account when creating new CharString after overlap removal.
2024-10-12 01:21:59 +03:00
Behdad Esfahbod
e8146a6d07
[glyf] Add optimizeSize option
...
Set to True by default. Can be turned to False on the table,
or at Glyph() compile time.
Also fixes Glyph's draw() to expand the glyph first. Otherwise
it was failing.
2024-10-11 08:31:31 -06:00
Hoolean
871f1be53b
Build, test, and show support for Python 3.13
...
This commit repeats at least some of the steps we took for 3.12:
- 9b1dae4765b419778f8721caf9d0a6e05c2758eb
- eda6fa5cfbdfaf1d54cf391ed9c86b72288882a2
2024-10-07 22:28:58 +01:00
خالد حسني (Khaled Hosny)
afceebcda5
Merge pull request #3655 from fonttools/dependabot/github_actions/pypa/gh-action-pypi-publish-1.10.3
...
Bump pypa/gh-action-pypi-publish from 1.10.2 to 1.10.3
2024-10-07 22:31:43 +03:00
dependabot[bot]
52aea0940d
Bump pypa/gh-action-pypi-publish from 1.10.2 to 1.10.3
...
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish ) from 1.10.2 to 1.10.3.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases )
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.10.2...v1.10.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-10-07 19:04:38 +00:00
خالد حسني (Khaled Hosny)
a9da351307
Merge pull request #3654 from fonttools/pyup-scheduled-update-2024-10-07
...
Scheduled weekly dependency update for week 40
2024-10-07 19:18:50 +03:00
pyup-bot
04adc2805b
Update sympy from 1.13.2 to 1.13.3
2024-10-07 17:49:18 +02:00
pyup-bot
884b4476bb
Update glyphslib from 6.8.0 to 6.9.0
2024-10-07 17:49:18 +02:00
pyup-bot
9f6c538a51
Update uharfbuzz from 0.39.3 to 0.41.0
2024-10-07 17:49:17 +02:00
pyup-bot
f6a525b6d1
Update ufo2ft from 3.2.7 to 3.3.0
2024-10-07 17:49:16 +02:00
pyup-bot
80c03f11ea
Update scipy from 1.14.0 to 1.14.1
2024-10-07 17:49:16 +02:00
pyup-bot
86bced4c5f
Update freetype-py from 2.4.0 to 2.5.1
2024-10-07 17:49:15 +02:00
pyup-bot
9438969f84
Update freetype-py from 2.4.0 to 2.5.1
2024-10-07 17:49:14 +02:00
pyup-bot
842fcdd1d4
Update reportlab from 4.2.2 to 4.2.5
2024-10-07 17:49:14 +02:00
pyup-bot
eae569710e
Update sphinx_rtd_theme from 2.0.0 to 3.0.0
2024-10-07 17:49:13 +02:00
pyup-bot
0862110c03
Update sphinx from 7.4.3 to 8.0.2
2024-10-07 17:49:12 +02:00
Behdad Esfahbod
6c2cbc273d
[otConverters] Map int32
...
Unused. For completeness.
2024-10-07 06:08:35 -06:00
Behdad Esfahbod
0213bea88e
[TupleVariation] Option to optimize for loading speed, not size
2024-10-06 18:11:48 -06:00
خالد حسني (Khaled Hosny)
18ca57cad4
Merge pull request #3590 from fonttools/dependabot/github_actions/docker/setup-qemu-action-3.2.0
...
Bump docker/setup-qemu-action from 3.1.0 to 3.2.0
2024-10-04 14:02:54 +03:00
Behdad Esfahbod
682d72ab6a
Merge pull request #3641 from ftCLI/ttf2otf
...
Add TTF2OTF snippet
2024-09-29 09:19:53 -06:00
ftCLI
1fbc897f9f
Run black
2024-09-29 11:44:16 +02:00
ftCLI
fd2f34285f
Merge branch 'main' into ttf2otf
2024-09-28 11:09:50 +02:00
ftCLI
94cb4f9733
Refactor ttf2otf
...
Replaced Click with argparse.
Updated docstring with usage examples.
Modified logging to use warnings for conversion failures.
2024-09-28 08:15:31 +02:00
Behdad Esfahbod
0c38f86da9
[MultiVarStore] Remove unused optimize parameter
2024-09-25 09:30:39 -06:00
Simon Cozens
ae96a6d374
Fix cut-and-paste error
2024-09-25 06:34:31 -06:00
n8willis
ff78d5a161
Merge pull request #3637 from n8willis/docs-ufoLib
...
Docs: ufoLib and misc updates
2024-09-25 11:27:46 +01:00
Khaled Hosny
47c1edbee5
Bump version: 4.54.1 → 4.54.2.dev0
2024-09-24 17:15:33 +03:00
Khaled Hosny
112ace8189
Release 4.54.1
2024-09-24 17:15:32 +03:00
Khaled Hosny
7fe5eb0d01
Update Changelog
2024-09-24 17:14:41 +03:00
ftCLI
d4f89c43b2
Merge branch 'fonttools:main' into ttf2otf
2024-09-24 11:47:04 +02:00
خالد حسني (Khaled Hosny)
510153f9ec
Merge pull request #3647 from fonttools/dependabot/github_actions/pypa/gh-action-pypi-publish-1.10.2
...
Bump pypa/gh-action-pypi-publish from 1.10.1 to 1.10.2
2024-09-23 22:34:03 +03:00
dependabot[bot]
1223694ae5
Bump pypa/gh-action-pypi-publish from 1.10.1 to 1.10.2
...
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish ) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases )
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.10.1...v1.10.2 )
---
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-09-23 19:27:12 +00:00
Mark Elliot
4cd0b0d87d
Escape \
in subset docs
2024-09-23 12:42:15 -06:00
Behdad Esfahbod
10a61ef7de
Update to Unicode 16
2024-09-23 08:46:56 -06:00
Nikolaus Waxweiler
6af41afddf
Bump version: 4.54.0 → 4.54.1.dev0
2024-09-23 15:22:33 +01:00
Nikolaus Waxweiler
5429a6c7a4
Release 4.54.0
2024-09-23 15:22:33 +01:00
Nikolaus Waxweiler
cbc350df2e
Update Changelog
2024-09-23 15:22:31 +01:00
ftCLI
09df5fcc02
Merge branch 'fonttools:main' into ttf2otf
2024-09-23 09:14:08 +02:00
Nathan Williis
1014b2ff3b
Docs: reword cfflib text
2024-09-18 14:49:50 +01:00
Nathan Williis
499101df90
Docs: pens; formatting.
2024-09-17 17:36:33 +01:00
Nathan Williis
909da9680b
docs: pens - add preliminary intro section.
2024-09-17 17:24:45 +01:00
Nathan Williis
69cecfaa10
Docs: cffLib, minor updates.
2024-09-17 17:23:44 +01:00
Nathan Williis
3cafab8d50
Docs: reconfigure ufoLib documentation.
2024-09-17 17:11:39 +01:00
Nathan Williis
c6c9ea405e
Docs: use by-source order for autodoc consistently.
2024-09-16 12:59:30 +01:00
Nathan Williis
e1b51fb7c4
Docs: set default highlight language to Python.
2024-09-16 12:49:12 +01:00
Nathan Williis
d80b8dbc89
Docs, minor: add regularized title text to all modules.
2024-09-16 12:48:15 +01:00
n8willis
63611d4474
Merge pull request #3627 from n8willis/docs-cleanup
...
Docs: clean up various code blocks in docstrings, to enable correct syntax highlighting in HTML / RTD output.
2024-09-16 10:40:05 +01:00
Harry Dalton
a43def09c2
Add regression test for #3634
...
ttx is based on reproduction process in initial issue.
2024-09-15 12:10:29 -07:00
Harry Dalton
07351d12e6
Fix visual artefacts with partial L2 instancing
...
Closes #3634
To produce inferred deltas that will be correct given OpenType's gvar
semantics, fontTool's IUP optimisation module checks the equality of
some points. However, this happens before the points are rounded,
whereas the point comparison that happens at runtime will occur after
the points are rounded (as is necessary to serialise glyf), which leads
to diverging semantics and so diverging and incorrect implied deltas.
This leads to significant visual artefacts, e.g. where large deltas that
should be inferred based on previous values are instead interpreted as 0
at runtime.
I suspect this has gone undetected as the subsetter normally works with
rounded points; in the rarer case that partial VF instancing is
occurring with a different default position, however, varLib.instancer
will calculate and apply the relevant deltas to the font's original
coordinates to effect the new default position, which leads to unrounded
points in memory. This commit ensures that we round directly before
optimising (but still after calculating `glyf` metrics, for backward
compatibility).
2024-09-15 12:10:29 -07:00
ftCLI
9f7025af8f
Merge branch 'fonttools:main' into ttf2otf
2024-09-12 08:51:52 +02:00