font-line icon indicating copy to clipboard operation
font-line copied to clipboard

Bump fonttools from 4.38.0 to 4.39.4

Open dependabot[bot] opened this issue 1 year ago • 0 comments

Bumps fonttools from 4.38.0 to 4.39.4.

Release notes

Sourced from fonttools's releases.

4.39.4

4.39.3

  • [sbix] Fixed TypeError when compiling empty glyphs whose imageData is None, regression was introduced in v4.39 (fonttools/fonttools#3059).
  • [ttFont] Fixed AttributeError on python <= 3.10 when opening a TTFont from a tempfile.SpooledTemporaryFile, seekable method was only added in python 3.11 (fonttools/fonttools#3052).

4.39.2

  • [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 (#3045, #3046).

NOTE: The 4.39.1 distribution was "yanked" from PyPI to prevent users from accidentally upgrading to it.

4.39.1

4.39.0

  • [mtiLib] Optionally add Debg debug info for MTI feature builds (#3018).
  • [ttx] Support reading input file from standard input using special - character, similar to existing -o - option to write output to standard output (#3020).
  • [cython] Prevent cython.compiled raise AttributeError if cython not installed properly (#3017).
  • [OS/2] Guard against ZeroDivisionError when calculating xAvgCharWidth in the unlikely scenario no glyph has non-zero advance (#3015).
  • [subset] Recompute xAvgCharWidth independently of --no-prune-unicode-ranges, previously the two options were involuntarily bundled together (#3012).
  • [fontBuilder] Add debug parameter to addOpenTypeFeatures method to add source debugging information to the font in the Debg private table (#3008).
  • [name] Make NameRecord __lt__ comparison not fail on Unicode encoding errors (#3006).
  • [featureVars] Fixed bug in overlayBox (#3003, #3005).
  • [glyf] Added experimental support for cubic bezier curves in TrueType glyf table, as outlined in glyf v1 proposal (#2988):
    https://github.com/harfbuzz/boring-expansion-spec/blob/main/glyf1-cubicOutlines.md
  • Added new qu2cu module and related qu2cuPen, the reverse of cu2qu for converting TrueType quadratic splines to cubic bezier curves (#2993).
  • [glyf] Added experimental support for reading and writing Variable Composites/Components as defined in glyf v1 spec proposal (#2958):
    https://github.com/harfbuzz/boring-expansion-spec/blob/main/glyf1-varComposites.md.
  • [pens]: Added addVarComponent method to pen protocols' base classes, which pens can implement to handle varcomponents (by default they get decomposed).
  • [misc.transform] Added DecomposedTransform class which implements an affine transformation with separate translate, rotation, scale, skew, and transformation-center components (#2598)
  • [sbix] Ensure Glyph.referenceGlyphName is set; fixes error after dumping and re-compiling sbix table with 'dupe' glyphs (#2984).
  • [feaLib] Be cleverer when merging chained single substitutions into same lookup when they are specified using the inline notation (#2150, #2974).
  • [instancer] Clamp user-inputted axis ranges to those of fvar (#2959).

... (truncated)

Changelog

Sourced from fonttools's changelog.

4.39.4 (released 2023-05-10)

  • [varLib.interpolatable] Allow for sparse masters (#3075)
  • [merge] Handle differing default/nominalWidthX in CFF (#3070)
  • [ttLib] Add missing main.py file to ttLib package (#3088)
  • [ttx] Fix missing composite instructions in XML (#3092)
  • [ttx] Fix split tables option to work on filenames containing '%' (#3096)
  • [featureVars] Process lookups for features other than rvrn last (#3099)
  • [feaLib] support multiple substitution with classes (#3103)

4.39.3 (released 2023-03-28)

  • [sbix] Fixed TypeError when compiling empty glyphs whose imageData is None, regression was introduced in v4.39 (#3059).
  • [ttFont] Fixed AttributeError on python <= 3.10 when opening a TTFont from a tempfile SpooledTemporaryFile, seekable method only added on python 3.11 (#3052).

4.39.2 (released 2023-03-16)

  • [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 (#3045, #3046).

4.39.1 (released 2023-03-16)

  • [avar2] Added experimental support for reading/writing avar version 2 as specified in this draft proposal: https://github.com/harfbuzz/boring-expansion-spec/blob/main/avar2.md
  • [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 (#3042).
  • [feaLib] Consult avar for normalizing user-space values in ConditionSets and in VariableScalars (#3042, #3043).
  • [ttProgram] Handle string input to Program.fromAssembly() (#3038).
  • [otlLib] Added a config option to emit GPOS 7 lookups, currently disabled by default because of a macOS bug (#3034).
  • [COLRv1] Added method to automatically compute ClipBoxes (#3027).
  • [ttFont] Fixed getGlyphID to raise KeyError on missing glyphs instead of returning None. The regression was introduced in v4.27.0 (#3032).
  • [sbix] Fixed UnboundLocalError: cannot access local variable 'rawdata' (#3031).
  • [varLib] When building VF, do not overwrite a pre-existing STAT table that was built with feaLib from FEA feature file. Also, added support for building multiple VFs defined in Designspace v5 from fonttools varLib script (#3024).
  • [mtiLib] Only add Debg table with lookup names when FONTTOOLS_LOOKUP_DEBUGGING env variable is set (#3023).

4.39.0 (released 2023-03-06)

... (truncated)

Commits
  • 4246c69 Release 4.39.4
  • f430da3 Fix setuptools warning
  • fbb30dc Merge pull request #3104 from fonttools/multiple-subst-classes-2
  • ddcb4dc Remove accidentally committed file
  • 88885ba feaLib: handle singleton class as a single glyph in multiple subst
  • b6209e0 Merge pull request #3103 from fonttools/multiple-subst-classes
  • f642a2a feaLib: support multiple substitution with classes
  • 6a13bdc [featureVars] Remove unused argument
  • 5b96fff [featureVars] Process lookups for features other than rvrn last
  • f026853 Merge pull request #3096 from timmaffett/fix_ttx_urlencode_filenames
  • 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] avatar May 11 '23 00:05 dependabot[bot]