Fonttools

Latest version: v4.53.0

Safety actively analyzes 642295 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 15 of 36

4.19.0

Not secure
----------------------------

- [codecs] Handle ``errors`` parameter different from 'strict' for the custom
extended mac encodings (2137, 2132).
- [featureVars] Raise better error message when a script is missing the required
default language system (2154).
- [COLRv1] Avoid abrupt change caused by rounding ``PaintRadialGradient.c0`` when
the start circle almost touches the end circle's perimeter (2148).
- [COLRv1] Support building unlimited lists of paints as 255-ary trees of
``PaintColrLayers`` tables (2153).
- [subset] Prune redundant format-12 cmap subtables when all non-BMP characters
are dropped (2146).
- [basePen] Raise ``MissingComponentError`` instead of bare ``KeyError`` when a
referenced component is missing (2145).

4.18.2

Not secure
----------------------------

- [COLRv1] Implemented ``PaintTranslate`` paint format (2129).
- [varLib.cff] Fixed unbound local variable error (1787).
- [otlLib] Don't crash when creating OpenType class definitions if some glyphs
occur more than once (2125).

4.18.1

Not secure
----------------------------

- [colorLib] Speed optimization for ``LayerV1ListBuilder`` (2119).
- [mutator] Fixed missing tab in ``interpolate_cff2_metrics`` (0957dc7a).

4.18.0

Not secure
----------------------------

- [COLRv1] Update to latest draft: added ``PaintRotate`` and ``PaintSkew`` (2118).
- [woff2] Support new ``brotlicffi`` bindings for PyPy (2117).
- [glifLib] Added ``expectContentsFile`` parameter to ``GlyphSet``, for use when
reading existing UFOs, to comply with the specification stating that a
``contents.plist`` file must exist in a glyph set (2114).
- [subset] Allow ``LangSys`` tags in ``--layout-scripts`` option (2112). For example:
``--layout-scripts=arab.dflt,arab.URD,latn``; this will keep ``DefaultLangSys``
and ``URD`` language for ``arab`` script, and all languages for ``latn`` script.
- [varLib.interpolatable] Allow UFOs to be checked; report open paths, non existant
glyphs; add a ``--json`` option to produce a machine-readable list of
incompatibilities
- [pens] Added ``QuartzPen`` to create ``CGPath`` from glyph outlines on macOS.
Requires pyobjc (2107).
- [feaLib] You can export ``FONTTOOLS_LOOKUP_DEBUGGING=1`` to enable feature file
debugging info stored in ``Debg`` table (2106).
- [otlLib] Build more efficient format 1 and format 2 contextual lookups whenever
possible (2101).

4.17.1

Not secure
----------------------------

- [colorLib] Fixed regression in 4.17.0 when building COLR v0 table; when color
layers are stored in UFO lib plist, we can't distinguish tuples from lists so
we need to accept either types (e5439eb9, googlefonts/ufo2ft/issues426).

4.17.0

Not secure
----------------------------

- [colorLib/otData] Updated to latest draft ``COLR`` v1 spec (2092).
- [svgLib] Fixed parsing error when arc commands' boolean flags are not separated
by space or comma (2094).
- [varLib] Interpret empty non-default glyphs as 'missing', if the default glyph is
not empty (2082).
- [feaLib.builder] Only stash lookup location for ``Debg`` if ``Builder.buildLookups_``
has cooperated (2065, 2067).
- [varLib] Fixed bug in VarStore optimizer (2073, 2083).
- [varLib] Add designspace lib key for custom feavar feature tag (2080).
- Add HashPointPen adapted from psautohint. With this pen, a hash value of a glyph
can be computed, which can later be used to detect glyph changes (2005).

Page 15 of 36

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.