Closed Bug 1751787 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 32518 - Bump fonttools from 3.13.1 to 4.29.0 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 32518 into mozilla-central (this bug is closed when the sync is complete).

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

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

Bump fonttools from 3.13.1 to 4.29.0 in /tools

Bumps fonttools from 3.13.1 to 4.29.0.
<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.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>
<ul>
<li>Dropped support for EOL Python 3.6, require Python 3.7 (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2417">#2417</a>).</li>
<li>[ufoLib/glifLib] Make filename-clash checks faster by using a set instead of a list (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2422">#2422</a>).</li>
<li>[subset] Don't crash if optional ClipList and LayerList are <code>None</code> (empty) (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2424">#2424</a>, 2439).</li>
<li>[OT-SVG] Removed support for old deprecated version 1 and embedded color palettes, which were never officially part of the OpenType SVG spec. Upon compile, reuse offsets to SVG documents that are identical (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2430">#2430</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.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>
<li>[colorLib.unbuilder] Fixed CLI by deleting no longer existing parameter (180bb1867).</li>
</ul>
<h2>4.28.2 (released 2021-11-22)</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>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/fonttools/fonttools/commit/aa8aaae3cc862192d58f36693e4f559b547568ad"><code>aa8aaae</code></a> Release 4.29.0</li>
<li><a href="https://github.com/fonttools/fonttools/commit/624130c7679879b0c92a72b3b4a9861e67c71a01"><code>624130c</code></a> Update changelog [skip ci]</li>
<li><a href="https://github.com/fonttools/fonttools/commit/96ac799cf9e47b9e167dfa01719a10659867a514"><code>96ac799</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2506">#2506</a> from fonttools/ufolib-expand-reserved-filenames</li>
<li><a href="https://github.com/fonttools/fonttools/commit/48ffc7d9a05ee23cef8639f3af5b06d33f6f6529"><code>48ffc7d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2513">#2513</a> from fonttools/colrv1-duplicate-base-glyphs</li>
<li><a href="https://github.com/fonttools/fonttools/commit/afc5b0b7c6eb854483d3754f7aacb83b8d6ab745"><code>afc5b0b</code></a> LayerListBuilder: don't emit useless PaintColrLayers of length=1</li>
<li><a href="https://github.com/fonttools/fonttools/commit/e68a5a173c87419728b2e534226c03791ec49ca0"><code>e68a5a1</code></a> colorLib_test: check that duplicate base glyphs share share the same PaintCol...</li>
<li><a href="https://github.com/fonttools/fonttools/commit/eded2086700f3f238aec730000e867e983f3a5b8"><code>eded208</code></a> [colorLib] remove unused self.slices attribute from LayerListBuilder</li>
<li><a href="https://github.com/fonttools/fonttools/commit/036003e8500f5f0d887593f1b622f3687547212e"><code>036003e</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2509">#2509</a> from fonttools/remove-win-wait-for-keypress-on-exit</li>
<li><a href="https://github.com/fonttools/fonttools/commit/c50cc3e1eb0e4f5cba9e89ffd60e93aca5e203cc"><code>c50cc3e</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2508">#2508</a> from fonttools/jamo-as-hang-ot-script</li>
<li><a href="https://github.com/fonttools/fonttools/commit/7c38f3d3936fb35007ce4a0c9220aab08261cd7c"><code>7c38f3d</code></a> remove waitForKeyPress on windows</li>
<li>Additional commits viewable in <a href="https://github.com/fonttools/fonttools/compare/3.13.1...4.29.0">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>

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