Closed Bug 1739730 Opened 3 years ago Closed 3 years ago

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

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

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

Bump fonttools from 3.13.1 to 4.28.0 in /tools

Bumps fonttools from 3.13.1 to 4.28.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.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>
<li>[feaLib] Added support for Variable Feature File syntax. This is experimental and subject to change until it is finalized in the Adobe FEA spec (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2432">#2432</a>).</li>
<li>[unicodedata] Update Scripts/ScriptExtensions/Blocks to UnicodeData 14.0 (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2437">#2437</a>).</li>
</ul>
<h2>4.27.1</h2>
<ul>
<li>[otlLib] Fixed error when chained contextual lookup builder overflows (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2404">#2404</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2411">#2411</a>).</li>
<li>[bezierTools] Fixed two floating-point bugs: one when computing <code>t</code> for a point lying on an almost horizontal/vertical line; another when computing the intersection point between a curve and a line (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2413">#2413</a>).</li>
</ul>
<h2>4.27.0</h2>
<ul>
<li>[ttLib/otTables] Cleaned up virtual GID handling: allow virtual GIDs in <code>Coverage</code> and <code>ClassDef</code> readers; removed unused <code>allowVID</code> argument from <code>TTFont</code> constructor, and <code>requireReal</code> argument in <code>TTFont.getGlyphID</code> method.<br />
Make <code>TTFont.setGlyphOrder</code> clear reverse glyphOrder map, and assume <code>glyphOrder</code> internal attribute is never modified outside setGlyphOrder; added <code>TTFont.getGlyphNameMany</code> and <code>getGlyphIDMany</code> (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/1536">#1536</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/1654">#1654</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2334">#2334</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2398">#2398</a>).</li>
<li>[py23] Dropped internal use of <code>fontTools.py23</code> module to fix deprecation warnings in client code that imports from fontTools (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2232">#2232</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2399">#2399</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2400">#2400</a>).</li>
<li>[subset] Fix subsetting COLRv1 clip boxes when font is loaded lazily (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2408">#2408</a>).</li>
</ul>
<h2>4.26.2</h2>
<ul>
<li>[otTables] Added missing <code>CompositeMode.PLUS</code> operator (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2390">#2390</a>).</li>
</ul>
<h2>4.26.1</h2>
<ul>
<li>[transform] Added <code>transformVector</code> and <code>transformVectors</code> methods to the <code>Transform</code> class. Similar to <code>transformPoint</code> but ignore the translation part (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2386">#2386</a>).</li>
</ul>
<h2>4.26.0</h2>
<ul>
<li>[xmlWriter] Default to <code>"\n"</code> for <code>newlinestr</code> instead of platform-specific <code>os.linesep</code> (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2384">#2384</a>).</li>
<li>[otData] Define COLRv1 ClipList and ClipBox (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2379">#2379</a>).</li>
<li>[removeOverlaps/instancer] Added --ignore-overlap-errors option to work around Skia PathOps.Simplify bug (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2382">#2382</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2363">#2363</a>, <a href="https://github-redirect.dependabot.com/google/fonts/issues/3365">google/fonts#3365</a>).</li>
<li>NOTE: This will be the last version to support Python 3.6. FontTools will require Python 3.7 or above from the next release (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2350">#2350</a>).</li>
</ul>
<h2>4.25.2</h2>
<ul>
<li>[COLRv1] Various changes to sync with the latest CORLv1 draft spec. In particular:
define COLR.VarIndexMap, remove/inline ColorIndex struct, add VarIndexBase to <code>PaintVar</code> tables (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2372">#2372</a>);
add reduced-precicion specialized transform Paints;
define Angle as fraction of half circle encoded as F2Dot14;
use FWORD (int16) for all Paint center coordinates;
change PaintTransform to have an offset to Affine2x3 (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2359">#2359</a>).</li>
<li>[ttLib] when importing XML, only set sfntVersion if the font has no reader and is empty (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2376">#2376</a>)</li>
</ul>
<h2>4.25.1</h2>
<ul>
<li>[ttGlyphPen] Fixed bug in <code>TTGlyphPointPen</code>, whereby open contours (i.e. starting with segmentType "move") would throw <code>NotImplementedError</code>. They are now treated as if they are closed, like with the <code>TTGlyphPen</code> (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2365">#2365</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2366">#2366</a>).</li>
</ul>
<h2>4.25.0</h2>
<ul>
<li>[tfmLib] Added new library for parsing TeX Font Metric (TFM) files (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2354">#2354</a>).</li>
<li>[TupleVariation] Make shared tuples order deterministic on python < 3.7 where Counter (subclass of dict) doesn't remember insertion order (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2351">#2351</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2353">#2353</a>).</li>
<li>[otData] Renamed COLRv1 structs to remove 'v1' suffix and match the updated draft spec: 'LayerV1List' -> 'LayerList', 'BaseGlyphV1List' -> 'BaseGlyphList', 'BaseGlyphV1Record' -> 'BaseGlyphPaintRecord' (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2346">#2346</a>).<br />
Added 8 new <code>PaintScale
</code> tables: with/without centers, uniform vs non-uniform.
Added <code>*AroundCenter</code> variants to <code>PaintRotate</code> and <code>PaintSkew</code>: the default versions no longer have centerX/Y, but default to origin.
<code>PaintRotate</code>, <code>PaintSkew</code> and <code>PaintComposite</code> formats were re-numbered.<br />
NOTE: these are breaking changes; clients using the experimental COLRv1 API will have to be updated (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2348">#2348</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.28.0 (released 2021-11-05)</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>
<li>[feaLib] Added support for Variable Feature File syntax. This is experimental and subject
to change until it is finalized in the Adobe FEA spec (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2432">#2432</a>).</li>
<li>[unicodedata] Update Scripts/ScriptExtensions/Blocks to UnicodeData 14.0 (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2437">#2437</a>).</li>
</ul>
<h2>4.27.1 (released 2021-09-23)</h2>
<ul>
<li>[otlLib] Fixed error when chained contextual lookup builder overflows (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2404">#2404</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2411">#2411</a>).</li>
<li>[bezierTools] Fixed two floating-point bugs: one when computing <code>t</code> for a point
lying on an almost horizontal/vertical line; another when computing the intersection
point between a curve and a line (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2413">#2413</a>).</li>
</ul>
<h2>4.27.0 (released 2021-09-14)</h2>
<ul>
<li>[ttLib/otTables] Cleaned up virtual GID handling: allow virtual GIDs in <code>Coverage</code>
and <code>ClassDef</code> readers; removed unused <code>allowVID</code> argument from <code>TTFont</code>
constructor, and <code>requireReal</code> argument in <code>TTFont.getGlyphID</code> method.
Make <code>TTFont.setGlyphOrder</code> clear reverse glyphOrder map, and assume <code>glyphOrder</code>
internal attribute is never modified outside setGlyphOrder; added <code>TTFont.getGlyphNameMany</code>
and <code>getGlyphIDMany</code> (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/1536">#1536</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/1654">#1654</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2334">#2334</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2398">#2398</a>).</li>
<li>[py23] Dropped internal use of <code>fontTools.py23</code> module to fix deprecation warnings
in client code that imports from fontTools (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2234">#2234</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2399">#2399</a>, <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2400">#2400</a>).</li>
<li>[subset] Fix subsetting COLRv1 clip boxes when font is loaded lazily (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2408">#2408</a>).</li>
</ul>
<h2>4.26.2 (released 2021-08-09)</h2>
<ul>
<li>[otTables] Added missing <code>CompositeMode.PLUS</code> operator (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2390">#2390</a>).</li>
</ul>
<h2>4.26.1 (released 2021-08-03)</h2>
<ul>
<li>[transform] Added <code>transformVector</code> and <code>transformVectors</code> methods to the
<code>Transform</code> class. Similar to <code>transformPoint</code> but ignore the translation
part (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2386">#2386</a>).</li>
</ul>
<h2>4.26.0 (released 2021-08-03)</h2>
<ul>
<li>[xmlWriter] Default to <code>"\n"</code> for <code>newlinestr</code> instead of platform-specific</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/fonttools/fonttools/commit/c7109c1a026f7edcc03f80e2357fcc731de541a0"><code>c7109c1</code></a> Release 4.28.0</li>
<li><a href="https://github.com/fonttools/fonttools/commit/63fbd15982fd282aad08f12d14ae00ee194e9af9"><code>63fbd15</code></a> Updated NEWS.rst [skip ci]</li>
<li><a href="https://github.com/fonttools/fonttools/commit/63738938fa35f8d83cdf6d59eda0298045eb5e3b"><code>6373893</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2439">#2439</a> from fonttools/i2438</li>
<li><a href="https://github.com/fonttools/fonttools/commit/6144202cd9b88118f5b3b1d3cc3f825040c2fbfb"><code>6144202</code></a> Don't crash if there is no layer list</li>
<li><a href="https://github.com/fonttools/fonttools/commit/b11d6f79badc19ca62a4305a15d05ce2c7bb37fd"><code>b11d6f7</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2437">#2437</a> from medicalwei/unicode-14</li>
<li><a href="https://github.com/fonttools/fonttools/commit/390640a357094264e29df5081e178658baedb650"><code>390640a</code></a> update to unicode 14.0</li>
<li><a href="https://github.com/fonttools/fonttools/commit/563730f8cee0ebc039b4eb4078eb5b977df64886"><code>563730f</code></a> Support variable feature syntax (<a href="https://github-redirect.dependabot.com/fonttools/fonttools/issues/2432">#2432</a>)</li>
<li><a href="https://github.com/fonttools/fonttools/commit/c194a18be7f8d453103bc9efbc51d177234766a5"><code>c194a18</code></a> update codecov gh action to v2</li>
<li><a href="https://github.com/fonttools/fonttools/commit/91d78774209b044a2ed1f3598dea1eca20daa5e6"><code>91d7877</code></a> ci: pin python to 3.9 for test-cython job</li>
<li><a href="https://github.com/fonttools/fonttools/commit/941179eb60c674b2fccab2cffe2aa19b63ae60b6"><code>941179e</code></a> fonttools help: only show first line of main()'s docstring</li>
<li>Additional commits viewable in <a href="https://github.com/fonttools/fonttools/compare/3.13.1...4.28.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.