Fonttools

Latest version: v4.55.3

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

Scan your dependencies

Page 30 of 37

3.17.0

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

- [svgPathPen] Added an ``SVGPathPen`` that translates segment pen commands
into SVG path descriptions. Copied from Tal Leming's ``ufo2svg.svgPathPen``
https://github.com/typesupply/ufo2svg/blob/d69f992/Lib/ufo2svg/svgPathPen.py
- [reverseContourPen] Added ``ReverseContourPen``, a filter pen that draws
contours with the winding direction reversed, while keeping the starting
point (1071).
- [filterPen] Added ``ContourFilterPen`` to manipulate contours as a whole
rather than segment by segment.
- [arrayTools] Added ``Vector`` class to apply math operations on an array
of numbers, and ``pairwise`` function to loop over pairs of items in an
iterable.
- [varLib] Added support for building and interpolation of ``cvar`` table
(f874cf6, a25a401).

3.16.0

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

- [head] Try using ``SOURCE_DATE_EPOCH`` environment variable when setting
the ``head`` modified timestamp to ensure reproducible builds (1063).
See https://reproducible-builds.org/specs/source-date-epoch/
- [VTT] Decode VTT's ``TSI*`` tables text as UTF-8 (1060).
- Added support for Graphite font tables: Feat, Glat, Gloc, Silf and Sill.
Thanks mhosken! (1054).
- [varLib] Default to using axis "name" attribute if "labelname" element
is missing (588f524).
- [merge] Added support for merging Script records. Remove unused features
and lookups after merge (d802580, 556508b).
- Added ``fontTools.svgLib`` package. Includes a parser for SVG Paths that
supports the Pen protocol (1051). Also, added a snippet to convert SVG
outlines to UFO GLIF (1053).
- [AAT] Added support for ``ankr``, ``bsln``, ``mort``, ``morx``, ``gcid``,
and ``cidg``.
- [subset] Implemented subsetting of ``prop``, ``opbd``, ``bsln``, ``lcar``.

3.15.1

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

- [otConverters] Implemented ``__add__`` and ``__radd__`` methods on
``otConverters._LazyList`` that decompile a lazy list before adding
it to another list or ``_LazyList`` instance. Fixes an ``AttributeError``
in the ``subset`` module when attempting to sum ``_LazyList`` objects
(6ef48bd2, 1aef1683).
- [AAT] Support the `opbd` table with optical bounds (a47f6588).
- [AAT] Support `prop` table with glyph properties (d05617b4).

3.15.0

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

- [AAT] Added support for AAT lookups. The ``lcar`` table can be decompiled
and recompiled; futher work needed to handle ``morx`` table (1025).
- [subset] Keep (empty) DefaultLangSys for Script 'DFLT' (6eb807b5).
- [subset] Support GSUB/GPOS.FeatureVariations (fe01d87b).
- [varLib] In ``models.supportScalars``, ignore an axis when its peak value
is 0 (fixes 1020).
- [varLib] Add default mappings to all axes in avar to fix rendering issue
in some rasterizers (19c4b377, 04eacf13).
- [varLib] Flatten multiple tail PairPosFormat2 subtables before merging
(c55ef525).
- [ttLib] Added support for recalculating font bounding box in ``CFF`` and
``head`` tables, and min/max values in ``hhea`` and ``vhea`` tables (970).

3.14.0

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

- [varLib.merger] Remove Extensions subtables before merging (f7c20cf8).
- [varLib] Initialize the avar segment map with required default entries
(1014).
- [varLib] Implemented optimal IUP optmiziation (1019).
- [otData] Add ``AxisValueFormat4`` for STAT table v1.2 from OT v1.8.2
(1015).
- [name] Fixed BCP46 language tag for Mac langID=9: 'si' -> 'sl'.
- [subset] Return value from ``_DehintingT2Decompiler.op_hintmask``
(c0d672ba).
- [cffLib] Allow to get TopDict by index as well as by name (dca96c9c).
- [cffLib] Removed global ``isCFF2`` state; use one set of classes for
both CFF and CFF2, maintaining backward compatibility existing code (1007).
- [cffLib] Deprecated maxstack operator, per OpenType spec update 1.8.1.
- [cffLib] Added missing default (-100) for UnderlinePosition (983).
- [feaLib] Enable setting nameIDs greater than 255 (1003).
- [varLib] Recalculate ValueFormat when merging SinglePos (996).
- [varLib] Do not emit MVAR if there are no entries in the variation store
(987).
- [ttx] For ``-x`` option, pad with space if table tag length is < 4.

3.13.1

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

- [feaLib.builder] Removed duplicate lookups optimization. The original
lookup order and semantics of the feature file are preserved (976).

Page 30 of 37

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.