Fonttools

Latest version: v4.54.1

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

Scan your dependencies

Page 23 of 37

3.41.0

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

- [varLib/cffLib] Added support for building ``CFF2`` variable font from sparse
masters, or masters with more than one model (multiple ``VarStore.VarData``).
In ``cffLib.specializer``, added support for ``CFF2`` CharStrings with
``blend`` operators (1547, 1591).
- [subset] Fixed subsetting ``HVAR`` and ``VVAR`` with ``--retain-gids`` option,
and when advances mapping is null while sidebearings mappings are non-null
(1587, 1588).
- Added ``otlLib.maxContextCalc`` module to compute ``OS/2.usMaxContext`` value.
Calculate it automatically when compiling features with feaLib. Added option
``--recalc-max-context`` to ``subset`` module (1582).
- [otBase/otTables] Fixed ``AttributeError`` on missing OT table fields after
importing font from TTX (1584).
- [graphite] Fixed typo ``Silf`` table's ``decompile`` method (1586).
- [otlLib] Better compress ``GPOS`` SinglePos (LookupType 1) subtables (1539).

3.40.0

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

- [subset] Fixed error while subsetting ``VVAR`` with ``--retain-gids``
option (1552).
- [designspaceLib] Use up-to-date default location in ``findDefault`` method
(1554).
- [voltLib] Allow passing file-like object to Parser.
- [arrayTools/glyf] ``calcIntBounds`` (used to compute bounding boxes of glyf
table's glyphs) now uses ``otRound`` instead of ``round3`` (1566).
- [svgLib] Added support for converting more SVG shapes to path ``d`` strings
(ellipse, line, polyline), as well as support for ``transform`` attributes.
Only ``matrix`` transformations are currently supported (1564, 1564).
- [varLib] Added support for building ``VVAR`` table from ``vmtx`` and ``VORG``
tables (1551).
- [fontBuilder] Enable making CFF2 fonts with ``post`` table format 2 (1557).
- Fixed ``DeprecationWarning`` on invalid escape sequences (1562).

3.39.0

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

- [ttLib/glyf] Raise more specific error when encountering recursive
component references (1545, 1546).
- [Doc/designspaceLib] Defined new ``public.skipExportGlyphs`` lib key (1534,
unified-font-object/ufo-spec84).
- [varLib] Use ``vmtx`` to compute vertical phantom points; or ``hhea.ascent``
and ``head.unitsPerEM`` if ``vmtx`` is missing (1528).
- [gvar/cvar] Sort XML element's min/value/max attributes in TupleVariation
toXML to improve readability of TTX dump (1527).
- [varLib.plot] Added support for 2D plots with only 1 variation axis (1522).
- [designspaceLib] Use axes maps when normalizing locations in
DesignSpaceDocument (1226, 1521), and when finding default source (1535).
- [mutator] Set ``OVERLAP_SIMPLE`` and ``OVERLAP_COMPOUND`` glyf flags by
default in ``instantiateVariableFont``. Added ``--no-overlap`` cli option
to disable this (1518).
- [subset] Fixed subsetting ``VVAR`` table (1516, 1517).
Fixed subsetting an ``HVAR`` table that has an ``AdvanceWidthMap`` when the
option ``--retain-gids`` is used.
- [feaLib] Added ``forceChained`` in MultipleSubstStatement (1511).
Fixed double indentation of ``subtable`` statement (1512).
Added support for ``subtable`` statement in more places than just PairPos
lookups (1520).
Handle lookupflag 0 and lookupflag without a value (1540).
- [varLib] In ``load_designspace``, provide a default English name for the
``ital`` axis tag.
- Remove pyftinspect because it is unmaintained and bitrotted.

3.38.0

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

- [cffLib] Fixed RecursionError when unpickling or deepcopying TTFont with
CFF table (1488, 649dc49).
- [subset] Fixed AttributeError when using --desubroutinize option (1490).
Also, fixed desubroutinizing bug when subrs contain hints (1499).
- [CPAL] Make Color a subclass of namedtuple (173a0f5).
- [feaLib] Allow hyphen in glyph class names.
- [feaLib] Added 'tables' option to __main__.py (1497).
- [feaLib] Add support for special-case contextual positioning formatting
(1501).
- [svgLib] Support converting SVG basic shapes (rect, circle, etc.) into
equivalent SVG paths (1500, 1508).
- [Snippets] Added name-viewer.ipynb Jupyter notebook.

3.37.3

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

- The previous release accidentally changed several files from Unix to DOS
line-endings. Fix that.

3.37.2

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

- [varLib] Temporarily revert the fix to ``load_masters()``, which caused a
crash in ``interpolate_layout()`` when ``deepcopy``-ing OTFs.

Page 23 of 37

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.