Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Bump fonttools from 4.34.4 to 4.37.4 #131

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 20, 2022

Bumps fonttools from 4.34.4 to 4.37.4.

Release notes

Sourced from fonttools's releases.

4.37.4

  • [subset] Keep nameIDs used by CPAL palette entry labels (#2837).
  • [varLib] Avoid negative hmtx values when creating font from variable CFF2 font (#2827).
  • [instancer] Don't prune stat.ElidedFallbackNameID (#2828).
  • [unicodedata] Update Scripts/Blocks to Unicode 15.0 (#2833).

4.37.3

  • Fix arguments in calls to (glyf) glyph.draw() and drawPoints(), whereby offset wasn't correctly passed down; this fix also exposed a second bug, where lsb and tsb were not set (#2824, #2825, adobe-type-tools/afdko#1560).

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) (fonttools/fonttools@baecd88).
  • [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).

4.37.1

  • [subset] Fixed regression introduced with v4.37.0 while subsetting the VarStore of HVAR and VVAR tables, whereby an AttributeError: subset_varidxes was thrown because an apparently unused import statement (with the side-effect of dynamically binding that subset_varidxes method to the VarStore class) had been accidentally deleted in an unrelated PR (#2769, #2773).
  • [pens] Added cairoPen (#2768).
  • [gvar] Read gvar more lazily by not parsing all of the glyf table (#2771).
  • [ttGlyphSet] Make drawPoints(pointPen) method work for CFF fonts as well via adapter pen (#2770).

4.37.0

4.36.0

  • [varLib.models] Use a simpler model that generates narrower "tents" (regions, master supports) whenever possible: specifically when any two axes that actively "cooperate" (have masters at non-zero positions for both axes) have a complete set of intermediates.
    The simpler algorithm produces fewer overlapping regions and behaves better with respect to rounding at the peak positions than the generic solver, always matching intermediate masters exactly, instead of maximally 0.5 units off. This may be useful when 100% metrics compatibility is desired (#2218, #2717).
  • [feaLib] Remove warning when about GDEF not being built when explicitly not requested; don't build one unconditonally even when not requested (#2744, also works around #2747).
  • [ttFont] TTFont.getGlyphSet method now supports selecting a location that represents an instance of a variable font (supports both user-scale and normalized axes coordinates via the normalized=False parameter). Currently this only works for TrueType-flavored variable fonts (#2738).

4.35.0

... (truncated)

Changelog

Sourced from fonttools's changelog.

4.37.4 (released 2022-09-30)

  • [subset] Keep nameIDs used by CPAL palette entry labels (#2837).
  • [varLib] Avoid negative hmtx values when creating font from variable CFF2 font (#2827).
  • [instancer] Don't prune stat.ElidedFallbackNameID (#2828).
  • [unicodedata] Update Scripts/Blocks to Unicode 15.0 (#2833).

4.37.3 (released 2022-09-20)

  • Fix arguments in calls to (glyf) glyph.draw() and drawPoints(), whereby offset wasn't correctly passed down; this fix also exposed a second bug, where lsb and tsb were not set (#2824, #2825, adobe-type-tools/afdko#1560).

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).

4.37.1 (released 2022-08-24)

... (truncated)

Commits
  • 67f759a Release 4.37.4
  • 25bcde5 Merge pull request #2837 from daltonmaag/fix-subset-palette-labels
  • a01e20a Update news
  • eeba234 [subset] PR feedback implementation
  • 14ce08b [subset] extend CPALv1 test
  • 70112b9 [subset] prevent CPAL nameIDs from being dropped
  • 4901dea [subset] Add test for CPALv1 (failing !)
  • b945fd6 [subset] Fix enumeration of palette entry labels
  • bf6078a Merge pull request #2833 from fonttools/unicode-15
  • ea534a4 unicodedata: Update Scripts/Blocks to Unicode 15.0
  • 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)

Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.34.4 to 4.37.4.
- [Release notes](https://github.com/fonttools/fonttools/releases)
- [Changelog](https://github.com/fonttools/fonttools/blob/main/NEWS.rst)
- [Commits](fonttools/fonttools@4.34.4...4.37.4)

---
updated-dependencies:
- dependency-name: fonttools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 20, 2022
@dependabot dependabot bot requested a review from a team October 20, 2022 23:02
@sonarcloud
Copy link

sonarcloud bot commented Oct 20, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 24, 2022

Superseded by #151.

@dependabot dependabot bot closed this Oct 24, 2022
@dependabot dependabot bot deleted the dependabot/pip/main/fonttools-4.37.4 branch October 24, 2022 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants