andersbogsnes / ml_tooling

Utility library for Machine Learning
https://ml-tooling.readthedocs.io
MIT License
5 stars 2 forks source link

Bump fonttools from 4.37.1 to 4.37.2 #952

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps fonttools from 4.37.1 to 4.37.2.

Release notes

Sourced from fonttools's releases.

4.37.2

  • [subset] Keep CPAL table and don't attempt to prune unused color indices if OT-SVG table is present even if COLR table was subsetted away; OT-SVG may be referencing the CPAL table; for now we assume that's the case (fonttools/fonttools#2814, fonttools/fonttools#2815).
  • [varLib.instancer] Downgrade GPOS/GSUB version if there are no more FeatureVariations after instancing (fonttools/fonttools#2812).
  • [subset] Added --no-lazy to optionally load fonts eagerly (mostly to ease debugging of table lazy loading, no practical effects) (fonttools/fonttools#2807).
  • [varLib] Avoid building empty COLR.DeltaSetIndexMap with only identity mappings (fonttools/fonttools#2803).
  • [feaLib] Allow multiple value record types (by promoting to the most general format) within the same PairPos subtable; e.g. this allows variable and non variable kerning rules to share the same subtable. This also fixes a bug whereby some kerning pairs would become unreachable while shapiong because of premature subtable splitting (fonttools/fonttools#2772, fonttools/fonttools#2776).
  • [feaLib] Speed up VarScalar by caching models for recurring master locations (fonttools/fonttools#2798).
  • [feaLib] Optionally cythonize feaLib.lexer, speeds up parsing FEA a bit (fonttools/fonttools#2799).
  • [designspaceLib] Avoid crash when handling unbounded rule conditions (fonttools/fonttools#2797).
  • [post] Don't crash if post legacy format 1 is malformed/improperly used (fonttools/fonttools#2786)
  • [gvar] Don't be "lazy" (load all glyph variations up front) when TTFont.lazy=False (fonttools/fonttools#2771).
  • [TTFont] Added normalizeLocation method to normalize a location dict from the font's defined axes space (also known as "user space") into the normalized (-1..+1) space. It applies avar mapping if the font contains an avar table (fonttools/fonttools#2789).
  • [TTVarGlyphSet] Support drawing glyph instances from CFF2 variable glyph set (fonttools/fonttools#2784).
  • [fontBuilder] Do not error when building cmap if there are zero code points (fonttools/fonttools#2785).
  • [varLib.plot] Added ability to plot a variation model and set of accompaning master values corresponding to the model's master locations into a pyplot figure (fonttools/fonttools#2767).
  • [Snippets] Added statShape.py script to draw statistical shape of a glyph as an ellips (requires pycairo) (https://github.com/fonttools/fonttools/commit/baecd8850b878b1cc5ccf140d884754c4b8d2e9b).
  • [TTVarGlyphSet] implement drawPoints natively, avoiding going through SegmentToPointPen (fonttools/fonttools#2778).
  • [TTVarGlyphSet] Fixed bug whereby drawing a composite glyph multiple times, its components would shif; needed an extra copy (fonttools/fonttools#2774).
Changelog

Sourced from fonttools's changelog.

4.37.2 (released 2022-09-15)

  • [subset] Keep CPAL table and don't attempt to prune unused color indices if OT-SVG table is present even if COLR table was subsetted away; OT-SVG may be referencing the CPAL table; for now we assume that's the case (#2814, #2815).
  • [varLib.instancer] Downgrade GPOS/GSUB version if there are no more FeatureVariations after instancing (#2812).
  • [subset] Added --no-lazy to optionally load fonts eagerly (mostly to ease debugging of table lazy loading, no practical effects) (#2807).
  • [varLib] Avoid building empty COLR.DeltaSetIndexMap with only identity mappings (#2803).
  • [feaLib] Allow multiple value record types (by promoting to the most general format) within the same PairPos subtable; e.g. this allows variable and non variable kerning rules to share the same subtable. This also fixes a bug whereby some kerning pairs would become unreachable while shapiong because of premature subtable splitting (#2772, #2776).
  • [feaLib] Speed up VarScalar by caching models for recurring master locations (#2798).
  • [feaLib] Optionally cythonize feaLib.lexer, speeds up parsing FEA a bit (#2799).
  • [designspaceLib] Avoid crash when handling unbounded rule conditions (#2797).
  • [post] Don't crash if post legacy format 1 is malformed/improperly used (#2786)
  • [gvar] Don't be "lazy" (load all glyph variations up front) when TTFont.lazy=False (#2771).
  • [TTFont] Added normalizeLocation method to normalize a location dict from the font's defined axes space (also known as "user space") into the normalized (-1..+1) space. It applies avar mapping if the font contains an avar table (#2789).
  • [TTVarGlyphSet] Support drawing glyph instances from CFF2 variable glyph set (#2784).
  • [fontBuilder] Do not error when building cmap if there are zero code points (#2785).
  • [varLib.plot] Added ability to plot a variation model and set of accompaning master values corresponding to the model's master locations into a pyplot figure (#2767).
  • [Snippets] Added statShape.py script to draw statistical shape of a glyph as an ellips (requires pycairo) (baecd88).
  • [TTVarGlyphSet] implement drawPoints natively, avoiding going through SegmentToPointPen (#2778).
  • [TTVarGlyphSet] Fixed bug whereby drawing a composite glyph multiple times, its components would shif; needed an extra copy (#2774).
Commits
  • 1f9e6eb Release 4.37.2
  • 0be37c3 Update changelog [skip ci]
  • 276f6aa [subset] keep and don't prune CPAL if OT-SVG table is present
  • 1f8803a Merge pull request #2812 from fonttools/instancer-no-featurevars
  • 87bbb64 [instancer] downgrade GSUB/GPOS version if there are no FeatureVariations aft...
  • ecb8ee9 Merge pull request #2807 from fonttools/subset-no-lazy
  • 25a05c7 subset: add --no-lazy option to load font eagerly as TTFont(lazy=False)
  • ebeffeb Merge pull request #2803 from fonttools/colr-without-varidxmap
  • e4b3394 [varLib] omit optional COLR.VarIndexMap for identity mapping
  • 964df07 varLib_test: test we don't add no-op DeltaSetIndexMap when not needed
  • Additional commits viewable in compare view


Dependabot compatibility score

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.


Dependabot commands and options
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)
codecov[bot] commented 2 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@72f0789). Click here to learn what that means. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #952   +/-   ##
=======================================
  Coverage        ?   99.88%           
=======================================
  Files           ?       64           
  Lines           ?     1707           
  Branches        ?      251           
=======================================
  Hits            ?     1705           
  Misses          ?        1           
  Partials        ?        1           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

dependabot[bot] commented 2 years ago

Superseded by #957.