[wpt-sync] Sync PR 39264 - Bump fonttools from 4.33.2 to 4.39.3 in /tools
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox114 fixed)
| Tracking | Status | |
|---|---|---|
| firefox114 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39264 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39264
Details from upstream follow.
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> wrote:
Bump fonttools from 4.33.2 to 4.39.3 in /tools
Bumps fonttools from 4.33.2 to 4.39.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.39.3</h2>
<ul>
<li>[sbix] Fixed TypeError when compiling empty glyphs whose imageData is None, regression was introduced in v4.39 (<a href="https://redirect.github.com/fonttools/fonttools/issues/3059">fonttools/fonttools#3059</a>).</li>
<li>[ttFont] Fixed AttributeError on python <= 3.10 when opening a TTFont from a tempfile.SpooledTemporaryFile, <code>seekable</code> method was only added in python 3.11 (<a href="https://redirect.github.com/fonttools/fonttools/issues/3052">fonttools/fonttools#3052</a>).</li>
</ul>
<h2>4.39.2</h2>
<ul>
<li>[varLib] Fixed regression introduced in 4.39.1 whereby an incomplete 'STAT' table would be built even though a DesignSpace v5 did contain 'STAT' definitions (<a href="https://redirect.github.com/fonttools/fonttools/issues/3045">#3045</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/3046">#3046</a>).</li>
</ul>
<p><strong>NOTE</strong>: The 4.39.1 distribution was "yanked" from PyPI to prevent users from accidentally upgrading to it.</p>
<h2>4.39.1</h2>
<ul>
<li>[avar2] Added experimental support for reading/writing avar version 2 as specified in this draft proposal:
<a href="https://github.com/harfbuzz/boring-expansion-spec/blob/main/avar2.md">https://github.com/harfbuzz/boring-expansion-spec/blob/main/avar2.md</a></li>
<li>[glifLib] Wrap underlying XML library exceptions with GlifLibError when parsing GLIFs, and also print the name and path of the glyph that fails to be parsed (<a href="https://redirect.github.com/fonttools/fonttools/pull/3029">fonttools/fonttools#3029</a>).</li>
<li>[feaLib] Consult avar for normalizing user-space values in ConditionSets and in VariableScalars (<a href="https://redirect.github.com/fonttools/fonttools/pull/3042">fonttools/fonttools#3042</a>, <a href="https://redirect.github.com/fonttools/fonttools/pull/3043">fonttools/fonttools#3043</a>).</li>
<li>[ttProgram] Handle string input to Program.fromAssembly() (<a href="https://redirect.github.com/fonttools/fonttools/pull/3038">fonttools/fonttools#3038</a>).</li>
<li>[otlLib] Added a config option to emit GPOS 7 lookups, currently disabled by default because of a macOS bug (<a href="https://redirect.github.com/fonttools/fonttools/pull/3034">fonttools/fonttools#3034</a>).</li>
<li>[COLRv1] Added method to automatically compute ClipBoxes (<a href="https://redirect.github.com/fonttools/fonttools/pull/3027">fonttools/fonttools#3027</a>).</li>
<li>[ttFont] Fixed getGlyphID to raise KeyError on missing glyphs instead of returning None. The regression was introduced in v4.27.0 (<a href="https://redirect.github.com/fonttools/fonttools/pull/3032">fonttools/fonttools#3032</a>).</li>
<li>[sbix] Fixed UnboundLocalError: cannot access local variable 'rawdata' (<a href="https://redirect.github.com/fonttools/fonttools/pull/3031">fonttools/fonttools#3031</a>).</li>
<li>[varLib] When building VF, do not overwrite a pre-existing <code>STAT</code> table that was built with feaLib from FEA feature file. Also, added support for building multiple VFs defined in Designspace v5 from <code>fonttools varLib</code> script (<a href="https://redirect.github.com/fonttools/fonttools/pull/3024">fonttools/fonttools#3024</a>).</li>
<li>[mtiLib] Only add <code>Debg</code> table with lookup names when <code>FONTTOOLS_LOOKUP_DEBUGGING</code> env variable is set (<a href="https://redirect.github.com/fonttools/fonttools/pull/3023">fonttools/fonttools#3023</a>).</li>
</ul>
<h2>4.39.0</h2>
<ul>
<li>[mtiLib] Optionally add <code>Debg</code> debug info for MTI feature builds (<a href="https://redirect.github.com/fonttools/fonttools/issues/3018">#3018</a>).</li>
<li>[ttx] Support reading input file from standard input using special <code>-</code> character, similar to existing <code>-o -</code> option to write output to standard output (<a href="https://redirect.github.com/fonttools/fonttools/issues/3020">#3020</a>).</li>
<li>[cython] Prevent <code>cython.compiled</code> raise AttributeError if cython not installed properly (<a href="https://redirect.github.com/fonttools/fonttools/issues/3017">#3017</a>).</li>
<li>[OS/2] Guard against ZeroDivisionError when calculating xAvgCharWidth in the unlikely scenario no glyph has non-zero advance (<a href="https://redirect.github.com/fonttools/fonttools/issues/3015">#3015</a>).</li>
<li>[subset] Recompute xAvgCharWidth independently of --no-prune-unicode-ranges, previously the two options were involuntarily bundled together (<a href="https://redirect.github.com/fonttools/fonttools/issues/3012">#3012</a>).</li>
<li>[fontBuilder] Add <code>debug</code> parameter to addOpenTypeFeatures method to add source debugging information to the font in the <code>Debg</code> private table (<a href="https://redirect.github.com/fonttools/fonttools/issues/3008">#3008</a>).</li>
<li>[name] Make NameRecord <code>__lt__</code> comparison not fail on Unicode encoding errors (<a href="https://redirect.github.com/fonttools/fonttools/issues/3006">#3006</a>).</li>
<li>[featureVars] Fixed bug in <code>overlayBox</code> (<a href="https://redirect.github.com/fonttools/fonttools/issues/3003">#3003</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/3005">#3005</a>).</li>
<li>[glyf] Added experimental support for cubic bezier curves in TrueType glyf table, as outlined in glyf v1 proposal (<a href="https://redirect.github.com/fonttools/fonttools/issues/2988">#2988</a>):<br />
<a href="https://github.com/harfbuzz/boring-expansion-spec/blob/main/glyf1-cubicOutlines.md">https://github.com/harfbuzz/boring-expansion-spec/blob/main/glyf1-cubicOutlines.md</a></li>
<li>Added new qu2cu module and related qu2cuPen, the reverse of cu2qu for converting TrueType quadratic splines to cubic bezier curves (<a href="https://redirect.github.com/fonttools/fonttools/issues/2993">#2993</a>).</li>
<li>[glyf] Added experimental support for reading and writing Variable Composites/Components as defined in glyf v1 spec proposal (<a href="https://redirect.github.com/fonttools/fonttools/issues/2958">#2958</a>):<br />
<a href="https://github.com/harfbuzz/boring-expansion-spec/blob/main/glyf1-varComposites.md">https://github.com/harfbuzz/boring-expansion-spec/blob/main/glyf1-varComposites.md</a>.</li>
<li>[pens]: Added <code>addVarComponent</code> method to pen protocols' base classes, which pens can implement to handle varcomponents (by default they get decomposed).</li>
<li>[misc.transform] Added DecomposedTransform class which implements an affine transformation with separate translate, rotation, scale, skew, and transformation-center components (<a href="https://redirect.github.com/fonttools/fonttools/issues/2598">#2598</a>)</li>
<li>[sbix] Ensure Glyph.referenceGlyphName is set; fixes error after dumping and re-compiling sbix table with 'dupe' glyphs (<a href="https://redirect.github.com/fonttools/fonttools/issues/2984">#2984</a>).</li>
<li>[feaLib] Be cleverer when merging chained single substitutions into same lookup when they are specified using the inline notation (<a href="https://redirect.github.com/fonttools/fonttools/issues/2150">#2150</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/2974">#2974</a>).</li>
<li>[instancer] Clamp user-inputted axis ranges to those of fvar (<a href="https://redirect.github.com/fonttools/fonttools/issues/2959">#2959</a>).</li>
<li>[otBase/subset] Define <code>__getstate__</code> for BaseTable so that a copied/pickled 'lazy' object gets its own OTTableReader to read from; incidentally fixes a bug while subsetting COLRv1 table containing ClipBoxes on python 3.11 (<a href="https://redirect.github.com/fonttools/fonttools/issues/2965">#2965</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/2968">#2968</a>).</li>
<li>[sbix] Handle glyphs with "dupe" graphic type on compile correctly (<a href="https://redirect.github.com/fonttools/fonttools/issues/2963">#2963</a>).</li>
<li>[glyf] <code>endPointsOfContours</code> field should be unsigned! Kudos to behdad for spotting one of the oldest bugs in FT. Probably nobody has ever dared to make glyphs with more than 32767 points... (<a href="https://redirect.github.com/fonttools/fonttools/issues/2957">#2957</a>).</li>
<li>[feaLib] Fixed handling of <code>ignore</code> statements with unmarked glyphs to match makeotf behavior, which assumes the first glyph is marked (<a href="https://redirect.github.com/fonttools/fonttools/issues/2950">#2950</a>).</li>
<li>Reformatted code with <code>black</code> and enforce new code style via CI check (<a href="https://redirect.github.com/fonttools/fonttools/issues/2925">#2925</a>).</li>
<li>[feaLib] Sort name table entries following OT spec prescribed order in the builder (<a href="https://redirect.github.com/fonttools/fonttools/issues/2927">#2927</a>).</li>
<li>[cu2quPen] Add Cu2QuMultiPen that converts multiple outlines at a time in interpolation compatible way; its methods take a list of tuples arguments that would normally be passed to individual segment pens, and at the end it dispatches the converted outlines to each pen (<a href="https://redirect.github.com/fonttools/fonttools/issues/2912">#2912</a>).</li>
<li>[reverseContourPen/ttGlyphPen] Add outputImpliedClosingLine option (<a href="https://redirect.github.com/fonttools/fonttools/issues/2913">#2913</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/2914">#2914</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/2921">#2921</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/2922">#2922</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/2995">#2995</a>).</li>
<li>[gvar] Avoid expanding all glyphs unnecessarily upon compile (<a href="https://redirect.github.com/fonttools/fonttools/issues/2918">#2918</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.39.3 (released 2023-03-28)</h2>
<ul>
<li>[sbix] Fixed TypeError when compiling empty glyphs whose imageData is None, regression
was introduced in v4.39 (<a href="https://redirect.github.com/fonttools/fonttools/issues/3059">#3059</a>).</li>
<li>[ttFont] Fixed AttributeError on python <= 3.10 when opening a TTFont from a tempfile
SpooledTemporaryFile, seekable method only added on python 3.11 (<a href="https://redirect.github.com/fonttools/fonttools/issues/3052">#3052</a>).</li>
</ul>
<h2>4.39.2 (released 2023-03-16)</h2>
<ul>
<li>[varLib] Fixed regression introduced in 4.39.1 whereby an incomplete 'STAT' table
would be built even though a DesignSpace v5 did contain 'STAT' definitions (<a href="https://redirect.github.com/fonttools/fonttools/issues/3045">#3045</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/3046">#3046</a>).</li>
</ul>
<h2>4.39.1 (released 2023-03-16)</h2>
<ul>
<li>[avar2] Added experimental support for reading/writing avar version 2 as specified in
this draft proposal: <a href="https://github.com/harfbuzz/boring-expansion-spec/blob/main/avar2.md">https://github.com/harfbuzz/boring-expansion-spec/blob/main/avar2.md</a></li>
<li>[glifLib] Wrap underlying XML library exceptions with GlifLibError when parsing GLIFs,
and also print the name and path of the glyph that fails to be parsed (<a href="https://redirect.github.com/fonttools/fonttools/issues/3042">#3042</a>).</li>
<li>[feaLib] Consult avar for normalizing user-space values in ConditionSets and in
VariableScalars (<a href="https://redirect.github.com/fonttools/fonttools/issues/3042">#3042</a>, <a href="https://redirect.github.com/fonttools/fonttools/issues/3043">#3043</a>).</li>
<li>[ttProgram] Handle string input to Program.fromAssembly() (<a href="https://redirect.github.com/fonttools/fonttools/issues/3038">#3038</a>).</li>
<li>[otlLib] Added a config option to emit GPOS 7 lookups, currently disabled by default
because of a macOS bug (<a href="https://redirect.github.com/fonttools/fonttools/issues/3034">#3034</a>).</li>
<li>[COLRv1] Added method to automatically compute ClipBoxes (<a href="https://redirect.github.com/fonttools/fonttools/issues/3027">#3027</a>).</li>
<li>[ttFont] Fixed getGlyphID to raise KeyError on missing glyphs instead of returning
None. The regression was introduced in v4.27.0 (<a href="https://redirect.github.com/fonttools/fonttools/issues/3032">#3032</a>).</li>
<li>[sbix] Fixed UnboundLocalError: cannot access local variable 'rawdata' (<a href="https://redirect.github.com/fonttools/fonttools/issues/3031">#3031</a>).</li>
<li>[varLib] When building VF, do not overwrite a pre-existing <code>STAT</code> table that was built
with feaLib from FEA feature file. Also, added support for building multiple VFs
defined in Designspace v5 from <code>fonttools varLib</code> script (<a href="https://redirect.github.com/fonttools/fonttools/issues/3024">#3024</a>).</li>
<li>[mtiLib] Only add <code>Debg</code> table with lookup names when <code>FONTTOOLS_LOOKUP_DEBUGGING</code>
env variable is set (<a href="https://redirect.github.com/fonttools/fonttools/issues/3023">#3023</a>).</li>
</ul>
<h2>4.39.0 (released 2023-03-06)</h2>
<ul>
<li>[mtiLib] Optionally add <code>Debg</code> debug info for MTI feature builds (<a href="https://redirect.github.com/fonttools/fonttools/issues/3018">#3018</a>).</li>
<li>[ttx] Support reading input file from standard input using special <code>-</code> character,
similar to existing <code>-o -</code> option to write output to standard output (<a href="https://redirect.github.com/fonttools/fonttools/issues/3020">#3020</a>).</li>
<li>[cython] Prevent <code>cython.compiled</code> raise AttributeError if cython not installed
properly (<a href="https://redirect.github.com/fonttools/fonttools/issues/3017">#3017</a>).</li>
<li>[OS/2] Guard against ZeroDivisionError when calculating xAvgCharWidth in the unlikely
scenario no glyph has non-zero advance (<a href="https://redirect.github.com/fonttools/fonttools/issues/3015">#3015</a>).</li>
<li>[subset] Recompute xAvgCharWidth independently of --no-prune-unicode-ranges,
previously the two options were involuntarily bundled together (<a href="https://redirect.github.com/fonttools/fonttools/issues/3012">#3012</a>).</li>
<li>[fontBuilder] Add <code>debug</code> parameter to addOpenTypeFeatures method to add source
debugging information to the font in the <code>Debg</code> private table (<a href="https://redirect.github.com/fonttools/fonttools/issues/3008">#3008</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/abd7b5b15d619b931c4a5c3bb5aa9fe0835b7ed4"><code>abd7b5b</code></a> Release 4.39.3</li>
<li><a href="https://github.com/fonttools/fonttools/commit/1b67c062b04d473d6291c1fc47ec64c3a21d0ad6"><code>1b67c06</code></a> Update NEWS.rst</li>
<li><a href="https://github.com/fonttools/fonttools/commit/3615b565ca633cb67450b14b00e60d6d751c7e8a"><code>3615b56</code></a> sbixGlyph: don't use imageData for empty glyphs with graphicType=None</li>
<li><a href="https://github.com/fonttools/fonttools/commit/e73a098dec829611acac6a61ca1205a02d0280e2"><code>e73a098</code></a> Merge pull request <a href="https://redirect.github.com/fonttools/fonttools/issues/3053">#3053</a> from fonttools/fix-spool-temp-seekable</li>
<li><a href="https://github.com/fonttools/fonttools/commit/14a767719b2def735bc10c9ff57e98901227f80b"><code>14a7677</code></a> [bezierTools] Add link to algorithm</li>
<li><a href="https://github.com/fonttools/fonttools/commit/8859d8669d03c9d67eee3a5adc06feece91b4868"><code>8859d86</code></a> ttFont_test: add tests for unseekable input file with lazy=True</li>
<li><a href="https://github.com/fonttools/fonttools/commit/454391036723f89c39533953252bafbc358daace"><code>4543910</code></a> [ttFont] fail when input is not seekable and lazy=True</li>
<li><a href="https://github.com/fonttools/fonttools/commit/1d5feb81e597db8faa53695315befbccf0075b2e"><code>1d5feb8</code></a> ttFont_test: add reproducer for SpooledTemporaryFile has no seekable</li>
<li><a href="https://github.com/fonttools/fonttools/commit/f1c609aa57fa11ab98f2152275f2c709e06c0680"><code>f1c609a</code></a> .readthedocs.yml: don't use 'legacy' build specification</li>
<li><a href="https://github.com/fonttools/fonttools/commit/f9b941d226242c6b481e752036654aa346409036"><code>f9b941d</code></a> use python3.10 for ReadTheDocs</li>
<li>Additional commits viewable in <a href="https://github.com/fonttools/fonttools/compare/4.33.2...4.39.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 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>
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
| Assignee | ||
Comment 4•2 years ago
|
||
Comment 5•2 years ago
|
||
| bugherder | ||
Description
•