Tags: techtonik/fonttools
Tags
3.14.0 - [varLib.merger] Remove Extensions subtables before merging (f7c20cf). - [varLib] Initialize the avar segment map with required default entries (fonttools#1014). - [varLib] Implemented optimal IUP optmiziation (fonttools#1019). - [otData] Add ``AxisValueFormat4`` for STAT table v1.2 from OT v1.8.2 (fonttools#1015). - [name] Fixed BCP46 language tag for Mac langID=9: 'si' -> 'sl'. - [subset] Return value from ``_DehintingT2Decompiler.op_hintmask`` (c0d672b). - [cffLib] Allow to get TopDict by index as well as by name (dca96c9). - [cffLib] Removed global ``isCFF2`` state; use one set of classes for both CFF and CFF2, maintaining backward compatibility existing code (fonttools#1007). - [cffLib] Deprecated maxstack operator, per OpenType spec update 1.8.1. - [cffLib] Added missing default (-100) for UnderlinePosition (fonttools#983). - [feaLib] Enable setting nameIDs greater than 255 (fonttools#1003). - [varLib] Recalculate ValueFormat when merging SinglePos (fonttools#996). - [varLib] Do not emit MVAR if there are no entries in the variation store (fonttools#987). - [ttx] For ``-x`` option, pad with space if table tag length is < 4.
3.13.1 - [feaLib.builder] Removed duplicate lookups optimization. The original lookup order and semantics of the feature file are preserved (fonttools#976).
3.13.0 - [varLib.mutator] Implement IUP optimization (fonttools#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 (fonttools#950, fonttools#975). - [varLib.interpolate_layout] Import designspace-loading logic from varLib. - [varLib] Fixed bug with recombining PairPosClass2 subtables (81498e5, fonttools#914). - [cffLib.specializer] When copying iterables, cast to list (462b7f8).
3.12.1 - [pens.t2CharStringPen] Fixed AttributeError when calling addComponent in T2CharStringPen (fonttools#965).
3.12.0 - [cffLib.specializer] Added new ``specializer`` module to optimize CFF charstrings, used by the T2CharStringPen (fonttools#948). - [varLib.mutator] Sort glyphs by component depth before calculating composite glyphs' bounding boxes to ensure deltas are correctly caclulated (fonttools#945). - [_g_l_y_f] Fixed loss of precision in GlyphCoordinates by using 'd' (double) instead of 'f' (float) as ``array.array`` typecode (fonttools#963, fonttools#964).
3.11.0 - [t2CharStringPen] Initial support for specialized Type2 path operators: vmoveto, hmoveto, vlineto, hlineto, vvcurveto, hhcurveto, vhcurveto and hvcurveto. This should produce more compact charstrings (fonttools#940, fonttools#403). - [Doc] Added Sphinx sources for the documentation. Thanks @gferreira (fonttools#935). - [fvar] Expose flags in XML (fonttools#932) - [name] Add helper function for building multi-lingual names (fonttools#921) - [varLib] Fixed kern merging when a PairPosFormat2 has ClassDef1 with glyphs that are NOT present in the Coverage (1b5e1c4, fonttools#939). - [varLib] Fixed non-deterministic ClassDef order with PY3 (f056c12, fonttools#927). - [feLib] Throw an error when the same glyph is defined in multiple mark classes within the same lookup (3e3ff00, fonttools#453).
3.10.0 - [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 (fonttools#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 - [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 (fonttools#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 (fonttools#896) - [CFF2] Fixed the reporting of the number of regions in the font.
3.9.1 - [varLib.merger] Fixed issue while recombining multiple PairPosFormat2 subtables if they were split because of offset overflows (9798c30). - [varLib.merger] Only merge multiple PairPosFormat1 subtables if there is at least one of the fonts with a non-empty Format1 subtable (0f5a46b). - [varLib.merger] Fixed IndexError with empty ClassDef1 in PairPosFormat2 (aad0d46). - [varLib.merger] Avoid reusing Class2Record (mutable) objects (e6125b3). - [varLib.merger] Calculate ClassDef1 and ClassDef2's Format when merging PairPosFormat2 (23511fd). - [macUtils] Added missing ttLib import (b05f203).
3.9.0 - [feaLib] Added (partial) support for parsing feature file comments ``# ...`` appearing in between statements (fonttools#879). - [feaLib] Cleaned up syntax tree for FeatureNames. - [ttLib] Added support for reading/writing ``CFF2`` table (thanks to @readroberts at Adobe), and ``TTFA`` (ttfautohint) table. - [varLib] Fixed regression introduced with 3.8.0 in the calculation of ``NumShorts``, i.e. the number of deltas in ItemVariationData's delta sets that use a 16-bit representation (b2825ff).