Closed Bug 1866379 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 43332 - Bump fonttools from 4.39.4 to 4.45.1 in /tools

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 43332 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/43332
Details from upstream follow.

dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> wrote:

Bump fonttools from 4.39.4 to 4.45.1 in /tools

Bumps fonttools from 4.39.4 to 4.45.1.
<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.45.1</h2>
<ul>
<li>[varLib.interpolatable] Various bugfixes and improvements, better reporting, reduced false positives.</li>
<li>[ttGlyphSet] Added option to not recalculate glyf bounds (<a href="https://redirect.github.com/fonttools/fonttools/issues/3348">#3348</a>).</li>
</ul>
<h2>4.45.0</h2>
<ul>
<li>[varLib.interpolator] Vastly improved algorithms. Also available now is <code>--pdf</code> and <code>--html</code> options to generate a PDF or HTML report of the interpolation issues.<br />
The PDF/HTML report showcases the problematic masters, the interpolated broken glyph, as well as the proposed fixed version.</li>
</ul>
<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>
</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.45.1 (released 2023-11-23)</h2>
<ul>
<li>[varLib.interpolatable] Various bugfixes and improvements, better reporting, reduced
false positives.</li>
<li>[ttGlyphSet] Added option to not recalculate glyf bounds (<a href="https://redirect.github.com/fonttools/fonttools/issues/3348">#3348</a>).</li>
</ul>
<h2>4.45.0 (released 2023-11-20)</h2>
<ul>
<li>[varLib.interpolatable] Vastly improved algorithms. Also available now is <code>--pdf</code>
and <code>--html</code> options to generate a PDF or HTML report of the interpolation issues.
The PDF/HTML report showcases the problematic masters, the interpolated broken
glyph, as well as the proposed fixed version.</li>
</ul>
<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>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/fonttools/fonttools/commit/1ab8e22d26943dc0adc747daee4a87e363b6a42b"><code>1ab8e22</code></a> Release 4.45.1</li>
<li><a href="https://github.com/fonttools/fonttools/commit/967cad9f31ef19bbeefa3892a52e1573a27f3213"><code>967cad9</code></a> Update changelog [skip ci]</li>
<li><a href="https://github.com/fonttools/fonttools/commit/b30da672f0f52cd7c4ef949822d46a5711c2aa3a"><code>b30da67</code></a> Revert "[interpolatable] Use absolute sqrt area, not signed"</li>
<li><a href="https://github.com/fonttools/fonttools/commit/a72139f3543d4c8509729686c6019caddb8121a8"><code>a72139f</code></a> [interpolatable] Minor, remove a pair of unnecessary parentheses</li>
<li><a href="https://github.com/fonttools/fonttools/commit/772d1f8c7895f9b8844264488bd2b542c4391022"><code>772d1f8</code></a> [interpolatable] Use absolute sqrt area, not signed</li>
<li><a href="https://github.com/fonttools/fonttools/commit/8ccc3b0d56e924d23ce005c80cd0aab90475a585"><code>8ccc3b0</code></a> [interpolatable] Handle empty bounds</li>
<li><a href="https://github.com/fonttools/fonttools/commit/1cd954d0ff3cd16e37e7debb8a1c0566765d11fb"><code>1cd954d</code></a> [interpolatable] Tweak magic number</li>
<li><a href="https://github.com/fonttools/fonttools/commit/e8d212609f5818d3c07e379d15238d180ec174f9"><code>e8d2126</code></a> [interpolatable] More work and less play</li>
<li><a href="https://github.com/fonttools/fonttools/commit/3465666edf769c88f7e33b4fc25577de8881e8a3"><code>3465666</code></a> [interpolatable] Comment</li>
<li><a href="https://github.com/fonttools/fonttools/commit/377bb5a34b2602fdb8f9d4e4f83f8fe0d758639a"><code>377bb5a</code></a> [interpolatable] Comment</li>
<li>Additional commits viewable in <a href="https://github.com/fonttools/fonttools/compare/4.39.4...4.45.1">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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.