Fonttools

Latest version: v4.55.3

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

Scan your dependencies

Page 11 of 37

4.31.0

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

- [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

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

- [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
``buildStatTabe`` 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).

4.29.1

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

- [colorLib] Fixed rounding issue with radial gradient's start/end circles inside
one another (2521).
- [freetypePen] Handle rotate/skew transform when auto-computing width/height of the
buffer; raise PenError wen missing moveTo (2517)

4.29.0

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

- [ufoLib] Fixed illegal characters and expanded reserved filenames (2506).
- [COLRv1] Don't emit useless PaintColrLayers of lenght=1 in LayerListBuilder (2513).
- [ttx] Removed legacy ``waitForKeyPress`` method on Windows (2509).
- [pens] Added FreeTypePen that uses ``freetype-py`` and the pen protocol for
rasterizating outline paths (2494).
- [unicodedata] Updated the script direction list to Unicode 14.0 (2484).
Bumped unicodedata2 dependency to 14.0 (2499).
- [psLib] Fixed type of ``fontName`` in ``suckfont`` (2496).

4.28.5

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

- [svgPathPen] Continuation of 2471: make sure all occurrences of ``str()`` are now
replaced with user-defined ``ntos`` callable.
- [merge] Refactored code into submodules, plus several bugfixes and improvements:
fixed duplicate-glyph-resolution GSUB-lookup generation code; use tolerance in glyph
comparison for empty glyph's width; ignore space of default ignorable glyphs;
downgrade duplicates-resolution missing-GSUB from assert to warn; added --drop-tables
option (2473, 2475, 2476).

4.28.4

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

- [merge] Merge GDEF marksets in Lookups properly (2474).
- [feaLib] Have ``fontTools feaLib`` script exit with error code when build fails (2459)
- [svgPathPen] Added ``ntos`` option to customize number formatting (e.g. rounding) (2471).
- [subset] Speed up subsetting of large CFF fonts (2467).
- [otTables] Speculatively promote lookups to extension to speed up compilation. If the
offset to lookup N is too big to fit in a ushort, the offset to lookup N+1 is going to
be too big as well, so we promote to extension all lookups from lookup N onwards (2465).

Page 11 of 37

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.