Tags: undeadinu/fonttools
Tags
3.35.0 - [psCharStrings] In ``encodeFloat`` function, use float's "general format" with 8 digits of precision (i.e. ``%8g``) instead of ``str()``. This works around a macOS rendering issue when real numbers in CFF table are too long, and also makes sure that floats are encoded with the same precision in python 2.7 and 3.x (fonttools#1430, googlefonts/ufo2ft#306). - [_n_a_m_e/fontBuilder] Make ``_n_a_m_e_table.addMultilingualName`` also add Macintosh (platformID=1) names by default. Added options to ``FontBuilder`` ``setupNameTable`` method to optionally disable Macintosh or Windows names. (fonttools#1359, fonttools#1431). - [varLib] Make ``build`` optionally accept a ``DesignSpaceDocument`` object, instead of a designspace file path. The caller can now set the ``font`` attribute of designspace's sources to a TTFont object, thus allowing to skip filenames manipulation altogether (fonttools#1416, fonttools#1425). - [sfnt] Allow SFNTReader objects to be deep-copied. - Require typing>=3.6.4 on py27 to fix issue with singledispatch (fonttools#1423). - [designspaceLib/t1Lib/macRes] Fixed some cases where pathlib.Path objects were not accepted (fonttools#1421). - [varLib] Fixed merging of multiple PairPosFormat2 subtables (fonttools#1411). - [varLib] The default STAT table version is now set to 1.1, to improve compatibility with legacy applications (fonttools#1413).
3.34.1 - [varLib] Work around macOS rendering issue for composites without gvar entry (fonttools#1381).
3.34.0 - [varLib] Support generation of CFF2 variable fonts. ``model.reorderMasters()`` now supports arbitrary mapping. Fix handling of overlapping ranges for feature variations (fonttools#1400). - [cffLib, subset] Code clean-up and fixing related to CFF2 support. - [ttLib.tables.ttProgram] Use raw strings for regex patterns (fonttools#1389). - [fontbuilder] Initial support for building CFF2 fonts. Set CFF's ``FontMatrix`` automatically from unitsPerEm. - [plistLib] Accept the more general ``collections.Mapping`` instead of the specific ``dict`` class to support custom data classes that should serialize to dictionaries.
3.32.0 - [ufoLib] Make ``UFOWriter`` a subclass of ``UFOReader``, and use mixins for shared methods (fonttools#1344). - [featureVars] Fixed normalization error when a condition's minimum/maximum attributes are missing in designspace ``<rule>`` (fonttools#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 - [ufoLib] Merged the `ufoLib <https://github.com/unified-font-objects/ufoLib>`__ master branch into a new ``fontTools.ufoLib`` package (fonttools#1335, fonttools#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`` (fonttools#1322). - [subset] Include nameIDs referenced by STAT table (fonttools#1327). - [loggingTools] Added ``msg=None`` argument to ``CapturingLogHandler.assertRegex`` (0245f2c). - [varLib.mutator] Implemented ``FeatureVariations`` instantiation (fonttools#1244). - [g_l_y_f] Added PointPen support to ``_TTGlyph`` objects (fonttools#1334).
3.30.0 - [feaLib] Skip building noop class PairPos subtables when Coverage is NULL (fonttools#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 (fonttools#1316). - [ttLib] Added support for decompiling/compiling ``TS1C`` tables containing VTT sources for ``cvar`` variation table (fonttools#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 (fonttools#1224, fonttools#1313). - [varLib] Implemented building GSUB FeatureVariations table from the ``rules`` element of DesignSpace document (fonttools#1240, fonttools#713, fonttools#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 (fonttools#43, fonttools#1121).
3.29.1 - [feaLib] Fixed issue whereby lookups from DFLT/dflt were not included in the DFLT/non-dflt language systems (fonttools#1307). - [graphite] Fixed issue on big-endian architectures (e.g. ppc64) (fonttools#1311). - [subset] Added ``--layout-scripts`` option to add/exclude set of OpenType layout scripts that will be preserved. By default all scripts are retained (``'*'``) (fonttools#1303).
PreviousNext