font-line
font-line copied to clipboard
Bump fonttools from 4.38.0 to 4.39.4
Bumps fonttools from 4.38.0 to 4.39.4.
Release notes
Sourced from fonttools's releases.
4.39.4
- [varLib.interpolatable] Allow for sparse masters (fonttools/fonttools#3075)
- [merge] Handle differing default/nominalWidthX in CFF (fonttools/fonttools#3070)
- [ttLib] Add missing main.py file to ttLib package (fonttools/fonttools#3088)
- [ttx] Fix missing composite instructions in XML (fonttools/fonttools#3092)
- [ttx] Fix split tables option to work on filenames containing '%' (fonttools/fonttools#3096)
- [featureVars] Process lookups for features other than rvrn last (fonttools/fonttools#3099)
- [feaLib] Support multiple substitution with classes (fonttools/fonttools#3103)
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
- [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 (fonttools/fonttools#3029).
- [feaLib] Consult avar for normalizing user-space values in ConditionSets and in VariableScalars (fonttools/fonttools#3042, fonttools/fonttools#3043).
- [ttProgram] Handle string input to Program.fromAssembly() (fonttools/fonttools#3038).
- [otlLib] Added a config option to emit GPOS 7 lookups, currently disabled by default because of a macOS bug (fonttools/fonttools#3034).
- [COLRv1] Added method to automatically compute ClipBoxes (fonttools/fonttools#3027).
- [ttFont] Fixed getGlyphID to raise KeyError on missing glyphs instead of returning None. The regression was introduced in v4.27.0 (fonttools/fonttools#3032).
- [sbix] Fixed UnboundLocalError: cannot access local variable 'rawdata' (fonttools/fonttools#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 fromfonttools varLib
script (fonttools/fonttools#3024).- [mtiLib] Only add
Debg
table with lookup names whenFONTTOOLS_LOOKUP_DEBUGGING
env variable is set (fonttools/fonttools#3023).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 theDebg
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 fromfonttools varLib
script (#3024).- [mtiLib] Only add
Debg
table with lookup names whenFONTTOOLS_LOOKUP_DEBUGGING
env variable is set (#3023).4.39.0 (released 2023-03-06)
... (truncated)
Commits
4246c69
Release 4.39.4f430da3
Fix setuptools warningfbb30dc
Merge pull request #3104 from fonttools/multiple-subst-classes-2ddcb4dc
Remove accidentally committed file88885ba
feaLib: handle singleton class as a single glyph in multiple substb6209e0
Merge pull request #3103 from fonttools/multiple-subst-classesf642a2a
feaLib: support multiple substitution with classes6a13bdc
[featureVars] Remove unused argument5b96fff
[featureVars] Process lookups for features other than rvrn lastf026853
Merge pull request #3096 from timmaffett/fix_ttx_urlencode_filenames- 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 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)