Slice
Slice copied to clipboard
Bump fonttools[woff] from 4.23.0 to 4.37.1
Bumps fonttools[woff] from 4.23.0 to 4.37.1.
Release notes
Sourced from fonttools[woff]'s releases.
4.37.1
- [subset] Fixed regression introduced with v4.37.0 while subsetting the VarStore of
HVARandVVARtables, whereby anAttributeError: subset_varidxeswas thrown because an apparently unused import statement (with the side-effect of dynamically binding thatsubset_varidxesmethod to the VarStore class) had been accidentally deleted in an unrelated PR (#2679, #2773).- [pens] Added
cairoPen(#2678).- [gvar] Read
gvarmore lazily by not parsing all of theglyftable (#2771).- [ttGlyphSet] Make
drawPoints(pointPen)method work for CFF fonts as well via adapter pen (#2770).4.37.0
- [varLib.models] Reverted PR fonttools/fonttools#2717 which added support for "narrow tents" in v4.36.0, as it introduced a regression (fonttools/fonttools#2764, fonttools/fonttools#2765).
It will be restored in upcoming release once we found a solution to the bug.- [cff.specializer] Fixed issue in charstring generalizer with the
blendoperator (fonttools/fonttools#2750, fonttools/fonttools#1975).- [varLib.models] Added support for extrapolation (fonttools/fonttools#2757).
- [ttGlyphSet] Ensure the newly added
_TTVarGlyphSetinherits from_TTGlyphSetto keep backward compatibility with existing API (fonttools/fonttools#2762).- [kern] Allow compiling legacy kern tables with more than 64k entries (https://github.com/fonttools/fonttools/commit/d21cfdede57e1de8d50f1757f3b377a2c4a2033c).
- [visitor] Added new visitor API to traverse tree of objects and dispatch based on the attribute type: cf.
fontTools.misc.visitorandfontTools.ttLib.ttVisitor. AddedfontTools.ttLib.scaleUpemmodule that uses the latter to change a font's units-per-em and scale all the related fields accordingly (fonttools/fonttools#2718, fonttools/fonttools#2755).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
GDEFnot being built when explicitly not requested; don't build one unconditonally even when not requested (#2744, also works around #2747).- [ttFont]
TTFont.getGlyphSetmethod now supports selecting a location that represents an instance of a variable font (supports both user-scale and normalized axes coordinates via thenormalized=Falseparameter). Currently this only works for TrueType-flavored variable fonts (#2738).4.35.0
- [otData/otConverters] Added support for 'biased' PaintSweepGradient start/end angles to match latest COLRv1 spec (#2743).
- [varLib.instancer] Fixed bug in
_instantiateFeatureVariationswhen at the same time pinning one axis and restricting the range of a subsequent axis; the wrong axis tag was being used in the latter step (as the records' axisIdx was updated in the preceding step but looked up using the old axes order in the following step) (#2733, #2734).- [mtiLib] Pad script tags with space when less than 4 char long (#1727).
- [merge] Use
'.'instead of'#'in duplicate glyph names (#2742).- [gvar] Added support for lazily loading glyph variations (#2741).
- [varLib] In
build_many, we forgot to pass oncolr_layer_reuseparameter to thebuildmethod (#2730).- [svgPathPen] Add a main that prints SVG for input text (6df779fd).
- [cffLib.width] Fixed off-by-one in optimized values; previous code didn't match the code block above it (2963fa50).
- [varLib.interpolatable] Support reading .designspace and .glyphs files (via optional
glyphsLib).- Compile some modules with Cython when available and building/installing fonttools from source:
varLib.iup(35% faster),pens.momentsPen(makesvarLib.interpolatable3x faster).- [feaLib] Allow features to be built for VF without also building a GDEF table (e.g. only build GSUB); warn when GDEF would be needed but isn't requested (#2705, #2694).
- [otBase] Fixed
AttributeErrorwhen uharfbuzz < 0.23.0 andrepackmethod is missing (32aa8eaf).
Use newuharfbuzz.repack_with_tagwhen available (since uharfbuzz>=0.30.0), enables table-specific optimizations to be performed during repacking (#2724).- [statisticsPen] By default report all glyphs (4139d891). Avoid division-by-zero (52b28f90).
- [feaLib] Added missing required argument to FeatureLibError exception (#2693)
- [varLib.merge] Fixed error during error reporting (#2689). Fixed undefined
NotANonevariable (#2714).4.34.4
- Fixed typo in varLib/merger.py that causes NameError merging COLR glyphs containing more than 255 layers (#2685).
4.34.3
- [designspaceLib] Don't make up bad PS names when no STAT data (#2684)
4.34.2
- [varStore/subset] fixed KeyError exception to do with NO_VARIATION_INDEX while subsetting varidxes in GPOS/GDEF (a08140d).
4.34.1
- [instancer] When optimizing HVAR/VVAR VarStore, use_NO_VARIATION_INDEX=False to avoid including NO_VARIATION_INDEX in AdvWidthMap, RsbMap, LsbMap mappings, which would push the VarIdx width to maximum (4bytes), which is not desirable. This also fixes a hard crash when attempting to subset a varfont after it had been partially instanced with use_NO_VARIATION_INDEX=True.
... (truncated)
Changelog
Sourced from fonttools[woff]'s changelog.
4.37.1 (released 2022-08-24)
- [subset] Fixed regression introduced with v4.37.0 while subsetting the VarStore of
HVARandVVARtables, whereby anAttributeError: subset_varidxeswas thrown because an apparently unused import statement (with the side-effect of dynamically binding thatsubset_varidxesmethod to the VarStore class) had been accidentally deleted in an unrelated PR (#2679, #2773).- [pens] Added
cairoPen(#2678).- [gvar] Read
gvarmore lazily by not parsing all of theglyftable (#2771).- [ttGlyphSet] Make
drawPoints(pointPen)method work for CFF fonts as well via adapter pen (#2770).4.37.0 (released 2022-08-23)
- [varLib.models] Reverted PR #2717 which added support for "narrow tents" in v4.36.0, as it introduced a regression (#2764, #2765). It will be restored in upcoming release once we found a solution to the bug.
- [cff.specializer] Fixed issue in charstring generalizer with the
blendoperator (#2750, #1975).- [varLib.models] Added support for extrapolation (#2757).
- [ttGlyphSet] Ensure the newly added
_TTVarGlyphSetinherits from_TTGlyphSetto keep backward compatibility with existing API (#2762).- [kern] Allow compiling legacy kern tables with more than 64k entries (d21cfdede).
- [visitor] Added new visitor API to traverse tree of objects and dispatch based on the attribute type: cf.
fontTools.misc.visitorandfontTools.ttLib.ttVisitor. AddedfontTools.ttLib.scaleUpemmodule that uses the latter to change a font's units-per-em and scale all the related fields accordingly (#2718, #2755).4.36.0 (released 2022-08-17)
- [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
GDEFnot being built when explicitly not requested; don't build one unconditonally even when not requested (#2744, also works around #2747).- [ttFont]
TTFont.getGlyphSetmethod now supports selecting a location that represents an instance of a variable font (supports both user-scale and normalized axes coordinates via thenormalized=Falseparameter). Currently this only works for TrueType-flavored variable fonts (#2738).4.35.0 (released 2022-08-15)
... (truncated)
Commits
2edaa2aRelease 4.37.188e105fUpdate changelog [skip ci]4e43dc2Merge pull request #2773 from fonttools/subset-variable2796584[subset] Fix subsetting of variable fonts78f12ab[pens] Add cairoPen33b2dfeMerge pull request #2771 from fonttools/faster-lazy-gvar0637b24Read gvar more lazily by not parsing all of the 'glyf' table21058f6Merge pull request #2770 from fonttools/cff-glyphset-drawpoints5aa83bemake glyphset[gn].drawPoints(pointPen) work for CFF8610745Bump version: 4.37.0 → 4.37.1.dev0- Additional commits viewable in compare view
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 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)