Fonttools

Latest version: v4.55.3

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

Scan your dependencies

Page 31 of 37

3.13.0

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

- [varLib.mutator] Implement IUP optimization (969).
- [_g_l_y_f.GlyphCoordinates] Changed ``__bool__()`` semantics to match those
of other iterables (e46f949). Removed ``__abs__()`` (3db5be2).
- [varLib.interpolate_layout] Added ``mapped`` keyword argument to
``interpolate_layout`` to allow disabling avar mapping: if False (default),
the location is mapped using the map element of the axes in designspace file;
if True, it is assumed that location is in designspace's internal space and
no mapping is performed (950, 975).
- [varLib.interpolate_layout] Import designspace-loading logic from varLib.
- [varLib] Fixed bug with recombining PairPosClass2 subtables (81498e5, 914).
- [cffLib.specializer] When copying iterables, cast to list (462b7f86).

3.12.1

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

- [pens.t2CharStringPen] Fixed AttributeError when calling addComponent in
T2CharStringPen (965).

3.12.0

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

- [cffLib.specializer] Added new ``specializer`` module to optimize CFF
charstrings, used by the T2CharStringPen (948).
- [varLib.mutator] Sort glyphs by component depth before calculating composite
glyphs' bounding boxes to ensure deltas are correctly caclulated (945).
- [_g_l_y_f] Fixed loss of precision in GlyphCoordinates by using 'd' (double)
instead of 'f' (float) as ``array.array`` typecode (963, 964).

3.11.0

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

- [t2CharStringPen] Initial support for specialized Type2 path operators:
vmoveto, hmoveto, vlineto, hlineto, vvcurveto, hhcurveto, vhcurveto and
hvcurveto. This should produce more compact charstrings (940, 403).
- [Doc] Added Sphinx sources for the documentation. Thanks gferreira (935).
- [fvar] Expose flags in XML (932)
- [name] Add helper function for building multi-lingual names (921)
- [varLib] Fixed kern merging when a PairPosFormat2 has ClassDef1 with glyphs
that are NOT present in the Coverage (1b5e1c4, 939).
- [varLib] Fixed non-deterministic ClassDef order with PY3 (f056c12, 927).
- [feLib] Throw an error when the same glyph is defined in multiple mark
classes within the same lookup (3e3ff00, 453).

3.10.0

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

- [varLib] Added support for building ``avar`` table, using the designspace
``<map>`` elements.
- [varLib] Removed unused ``build(..., axisMap)`` argument. Axis map should
be specified in designspace file now. We do not accept nonstandard axes
if ``<axes>`` element is not present.
- [varLib] Removed "custom" axis from the ``standard_axis_map``. This was
added before when glyphsLib was always exporting the (unused) custom axis.
- [varLib] Added partial support for building ``MVAR`` table; does not
implement ``gasp`` table variations yet.
- [pens] Added FilterPen base class, for pens that control another pen;
factored out ``addComponent`` method from BasePen into a separate abstract
DecomposingPen class; added DecomposingRecordingPen, which records
components decomposed as regular contours.
- [TSI1] Fixed computation of the textLength of VTT private tables (913).
- [loggingTools] Added ``LogMixin`` class providing a ``log`` property to
subclasses, which returns a ``logging.Logger`` named after the latter.
- [loggingTools] Added ``assertRegex`` method to ``CapturingLogHandler``.
- [py23] Added backport for python 3's ``types.SimpleNamespace`` class.
- [EBLC] Fixed issue with python 3 ``zip`` iterator.

3.9.2

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

- [pens] Added pen to draw glyphs using WxPython ``GraphicsPath`` class:
https://wxpython.org/docs/api/wx.GraphicsPath-class.html
- [varLib.merger] Fixed issue with recombining multiple PairPosFormat2
subtables (888)
- [varLib] Do not encode gvar deltas that are all zeroes, or if all values
are smaller than tolerance.
- [ttLib] _TTGlyphSet glyphs now also have ``height`` and ``tsb`` (top
side bearing) attributes from the ``vmtx`` table, if present.
- [glyf] In ``GlyphCoordintes`` class, added ``__bool__`` / ``__nonzero__``
methods, and ``array`` property to get raw array.
- [ttx] Support reading TTX files with BOM (896)
- [CFF2] Fixed the reporting of the number of regions in the font.

Page 31 of 37

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.