Fonttools

Latest version: v4.53.0

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

Scan your dependencies

Page 25 of 36

3.33.0

Not secure
----------------------------
- [subset] subsetter bug fix with variable fonts.
- [varLib.featureVar] Improve FeatureVariations generation with many rules.
- [varLib] Enable sparse masters when building variable fonts:
https://github.com/fonttools/fonttools/pull/1368#issuecomment-437257368
- [varLib.mutator] Add IDEF for GETVARIATION opcode, for handling hints in an
instance.
- [ttLib] Ignore the length of kern table subtable format 0

3.32.0

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

- [ufoLib] Make ``UFOWriter`` a subclass of ``UFOReader``, and use mixins
for shared methods (1344).
- [featureVars] Fixed normalization error when a condition's minimum/maximum
attributes are missing in designspace ``<rule>`` (1366).
- [setup.py] Added ``[plot]`` to extras, to optionally install ``matplotlib``,
needed to use the ``fonTools.varLib.plot`` module.
- [varLib] Take total bounding box into account when resolving model (7ee81c8).
If multiple axes have the same range ratio, cut across both (62003f4).
- [subset] Don't error if ``STAT`` has no ``AxisValue`` tables.
- [fontBuilder] Added a new submodule which contains a ``FontBuilder`` wrapper
class around ``TTFont`` that makes it easier to create a working TTF or OTF
font from scratch with code. NOTE: the API is still experimental and may
change in future versions.

3.31.0

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

- [ufoLib] Merged the `ufoLib <https://github.com/unified-font-objects/ufoLib>`__
master branch into a new ``fontTools.ufoLib`` package (1335, 1095).
Moved ``ufoLib.pointPen`` module to ``fontTools.pens.pointPen``.
Moved ``ufoLib.etree`` module to ``fontTools.misc.etree``.
Moved ``ufoLib.plistlib`` module to ``fontTools.misc.plistlib``.
To use the new ``fontTools.ufoLib`` module you need to install fonttools
with the ``[ufo]`` extra, or you can manually install the required additional
dependencies (cf. README.rst).
- [morx] Support AAT action type to insert glyphs and clean up compilation
of AAT action tables (4a1871f, 2011ccf).
- [subset] The ``--no-hinting`` on a CFF font now also drops the optional
hinting keys in Private dict: ``ForceBold``, ``LanguageGroup``, and
``ExpansionFactor`` (1322).
- [subset] Include nameIDs referenced by STAT table (1327).
- [loggingTools] Added ``msg=None`` argument to
``CapturingLogHandler.assertRegex`` (0245f2c).
- [varLib.mutator] Implemented ``FeatureVariations`` instantiation (1244).
- [g_l_y_f] Added PointPen support to ``_TTGlyph`` objects (1334).

3.30.0

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

- [feaLib] Skip building noop class PairPos subtables when Coverage is NULL
(1318).
- [ttx] Expose the previously reserved bit flag ``OVERLAP_SIMPLE`` of
glyf table's contour points in the TTX dump. This is used in some
implementations to specify a non-zero fill with overlapping contours (1316).
- [ttLib] Added support for decompiling/compiling ``TS1C`` tables containing
VTT sources for ``cvar`` variation table (1310).
- [varLib] Use ``fontTools.designspaceLib`` to read DesignSpaceDocument. The
``fontTools.varLib.designspace`` module is now deprecated and will be removed
in future versions. The presence of an explicit ``axes`` element is now
required in order to build a variable font (1224, 1313).
- [varLib] Implemented building GSUB FeatureVariations table from the ``rules``
element of DesignSpace document (1240, 713, 1314).
- [subset] Added ``--no-layout-closure`` option to not expand the subset with
the glyphs produced by OpenType layout features. Instead, OpenType features
will be subset to only rules that are relevant to the otherwise-specified
glyph set (43, 1121).

3.29.1

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

- [feaLib] Fixed issue whereby lookups from DFLT/dflt were not included in the
DFLT/non-dflt language systems (1307).
- [graphite] Fixed issue on big-endian architectures (e.g. ppc64) (1311).
- [subset] Added ``--layout-scripts`` option to add/exclude set of OpenType
layout scripts that will be preserved. By default all scripts are retained
(``'*'``) (1303).

3.29.0

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

- [feaLib] In the OTL table builder, when the ``name`` table is excluded
from the list of tables to be build, skip compiling ``featureNames`` blocks,
as the records referenced in ``FeatureParams`` table don't exist (68951b7).
- [otBase] Try ``ExtensionLookup`` if other offset-overflow methods fail
(05f95f0).
- [feaLib] Added support for explicit ``subtable;`` break statements in
PairPos lookups; previously these were ignored (1279, 1300, 1302).
- [cffLib.specializer] Make sure the stack depth does not exceed maxstack - 1,
so that a subroutinizer can insert subroutine calls (1301,
https://github.com/googlei18n/ufo2ft/issues/266).
- [otTables] Added support for fixing offset overflow errors occurring inside
``MarkBasePos`` subtables (1297).
- [subset] Write the default output file extension based on ``--flavor`` option,
or the value of ``TTFont.sfntVersion`` (d7ac0ad).
- [unicodedata] Updated Blocks, Scripts and ScriptExtensions for Unicode 11
(452c85e).
- [xmlWriter] Added context manager to XMLWriter class to autoclose file
descriptor on exit (1290).
- [psCharStrings] Optimize the charstring's bytecode by encoding as integers
all float values that have no decimal portion (8d7774a).
- [ttFont] Fixed missing import of ``TTLibError`` exception (1285).
- [feaLib] Allow any languages other than ``dflt`` under ``DFLT`` script
(1278, 1292).

Page 25 of 36

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.