Open Bug 1753121 Opened 2 years ago

[wpt-sync] Sync PR 32647 - Bump fonttools from 3.13.1 to 4.29.1 in /tools

Categories

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

task

Tracking

(Not tracked)

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

Bump fonttools from 3.13.1 to 4.29.1 in /tools

Bumps fonttools from 3.13.1 to 4.29.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.29.1</h2>
<ul>
<li>[colorLib] Fixed rounding issue with radial gradient's start/end circles inside one another (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2521">#2521</a>).</li>
<li>[freetypePen] Handle rotate/skew transform when auto-computing width/height of the buffer; raise PenError wen missing moveTo (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2517">#2517</a>)</li>
</ul>
<h2>4.29.0</h2>
<ul>
<li>[ufoLib] Fixed illegal characters and expanded reserved filenames (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2506">#2506</a>).</li>
<li>[COLRv1] Don't emit useless PaintColrLayers of lenght=1 in LayerListBuilder (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2513">#2513</a>).</li>
<li>[ttx] Removed legacy <code>waitForKeyPress</code> method on Windows (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2509">#2509</a>).</li>
<li>[pens] Added FreeTypePen that uses <code>freetype-py</code> and the pen protocol for rasterizating outline paths (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2494">#2494</a>).</li>
<li>[unicodedata] Updated the script direction list to Unicode 14.0 (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2484">#2484</a>).<br />
Bumped unicodedata2 dependency to 14.0 (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2499">#2499</a>).</li>
<li>[psLib] Fixed type of <code>fontName</code> in <code>suckfont</code> (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2496">#2496</a>).</li>
</ul>
<h2>4.28.5</h2>
<ul>
<li>[svgPathPen] Continuation of <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2471">#2471</a>: make sure all occurrences of <code>str()</code> are now replaced with user-defined <code>ntos</code> callable.</li>
<li>[merge] Refactored code into submodules, plus several bugfixes and improvements (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2473">#2473</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2475">#2475</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2476">#2476</a>):
<ul>
<li>fixed duplicate-glyph-resolution GSUB-lookup generation code;</li>
<li>use tolerance in glyph comparison for empty glyph's width; ignore space of default ignorable glyphs;</li>
<li>downgrade duplicates-resolution missing-GSUB from assert to warn;</li>
<li>added --drop-tables option.</li>
</ul>
</li>
</ul>
<h2>4.28.4</h2>
<ul>
<li>[merge] Merge GDEF marksets in Lookups properly (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2474">#2474</a>).</li>
<li>[feaLib] Have <code>fontTools feaLib</code> script exit with error code when build fails (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2459">#2459</a>)</li>
<li>[svgPathPen] Added <code>ntos</code> option to customize number formatting (e.g. rounding) (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2471">#2471</a>).</li>
<li>[subset] Speed up subsetting of large CFF fonts (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2467">#2467</a>).</li>
<li>[otTables] Speculatively promote lookups to extension to speed up compilation. If the offset to lookup N is too big to fit in a ushort, the offset to lookup N+1 is going to be too big as well, so we promote to extension all lookups from lookup N onwards (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2465">#2465</a>).</li>
</ul>
<h2>4.28.3</h2>
<ul>
<li>[subset] Fixed bug while subsetting <code>COLR</code> table, whereby incomplete layer records pointing to missing glyphs were being retained leading to <code>struct.error</code> upon compiling. Make it so that <code>glyf</code> glyph closure, which follows the <code>COLR</code> glyph closure, does not influence the <code>COLR</code> table subsetting (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2461">#2461</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2462">#2462</a>).</li>
<li>[docs] Fully document the <code>cmap</code> and <code>glyf</code> tables (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2454">#2454</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2457">#2457</a>).</li>
<li>[colorLib.unbuilder] Fixed CLI by deleting no longer existing parameter (180bb1867).</li>
</ul>
<h2>4.28.2</h2>
<ul>
<li>[otlLib] Remove duplicates when building coverage (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2433">#2433</a>).</li>
<li>[docs] Add interrogate configuration (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2443">#2443</a>).</li>
<li>[docs] Remove comment about missing “start” optional argument to <code>calcChecksum</code> (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2448">#2448</a>).</li>
<li>[cu2qu/cli] Adapt to the latest ufoLib2.</li>
<li>[subset] Support subsetting SVG table and remove it from the list of drop by default tables (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/534">#534</a>).</li>
<li>[subset] add <code>--pretty-svg</code> option to pretty print SVG table contents (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2452">#2452</a>).</li>
<li>[merge] Support merging <code>CFF</code> tables (CID-keyed <code>CFF</code> is still not supported) (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2447">#2447</a>).</li>
<li>[merge] Support <code>--output-file</code> (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2447">#2447</a>).</li>
<li>[docs] Split table docs into individual pages (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2444">#2444</a>).</li>
<li>[feaLib] Forbid empty classes (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2446">#2446</a>).</li>
<li>[docs] Improve documentation for <code>fontTools.ttLib.ttFont</code> (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2442">#2442</a>).</li>
</ul>
<h2>4.28.1</h2>
<ul>
<li>[subset] Fixed <code>AttributeError</code> while traversing a color glyph's Paint graph when there is no <code>LayerList</code>, which is optional (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2441">#2441</a>).</li>
</ul>
<h2>4.28.0</h2>
<!-- 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.29.1 (released 2022-02-01)</h2>
<ul>
<li>[colorLib] Fixed rounding issue with radial gradient's start/end circles inside
one another (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2521">#2521</a>).</li>
<li>[freetypePen] Handle rotate/skew transform when auto-computing width/height of the
buffer; raise PenError wen missing moveTo (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2517">#2517</a>)</li>
</ul>
<h2>4.29.0 (released 2022-01-24)</h2>
<ul>
<li>[ufoLib] Fixed illegal characters and expanded reserved filenames (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2506">#2506</a>).</li>
<li>[COLRv1] Don't emit useless PaintColrLayers of lenght=1 in LayerListBuilder (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2513">#2513</a>).</li>
<li>[ttx] Removed legacy <code>waitForKeyPress</code> method on Windows (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2509">#2509</a>).</li>
<li>[pens] Added FreeTypePen that uses <code>freetype-py</code> and the pen protocol for
rasterizating outline paths (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2494">#2494</a>).</li>
<li>[unicodedata] Updated the script direction list to Unicode 14.0 (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2484">#2484</a>).
Bumped unicodedata2 dependency to 14.0 (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2499">#2499</a>).</li>
<li>[psLib] Fixed type of <code>fontName</code> in <code>suckfont</code> (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2496">#2496</a>).</li>
</ul>
<h2>4.28.5 (released 2021-12-19)</h2>
<ul>
<li>[svgPathPen] Continuation of <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2471">#2471</a>: make sure all occurrences of <code>str()</code> are now
replaced with user-defined <code>ntos</code> callable.</li>
<li>[merge] Refactored code into submodules, plus several bugfixes and improvements:
fixed duplicate-glyph-resolution GSUB-lookup generation code; use tolerance in glyph
comparison for empty glyph's width; ignore space of default ignorable glyphs;
downgrade duplicates-resolution missing-GSUB from assert to warn; added --drop-tables
option (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2473">#2473</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2475">#2475</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2476">#2476</a>).</li>
</ul>
<h2>4.28.4 (released 2021-12-15)</h2>
<ul>
<li>[merge] Merge GDEF marksets in Lookups properly (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2474">#2474</a>).</li>
<li>[feaLib] Have <code>fontTools feaLib</code> script exit with error code when build fails (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2459">#2459</a>)</li>
<li>[svgPathPen] Added <code>ntos</code> option to customize number formatting (e.g. rounding) (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2471">#2471</a>).</li>
<li>[subset] Speed up subsetting of large CFF fonts (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2467">#2467</a>).</li>
<li>[otTables] Speculatively promote lookups to extension to speed up compilation. If the
offset to lookup N is too big to fit in a ushort, the offset to lookup N+1 is going to
be too big as well, so we promote to extension all lookups from lookup N onwards (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2465">#2465</a>).</li>
</ul>
<h2>4.28.3 (released 2021-12-03)</h2>
<ul>
<li>[subset] Fixed bug while subsetting <code>COLR</code> table, whereby incomplete layer records
pointing to missing glyphs were being retained leading to <code>struct.error</code> upon
compiling. Make it so that <code>glyf</code> glyph closure, which follows the <code>COLR</code> glyph
closure, does not influence the <code>COLR</code> table subsetting (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2461">#2461</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2462">#2462</a>).</li>
<li>[docs] Fully document the <code>cmap</code> and <code>glyf</code> tables (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2454">#2454</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2457">#2457</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/fb9dcebd46d831499c885a02fc289ca646a362b3"><code>fb9dceb</code></a> Release 4.29.1</li>
<li><a href="https://github.com/fonttools/fonttools/commit/b86be35797c04bf677e06cd5496f24265eceb30c"><code>b86be35</code></a> Update changelog [skip ci]</li>
<li><a href="https://github.com/fonttools/fonttools/commit/f3b4c5b03158dc8a803b8d4d553c93d50a698bd8"><code>f3b4c5b</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2521">#2521</a> from fonttools/fix-round-radial-gradient-circle</li>
<li><a href="https://github.com/fonttools/fonttools/commit/5558ccd3bbbd0e689b775253309d381382f0aebb"><code>5558ccd</code></a> [colorLib.geometry] use math.isclose with relative tolerance to check circle ...</li>
<li><a href="https://github.com/fonttools/fonttools/commit/d1eca1006aa01ae93e20f7b605bad811c6476efa"><code>d1eca10</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2517">#2517</a> from takaakifuji/ftpen-transform-fix</li>
<li><a href="https://github.com/fonttools/fonttools/commit/5f2c492635d046be53395a6a19098a92a6145b01"><code>5f2c492</code></a> freetypePen: format code with Black</li>
<li><a href="https://github.com/fonttools/fonttools/commit/48cbe7b054c22150b11e483d1c4ace0294394f9c"><code>48cbe7b</code></a> freetypePen: prefer FT_CURVE_TAG enums</li>
<li><a href="https://github.com/fonttools/fonttools/commit/cd5c16f4d4b3491baa04d5d889df52df03ebba66"><code>cd5c16f</code></a> freetypePen: cosmetic changes</li>
<li><a href="https://github.com/fonttools/fonttools/commit/9eadd908c6ce4c2846f1db3fe7d248c847ab8047"><code>9eadd90</code></a> freetypePen: fix bits for cubic on-curve</li>
<li><a href="https://github.com/fonttools/fonttools/commit/e1c3cdcfdef1b45250690a674bbb13b403313d7a"><code>e1c3cdc</code></a> freetypePen: raise PenError when missing moveTo</li>
<li>Additional commits viewable in <a href="https://github.com/fonttools/fonttools/compare/3.13.1...4.29.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 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>

You need to log in before you can comment on or make changes to this bug.