source-foundry / Slice

An open-source, cross-platform GUI app to generate custom font design spaces from variable fonts
https://slice-gui.netlify.app/
GNU General Public License v3.0
157 stars 9 forks source link

Bump fonttools[woff] from 4.23.0 to 4.33.0 #84

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps fonttools[woff] from 4.23.0 to 4.33.0.

Release notes

Sourced from fonttools[woff]'s releases.

4.33.0

  • [OS/2 / merge] Automatically recalculate OS/2.xAvgCharWidth after merging fonts with fontTools.merge (#2591, #2538).
  • [misc/config] Added fontTools.misc.configTools module, a generic configuration system (#2416, #2349).
    Added fontTools.config module, a fontTools-specific configuration system using configTools above.
    Attached a Config object to TTFont.
  • [otlLib] Replaced environment variable for GPOS compression level with an equivalent option using the new config system.
  • [designspaceLib] Incremented format version to 5.0 (#2436).
    Added discrete axes, variable fonts, STAT information, either design- or user-space location on instances.
    Added fontTools.designspaceLib.split module to split a designspace into sub-spaces that interpolate and that represent the variable fonts listed in the document.
    Made instance names optional and allow computing them from STAT data instead. Added fontTools.designspaceLib.statNames module.
    Allow instances to have the same location as a previously defined STAT label.
    Deprecated some attributes:
    SourceDescriptor: copyLib, copyInfo, copyGroups, copyFeatures.
    InstanceDescriptor: kerning, info; glyphs: use rules or sparse sources.
    For both, location: use the more explicit designLocation.
    Note: all are soft deprecations and existing code should keep working.
    Updated documentation for Python methods and the XML format.
  • [varLib] Added build_many to build several variable fonts from a single designspace document (#2436).
    Added fontTools.varLib.stat module to build STAT tables from a designspace document.
  • [otBase] Try to use the Harfbuzz Repacker for packing GSUB/GPOS tables when uharfbuzz python bindings are available (#2552). Disable it by setting the "fontTools.ttLib.tables.otBase:USE_HARFBUZZ_REPACKER" config option to False. If the option is set explicitly to True but uharfbuzz can't be imported or fails to serialize for any reasons, an error will be raised (ImportError or uharfbuzz errors).
  • [CFF/T2] Ensure that pen.closePath() gets called for CFF2 charstrings (#2577). Handle implicit CFF2 closePath within T2OutlineExtractor (#2580).

4.32.0

  • [otlLib] Disable GPOS7 optimization to work around bug in Apple CoreText. Always force Chaining GPOS8 for now (#2540).
  • [glifLib] Added outputImpliedClosingLine=False parameter to Glyph.draw(), to control behaviour of PointToSegmentPen (6b4e2e7).
  • [varLib.interpolatable] Check for wrong contour starting point (#2571).
  • [cffLib] Remove leftover GlobalState class and fix calls to TopDictIndex() (#2569, #2570).
  • [instancer] Clear AxisValueArray if it is empty after instantiating (#2563).

4.31.2

  • [varLib] fix instantiation of GPOS SinglePos values (#2555).

4.31.1

  • [subset] fix subsetting OT-SVG when glyph id attribute is on the root <svg> element (#2553).

4.31.0

  • [ttCollection] Fixed 'ResourceWarning: unclosed file' warning (#2549).
  • [varLib.merger] Handle merging SinglePos with valueformat=0 (#2550).
  • [ttFont] Update glyf's glyphOrder when calling TTFont.setGlyphOrder() (#2544).
  • [ttFont] Added ensureDecompiled method to load all tables irrespective of the lazy attribute (#2551).
  • [otBase] Added iterSubTable method to iterate over BaseTable's children of type BaseTable; useful for traversing a tree of otTables (#2551).

4.30.0

  • [varLib] Added debug logger showing the glyph name for which gvar is built (#2542).
  • [varLib.errors] Fixed undefined names in FoundANone and UnsupportedFormat exceptions (ac4d5611).
  • [otlLib.builder] Added windowsNames and macNames (bool) parameters to the buildStatTable function, so that one can select whether to only add one or both of the two sets (#2528).
  • [t1Lib] Added the ability to recreate PostScript stream (#2504).
  • [name] Added getFirstDebugName, getBest{Family,SubFamily,Full}Name methods (#2526).

... (truncated)

Changelog

Sourced from fonttools[woff]'s changelog.

4.33.0 (released 2022-04-21)

  • [OS/2 / merge] Automatically recalculate OS/2.xAvgCharWidth after merging fonts with fontTools.merge (#2591, #2538).
  • [misc/config] Added fontTools.misc.configTools module, a generic configuration system (#2416, #2439).
    Added fontTools.config module, a fontTools-specific configuration system using configTools above.
    Attached a Config object to TTFont.
  • [otlLib] Replaced environment variable for GPOS compression level with an equivalent option using the new config system.
  • [designspaceLib] Incremented format version to 5.0 (#2436).
    Added discrete axes, variable fonts, STAT information, either design- or user-space location on instances.
    Added fontTools.designspaceLib.split module to split a designspace into sub-spaces that interpolate and that represent the variable fonts listed in the document.
    Made instance names optional and allow computing them from STAT data instead. Added fontTools.designspaceLib.statNames module.
    Allow instances to have the same location as a previously defined STAT label.
    Deprecated some attributes:
    SourceDescriptor: copyLib, copyInfo, copyGroups, copyFeatures.
    InstanceDescriptor: kerning, info; glyphs: use rules or sparse sources.
    For both, location: use the more explicit designLocation.
    Note: all are soft deprecations and existing code should keep working.
    Updated documentation for Python methods and the XML format.
  • [varLib] Added build_many to build several variable fonts from a single designspace document (#2436).
    Added fontTools.varLib.stat module to build STAT tables from a designspace document.
  • [otBase] Try to use the Harfbuzz Repacker for packing GSUB/GPOS tables when uharfbuzz python bindings are available (#2552). Disable it by setting the "fontTools.ttLib.tables.otBase:USE_HARFBUZZ_REPACKER" config option to False. If the option is set explicitly to True but uharfbuzz can't be imported or fails to serialize for any reasons, an error will be raised (ImportError or uharfbuzz errors).
  • [CFF/T2] Ensure that pen.closePath() gets called for CFF2 charstrings (#2577). Handle implicit CFF2 closePath within T2OutlineExtractor (#2580).

4.32.0 (released 2022-04-08)

  • [otlLib] Disable GPOS7 optimization to work around bug in Apple CoreText. Always force Chaining GPOS8 for now (#2540).
  • [glifLib] Added outputImpliedClosingLine=False parameter to Glyph.draw(), to control behaviour of PointToSegmentPen (6b4e2e7).
  • [varLib.interpolatable] Check for wrong contour starting point (#2571).
  • [cffLib] Remove leftover GlobalState class and fix calls to TopDictIndex()

... (truncated)

Commits
  • f81ec49 Release 4.33.0
  • 8f565e3 NEWS.rst: removed nested bullet list, twine check didn't like them
  • 1ad453c NEWS.rst: try fix nested lists
  • 285664e Update NEWS.rst
  • 83df0ab Merge pull request #2591 from fonttools/merge-recalc-OS2-xAvgCharWidth
  • bb1dbf4 drop the 'X' from recalcAvgCharWidth method name
  • ee2d83d [merge] use recalcXAvgCharWidth method on merged font
  • 12942fe [subset] use recalcXAvgCharWidth method
  • 5455f53 [fontBuilder] use recalcXAvgCharWidth method
  • 3731056 [OS/2] define recalcXAvgCharWidth method
  • 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)
dependabot[bot] commented 2 years ago

Superseded by #85.