[wpt-sync] Sync PR 43190 - Bump fonttools from 4.39.4 to 4.44.3 in /tools
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(Not tracked)
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 43190 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/43190
Details from upstream follow.
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> wrote:
Bump fonttools from 4.39.4 to 4.44.3 in /tools
Bumps fonttools from 4.39.4 to 4.44.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/fonttools/fonttools/releases">fonttools's releases</a>.</em></p>
<blockquote>
<h2>4.44.3</h2>
<ul>
<li>[subset] Only prune codepage ranges for OS/2.version >= 1, ignore otherwise (<a href="https://redirect.github.com/fonttools/fonttools/issues/3334">#3334</a>).</li>
<li>[instancer] Ensure hhea vertical metrics stay in sync with OS/2 ones after instancing MVAR table containing 'hasc', 'hdsc' or 'hlgp' tags (<a href="https://redirect.github.com/fonttools/fonttools/issues/3297">#3297</a>).</li>
</ul>
<h2>4.44.2</h2>
<ul>
<li>[glyf] Have <code>Glyph.recalcBounds</code> skip empty components (base glyph with no contours) when computing the bounding box of composite glyphs. This simply restores the existing behavior before some changes were introduced in fonttools 4.44.0 (<a href="https://redirect.github.com/fonttools/fonttools/issues/3333">#3333</a>).</li>
</ul>
<h2>4.44.1</h2>
<ul>
<li>[feaLib] Ensure variable mark anchors are deep-copied while building since they get modified in-place and later reused (<a href="https://redirect.github.com/fonttools/fonttools/issues/3330">#3330</a>).</li>
<li>[OS/2|subset] Added method to <code>recalcCodePageRanges</code> to OS/2 table class; added <code>--prune-codepage-ranges</code> to <code>fonttools subset</code> command (<a href="https://redirect.github.com/fonttools/fonttools/issues/3328">#3328</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/2607">#2607</a>).</li>
</ul>
<p>NOTE: this release was "yanked" from PyPI because it introduced a regression: <a href="https://redirect.github.com/fonttools/fonttools/issues/3334">fonttools/fonttools#3334</a></p>
<h2>4.44.0</h2>
<ul>
<li>[instancer] Recalc OS/2 AvgCharWidth after instancing if default changes (<a href="https://redirect.github.com/fonttools/fonttools/issues/3317">#3317</a>).</li>
<li>[otlLib] Make ClassDefBuilder class order match varLib.merger's, i.e. large classes first, then glyph lexicographic order (<a href="https://redirect.github.com/fonttools/fonttools/issues/3321">#3321</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/3324">#3324</a>).</li>
<li>[instancer] Allow not specifying any of min:default:max values and let be filled up with fvar's values (<a href="https://redirect.github.com/fonttools/fonttools/issues/3322">#3322</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/3323">#3323</a>).</li>
<li>[instancer] When running --update-name-table ignore axes that have no STAT axis values (<a href="https://redirect.github.com/fonttools/fonttools/issues/3318">#3318</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/3319">#3319</a>).</li>
<li>[Debg] When dumping to ttx, write the embedded JSON as multi-line string with indentation (92cbfee0d).</li>
<li>[varStore] Handle > 65535 items per encoding by splitting VarData subtable (<a href="https://redirect.github.com/fonttools/fonttools/issues/3310">#3310</a>).</li>
<li>[subset] Handle null-offsets in MarkLigPos subtables.</li>
<li>[subset] Keep East Asian spacing fatures vhal, halt, chws, vchw by default (<a href="https://redirect.github.com/fonttools/fonttools/issues/3305">#3305</a>).</li>
<li>[instancer.solver] Fixed case where axisDef < lower and upper < axisMax (<a href="https://redirect.github.com/fonttools/fonttools/issues/3304">#3304</a>).</li>
<li>[glyf] Speed up compilation, mostly around <code>recalcBounds</code> (<a href="https://redirect.github.com/fonttools/fonttools/issues/3301">#3301</a>).</li>
<li>[varLib.interpolatable] Speed it up when working on variable fonts, plus various micro-optimizations (<a href="https://redirect.github.com/fonttools/fonttools/issues/3300">#3300</a>).</li>
<li>Require unicodedata2 >= 15.1.0 when installed with 'unicode' extra, contains UCD 15.1.</li>
</ul>
<h2>4.43.1</h2>
<ul>
<li>[EBDT] Fixed TypeError exception in <code>_reverseBytes</code> method triggered when dumping some bitmap fonts with <code>ttx -z bitwise</code> option (<a href="https://redirect.github.com/fonttools/fonttools/issues/3162">#3162</a>).</li>
<li>[v/hhea] Fixed UnboundLocalError exception in <code>recalc</code> method when no vmtx or hmtx tables are present (<a href="https://redirect.github.com/fonttools/fonttools/issues/3290">#3290</a>).</li>
<li>[bezierTools] Fixed incorrectly typed cython local variable leading to TypeError when calling <code>calcQuadraticArcLength</code> (<a href="https://redirect.github.com/fonttools/fonttools/issues/3288">#3288</a>).</li>
<li>[feaLib/otlLib] Better error message when building Coverage table with missing glyph (<a href="https://redirect.github.com/fonttools/fonttools/issues/3286">#3286</a>).</li>
</ul>
<h2>4.43.0</h2>
<ul>
<li>[subset] Set up lxml <code>XMLParser(resolve_entities=False)</code> when parsing OT-SVG documents to prevent XML External Entity (XXE) attacks (9f61271dc): <a href="https://codeql.github.com/codeql-query-help/python/py-xxe/">https://codeql.github.com/codeql-query-help/python/py-xxe/</a></li>
<li>[varLib.iup] Added workaround for a Cython bug in <code>iup_delta_optimize</code> that was leading to IUP tolerance being incorrectly initialised, resulting in sub-optimal deltas (60126435d, <a href="https://redirect.github.com/cython/cython/issues/5732">cython/cython#5732</a>).</li>
<li>[varLib] Added new command-line entry point <code>fonttools varLib.avar</code> to add an <code>avar</code> table to an existing VF from axes mappings in a .designspace file (0a3360e52).</li>
<li>[instancer] Fixed bug whereby no longer used variation regions were not correctly pruned after VarData optimization (<a href="https://redirect.github.com/fonttools/fonttools/issues/3268">#3268</a>).</li>
<li>Added support for Python 3.12 (<a href="https://redirect.github.com/fonttools/fonttools/issues/3283">#3283</a>).</li>
</ul>
<h2>4.42.1</h2>
<ul>
<li>[t1Lib] Fixed several Type 1 issues (<a href="https://redirect.github.com/fonttools/fonttools/issues/3238">#3238</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/3240">#3240</a>).</li>
<li>[otBase/packer] Allow sharing tables reached by different offset sizes (<a href="https://redirect.github.com/fonttools/fonttools/issues/3241">#3241</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/3236">#3236</a>, 457f11c2).</li>
<li>[varLib/merger] Fix Cursive attachment merging error when all anchors are NULL (<a href="https://redirect.github.com/fonttools/fonttools/issues/3248">#3248</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/3247">#3247</a>).</li>
<li>[ttLib] Fixed warning when calling <code>addMultilingualName</code> and <code>ttFont</code> parameter was not passed on to <code>findMultilingualName</code> (<a href="https://redirect.github.com/fonttools/fonttools/issues/3253">#3253</a>).</li>
</ul>
<h2>4.42.0</h2>
<ul>
<li>[varLib] Use sentinel value 0xFFFF to mark a glyph advance in hmtx/vmtx as non participating, allowing sparse masters to contain glyphs for variation purposes other than {H,V}VAR (<a href="https://redirect.github.com/fonttools/fonttools/issues/3235">#3235</a>).</li>
<li>[varLib/cff] Treat empty glyphs in non-default masters as missing, thus not participating in CFF2 delta computation, similarly to how varLib already treats them for gvar (<a href="https://redirect.github.com/fonttools/fonttools/issues/3234">#3234</a>).</li>
<li>Added varLib.avarPlanner script to deduce 'correct' avar v1 axis mappings based on glyph average weights (<a href="https://redirect.github.com/fonttools/fonttools/issues/3223">#3223</a>).</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/fonttools/fonttools/blob/main/NEWS.rst">fonttools's changelog</a>.</em></p>
<blockquote>
<h2>4.44.3 (released 2023-11-15)</h2>
<ul>
<li>[subset] Only prune codepage ranges for OS/2.version >= 1, ignore otherwise (<a href="https://redirect.github.com/fonttools/fonttools/issues/3334">#3334</a>).</li>
<li>[instancer] Ensure hhea vertical metrics stay in sync with OS/2 ones after instancing
MVAR table containing 'hasc', 'hdsc' or 'hlgp' tags (<a href="https://redirect.github.com/fonttools/fonttools/issues/3297">#3297</a>).</li>
</ul>
<h2>4.44.2 (released 2023-11-14)</h2>
<ul>
<li>[glyf] Have <code>Glyph.recalcBounds</code> skip empty components (base glyph with no contours)
when computing the bounding box of composite glyphs. This simply restores the existing
behavior before some changes were introduced in fonttools 4.44.0 (<a href="https://redirect.github.com/fonttools/fonttools/issues/3333">#3333</a>).</li>
</ul>
<h2>4.44.1 (released 2023-11-14)</h2>
<ul>
<li>[feaLib] Ensure variable mark anchors are deep-copied while building since they
get modified in-place and later reused (<a href="https://redirect.github.com/fonttools/fonttools/issues/3330">#3330</a>).</li>
<li>[OS/2|subset] Added method to <code>recalcCodePageRanges</code> to OS/2 table class; added
<code>--prune-codepage-ranges</code> to <code>fonttools subset</code> command (<a href="https://redirect.github.com/fonttools/fonttools/issues/3328">#3328</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/2607">#2607</a>).</li>
</ul>
<h2>4.44.0 (released 2023-11-03)</h2>
<ul>
<li>[instancer] Recalc OS/2 AvgCharWidth after instancing if default changes (<a href="https://redirect.github.com/fonttools/fonttools/issues/3317">#3317</a>).</li>
<li>[otlLib] Make ClassDefBuilder class order match varLib.merger's, i.e. large
classes first, then glyph lexicographic order (<a href="https://redirect.github.com/fonttools/fonttools/issues/3321">#3321</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/3324">#3324</a>).</li>
<li>[instancer] Allow not specifying any of min:default:max values and let be filled
up with fvar's values (<a href="https://redirect.github.com/fonttools/fonttools/issues/3322">#3322</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/3323">#3323</a>).</li>
<li>[instancer] When running --update-name-table ignore axes that have no STAT axis
values (<a href="https://redirect.github.com/fonttools/fonttools/issues/3318">#3318</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/3319">#3319</a>).</li>
<li>[Debg] When dumping to ttx, write the embedded JSON as multi-line string with
indentation (92cbfee0d).</li>
<li>[varStore] Handle > 65535 items per encoding by splitting VarData subtable (<a href="https://redirect.github.com/fonttools/fonttools/issues/3310">#3310</a>).</li>
<li>[subset] Handle null-offsets in MarkLigPos subtables.</li>
<li>[subset] Keep East Asian spacing fatures vhal, halt, chws, vchw by default (<a href="https://redirect.github.com/fonttools/fonttools/issues/3305">#3305</a>).</li>
<li>[instancer.solver] Fixed case where axisDef < lower and upper < axisMax (<a href="https://redirect.github.com/fonttools/fonttools/issues/3304">#3304</a>).</li>
<li>[glyf] Speed up compilation, mostly around <code>recalcBounds</code> (<a href="https://redirect.github.com/fonttools/fonttools/issues/3301">#3301</a>).</li>
<li>[varLib.interpolatable] Speed it up when working on variable fonts, plus various
micro-optimizations (<a href="https://redirect.github.com/fonttools/fonttools/issues/3300">#3300</a>).</li>
<li>Require unicodedata2 >= 15.1.0 when installed with 'unicode' extra, contains UCD 15.1.</li>
</ul>
<h2>4.43.1 (released 2023-10-06)</h2>
<ul>
<li>[EBDT] Fixed TypeError exception in <code>_reverseBytes</code> method triggered when dumping
some bitmap fonts with <code>ttx -z bitwise</code> option (<a href="https://redirect.github.com/fonttools/fonttools/issues/3162">#3162</a>).</li>
<li>[v/hhea] Fixed UnboundLocalError exception in <code>recalc</code> method when no vmtx or hmtx
tables are present (<a href="https://redirect.github.com/fonttools/fonttools/issues/3290">#3290</a>).</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/fonttools/fonttools/commit/e6d820e1be0961a66af8f344e0a1960986947b65"><code>e6d820e</code></a> Release 4.44.3</li>
<li><a href="https://github.com/fonttools/fonttools/commit/3fcc2b7cbb1104ef6ba576992269384259b789db"><code>3fcc2b7</code></a> Update NEWS.rst</li>
<li><a href="https://github.com/fonttools/fonttools/commit/64b2e5c9685de5864573abed9d7cbff42115c40d"><code>64b2e5c</code></a> Merge pull request <a href="https://redirect.github.com/fonttools/fonttools/issues/3337">#3337</a> from fonttools/instancer-sync-vmetrics</li>
<li><a href="https://github.com/fonttools/fonttools/commit/69636098bdfc990805975a35ed55b6d143535323"><code>6963609</code></a> [instancer] Ensure hhea vertical metrics stay in sync with OS/2 ones after in...</li>
<li><a href="https://github.com/fonttools/fonttools/commit/a92b2b0725300b13d457cffd9d8a3b1678a34073"><code>a92b2b0</code></a> [instancer_test] check that vertical metrics stay in sync after MVAR instancing</li>
<li><a href="https://github.com/fonttools/fonttools/commit/21124cf9e471f8ce18ae8a2614aa61164d846098"><code>21124cf</code></a> Merge pull request <a href="https://redirect.github.com/fonttools/fonttools/issues/3336">#3336</a> from fonttools/fix-os2-cp-ranges-error</li>
<li><a href="https://github.com/fonttools/fonttools/commit/f518e5a704c580b644bd136794914a4fdf3dc846"><code>f518e5a</code></a> [OS/2] don't error getting/setting codepages if version=0</li>
<li><a href="https://github.com/fonttools/fonttools/commit/49bd8adbc4af317d740e05e2f74e229095d5581e"><code>49bd8ad</code></a> [subset] only prune codepage ranges for OS/2.version >= 1</li>
<li><a href="https://github.com/fonttools/fonttools/commit/a6c30e8c3579ef1e2e56915a612e78d3404fa7fc"><code>a6c30e8</code></a> [subset.cff] Change a type</li>
<li><a href="https://github.com/fonttools/fonttools/commit/441228e85a7e65a8522695d90f0e37880d1dba69"><code>441228e</code></a> Bump version: 4.44.2 → 4.44.3.dev0</li>
<li>Additional commits viewable in <a href="https://github.com/fonttools/fonttools/compare/4.39.4...4.44.3">compare view</a></li>
</ul>
</details>
<br />Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.
<details>
<summary>Dependabot commands and options</summary>
<br />You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)</details>
Description
•