11081 Commits

Author SHA1 Message Date
Cosimo Lupo
797c0018a0
Merge pull request #3333 from fonttools/fix-empty-composite-bbox
[glyf] skip empty components when computing bounds of composite glyphs
2023-11-14 17:02:51 +00:00
Cosimo Lupo
4610bf39e3
[glyf] skip empty components when computing bounds of composite glyphs 2023-11-14 16:47:20 +00:00
Behdad Esfahbod
4a4f1b89d8 [interpolatable] Simplify previous commit 2023-11-14 09:40:37 -07:00
Behdad Esfahbod
1e06fd2b1d [varLib.interpolatable] Print user axis values instead of normalized 2023-11-14 09:33:28 -07:00
Cosimo Lupo
aaed718e41
[glyf_test] Test that composite referencing empty glyph also gets zero bounds
Add reproducer for possible regression in Glyph.recalcBounds introduced with https://github.com/fonttools/fonttools/pull/3301
2023-11-14 16:30:26 +00:00
Behdad Esfahbod
64279c3d85 [varLib.models] Export piecewiseLinearMap() 2023-11-14 09:21:11 -07:00
Behdad Esfahbod
4d640046b2 [svgPathPen] Accept float axis locations 2023-11-14 09:10:09 -07:00
Behdad Esfahbod
478e009a4e [interpolatable] Change --verbose to INFO 2023-11-14 08:47:27 -07:00
Behdad Esfahbod
fd4c0cef26 [interpolatable] Add --verbose
Mostly to return how many masters it's working on,
as per request by Marianna.
2023-11-14 08:46:32 -07:00
Cosimo Lupo
3d6a55d536
Bump version: 4.44.1 → 4.44.2.dev0 2023-11-14 12:32:37 +00:00
Cosimo Lupo
90649fced9
Release 4.44.1 2023-11-14 12:32:35 +00:00
Cosimo Lupo
92f85f2189
Update NEWS.rst 2023-11-14 12:32:30 +00:00
Simon Cozens
4c60c5f3ba
Clone variable mark anchor before building (#3330)
* Copy mark anchor before OTifying

* Add test for variable mark anchor
2023-11-13 16:43:55 +00:00
خالد حسني (Khaled Hosny)
3b90398696
Merge pull request #3328 from fonttools/recalc-codepages
Support calculating OS/2.ulCodePageRange* bits
2023-11-11 11:39:02 +02:00
Khaled Hosny
28735a6d0a [subset] Add --prune-codepage-ranges 2023-11-11 01:54:00 +02:00
Khaled Hosny
be8ec35934 [OS/2] Add recalcCodePageRanges
Ported from the ufo2ft code (which is port from FontForge code), with
some additional functions for parity with recalcUnicodeRanges.
2023-11-11 01:54:00 +02:00
خالد حسني (Khaled Hosny)
6fa1a76e06
Merge pull request #3255 from fonttools/dependabot/github_actions/pypa/gh-action-pypi-publish-1.8.10
Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10
2023-11-05 14:48:20 +02:00
خالد حسني (Khaled Hosny)
7b2d8b9463
Merge pull request #3271 from fonttools/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-11-05 14:48:01 +02:00
خالد حسني (Khaled Hosny)
64c4ff08eb
Merge pull request #3278 from fonttools/dependabot/github_actions/docker/setup-qemu-action-3.0.0
Bump docker/setup-qemu-action from 2.2.0 to 3.0.0
2023-11-05 14:47:30 +02:00
Cosimo Lupo
86521547f8
Bump version: 4.44.0 → 4.44.1.dev0 2023-11-03 11:08:40 +00:00
Cosimo Lupo
4c647091a7
Release 4.44.0 2023-11-03 11:08:39 +00:00
Cosimo Lupo
5c6fe718bd
Update NEWS.rst [skip ci] 2023-11-03 11:05:49 +00:00
Cosimo Lupo
db7d9ea6bc
Merge pull request #3325 from fonttools/unicode-15-1
[setup.py] require unicodedata2>=15.1.0 for Unicode 15.1
2023-11-03 10:45:40 +00:00
Cosimo Lupo
e1b0dab9d2 [ci] test on pypy3.9
pypy3.8 segfaulted for some reasons... Don't have time to investigate. Anyway, only pypy3.9 and 3.10 are listed on PyPy website's official download page currently so I suppose we should just test on 3.9 as the minimum pypy3
2023-11-03 10:40:58 +00:00
Cosimo Lupo
6d43bd7e11 [setup.py] require unicodedata2>=15.1.0 for Unicode 15.1 2023-11-03 10:33:09 +00:00
Cosimo Lupo
53e71f9eb7
Merge pull request #3309 from fonttools/pyup-scheduled-update-2023-10-23
Scheduled weekly dependency update for week 43
2023-11-03 10:33:00 +00:00
Cosimo Lupo
335a1e56ec re-run black v23.10 on all .py files 2023-11-03 10:25:15 +00:00
Cosimo Lupo
d210cc5ac1 requirements.txt: tell pyup bot to keep scipy pinned for py3.8 2023-11-03 10:15:23 +00:00
Cosimo Lupo
74da89beeb
Merge pull request #3317 from fonttools/instantiate-avgcharwidth
Recalc avgcharwidth after instancing
2023-11-03 10:12:07 +00:00
Simon Cozens
71e991b87f Fixup expectations 2023-11-02 17:28:13 +00:00
Cosimo Lupo
9a46f9d3ab
Merge pull request #3324 from fonttools/otllib-sort-classes
[otlLib] make ClassDefBuilder class order match varLib.merger's
2023-11-02 16:47:06 +00:00
Cosimo Lupo
2c07619344 [otlLib] make ClassDefBuilder class order match varLib.mergers
see https://github.com/fonttools/fonttools/blob/c3d876/Lib/fontTools/misc/classifyTools.py#L77

i.e. we want (large classes first, then lexicographic order on the glyphs); previously otlLib was sorting by the _reverse_ of (small classes first, then glyphs lexicographic order) -- effectively comparing the reverse of the glyph sets of classes of the same size.

Fixes https://github.com/fonttools/fonttools/issues/3321

note the ttx dump of previously built fonts may change but there won't be any functional changes.
2023-11-02 16:36:48 +00:00
Behdad Esfahbod
ae69e9e8be
[instancer] Allow relaxed limits syntax (#3323)
* [instancer] Allow relaxed limits syntax

Fixes https://github.com/fonttools/fonttools/issues/3322

Co-authored-by: Cosimo Lupo <clupo@google.com>
2023-11-02 10:22:23 -06:00
Behdad Esfahbod
2d9b80acd1 [instancer] Remove unused import 2023-11-01 15:11:56 -06:00
Behdad Esfahbod
c3d8768346 [interpolatable] Oops, fix tests 2023-10-31 09:00:00 -06:00
Behdad Esfahbod
99da7bf722 [interpolatable] Write out problems as they are discovered
Instead of writing them all at the end...
2023-10-31 08:54:33 -06:00
Behdad Esfahbod
cd31f0ce7b [interpolatable] Add test_gen that returns a generator 2023-10-31 08:45:08 -06:00
Behdad Esfahbod
6f867e9c6a [interpolatable] Use defaultdict instead of OrderedDict
Such that missing entries return [] instead of KeyError.
2023-10-31 08:41:28 -06:00
Simon Cozens
49570c3599
[instancer] Check if an axis has values before requiring it to be found (#3319)
* Check if an axis has values before requiring it to be found

* Add test
2023-10-31 08:21:34 +00:00
Simon Cozens
3573cd906b Recalc avgcharwidth after instancing 2023-10-30 10:11:31 +00:00
Cosimo Lupo
52414cc5f1
Merge pull request #3315 from qxliu76/format_fix
fix indentation
2023-10-27 19:05:16 +01:00
Qunxin Liu
38345e8a19 fix indentation 2023-10-27 11:00:38 -07:00
Cosimo Lupo
c79c9f5c6e
Merge pull request #3314 from qxliu76/bug_fix
[subset] fix another null-offset error in MarkLigPos
2023-10-27 18:52:18 +01:00
Qunxin Liu
62fcec4838 [subset] fix another null-offset error in MarkLigPos 2023-10-27 10:51:11 -07:00
Cosimo Lupo
92cbfee0d0
[Debg] in toXML, dump the JSON as multi-line string with indentation
the table is for debugging, so let's make it easier for human-beings to read its content when dumped to TTX
2023-10-26 14:56:29 +01:00
Nikolaus Waxweiler
541c6cd201
Merge pull request #3298 from fonttools/dslib-accept-always-on-rules
designspaceLib: Accept empty condition sets
2023-10-26 10:05:30 +01:00
خالد حسني (Khaled Hosny)
0782ca0a20
Merge pull request #3313 from fonttools/issue-3311
Fix SyntaxWarning in Python 3.12
2023-10-25 15:45:18 +03:00
Khaled Hosny
48da520472 Fix SyntaxWarning in Python 3.12
Fixes https://github.com/fonttools/fonttools/issues/3311
2023-10-25 14:34:27 +03:00
Cosimo Lupo
4b73a17e0c
[cff.specializer] Fix SyntaxWarning: invalid escape sequence
Fixes #3322
2023-10-25 10:33:31 +01:00
Behdad Esfahbod
5cd2b1cc50 [varStore] Document sorting 2023-10-24 12:47:58 -06:00