• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
14.31.2 (released 2022-03-22)
2----------------------------
3
4- [varLib] fix instantiation of GPOS SinglePos values (#2555).
5
64.31.1 (released 2022-03-18)
7----------------------------
8
9- [subset] fix subsetting OT-SVG when glyph id attribute is on the root ``<svg>``
10  element (#2553).
11
124.31.0 (released 2022-03-18)
13----------------------------
14
15- [ttCollection] Fixed 'ResourceWarning: unclosed file' warning (#2549).
16- [varLib.merger] Handle merging SinglePos with valueformat=0 (#2550).
17- [ttFont] Update glyf's glyphOrder when calling TTFont.setGlyphOrder() (#2544).
18- [ttFont] Added ``ensureDecompiled`` method to load all tables irrespective
19  of the ``lazy`` attribute (#2551).
20- [otBase] Added ``iterSubTable`` method to iterate over BaseTable's children of
21  type BaseTable; useful for traversing a tree of otTables (#2551).
22
234.30.0 (released 2022-03-10)
24----------------------------
25
26- [varLib] Added debug logger showing the glyph name for which ``gvar`` is built (#2542).
27- [varLib.errors] Fixed undefined names in ``FoundANone`` and ``UnsupportedFormat``
28  exceptions (ac4d5611).
29- [otlLib.builder] Added ``windowsNames`` and ``macNames`` (bool) parameters to the
30  ``buildStatTabe`` function, so that one can select whether to only add one or both
31  of the two sets (#2528).
32- [t1Lib] Added the ability to recreate PostScript stream (#2504).
33- [name] Added ``getFirstDebugName``, ``getBest{Family,SubFamily,Full}Name`` methods (#2526).
34
354.29.1 (released 2022-02-01)
36----------------------------
37
38- [colorLib] Fixed rounding issue with radial gradient's start/end circles inside
39  one another (#2521).
40- [freetypePen] Handle rotate/skew transform when auto-computing width/height of the
41  buffer; raise PenError wen missing moveTo (#2517)
42
434.29.0 (released 2022-01-24)
44----------------------------
45
46- [ufoLib] Fixed illegal characters and expanded reserved filenames (#2506).
47- [COLRv1] Don't emit useless PaintColrLayers of lenght=1 in LayerListBuilder (#2513).
48- [ttx] Removed legacy ``waitForKeyPress`` method on Windows (#2509).
49- [pens] Added FreeTypePen that uses ``freetype-py`` and the pen protocol for
50  rasterizating outline paths (#2494).
51- [unicodedata] Updated the script direction list to Unicode 14.0 (#2484).
52  Bumped unicodedata2 dependency to 14.0 (#2499).
53- [psLib] Fixed type of ``fontName`` in ``suckfont`` (#2496).
54
554.28.5 (released 2021-12-19)
56----------------------------
57
58- [svgPathPen] Continuation of #2471: make sure all occurrences of ``str()`` are now
59  replaced with user-defined ``ntos`` callable.
60- [merge] Refactored code into submodules, plus several bugfixes and improvements:
61  fixed duplicate-glyph-resolution GSUB-lookup generation code; use tolerance in glyph
62  comparison for empty glyph's width; ignore space of default ignorable glyphs;
63  downgrade duplicates-resolution missing-GSUB from assert to warn; added --drop-tables
64  option (#2473, #2475, #2476).
65
664.28.4 (released 2021-12-15)
67----------------------------
68
69- [merge] Merge GDEF marksets in Lookups properly (#2474).
70- [feaLib] Have ``fontTools feaLib`` script exit with error code when build fails (#2459)
71- [svgPathPen] Added ``ntos`` option to customize number formatting (e.g. rounding) (#2471).
72- [subset] Speed up subsetting of large CFF fonts (#2467).
73- [otTables] Speculatively promote lookups to extension to speed up compilation. If the
74  offset to lookup N is too big to fit in a ushort, the offset to lookup N+1 is going to
75  be too big as well, so we promote to extension all lookups from lookup N onwards (#2465).
76
774.28.3 (released 2021-12-03)
78----------------------------
79
80- [subset] Fixed bug while subsetting ``COLR`` table, whereby incomplete layer records
81  pointing to missing glyphs were being retained leading to ``struct.error`` upon
82  compiling. Make it so that ``glyf`` glyph closure, which follows the ``COLR`` glyph
83  closure, does not influence the ``COLR`` table subsetting (#2461, #2462).
84- [docs] Fully document the ``cmap`` and ``glyf`` tables (#2454, #2457).
85- [colorLib.unbuilder] Fixed CLI by deleting no longer existing parameter (180bb1867).
86
874.28.2 (released 2021-11-22)
88----------------------------
89
90- [otlLib] Remove duplicates when building coverage (#2433).
91- [docs] Add interrogate configuration (#2443).
92- [docs] Remove comment about missing “start” optional argument to ``calcChecksum`` (#2448).
93- [cu2qu/cli] Adapt to the latest ufoLib2.
94- [subset] Support subsetting SVG table and remove it from the list of  drop by default tables (#534).
95- [subset] add ``--pretty-svg`` option to pretty print SVG table contents (#2452).
96- [merge] Support merging ``CFF`` tables (CID-keyed ``CFF`` is still not supported) (#2447).
97- [merge] Support ``--output-file`` (#2447).
98- [docs] Split table docs into individual pages (#2444).
99- [feaLib] Forbid empty classes (#2446).
100- [docs] Improve documentation for ``fontTools.ttLib.ttFont`` (#2442).
101
1024.28.1 (released 2021-11-08)
103----------------------------
104
105- [subset] Fixed AttributeError while traversing a color glyph's Paint graph when there is no
106  LayerList, which is optional (#2441).
107
1084.28.0 (released 2021-11-05)
109----------------------------
110
111- Dropped support for EOL Python 3.6, require Python 3.7 (#2417).
112- [ufoLib/glifLib] Make filename-clash checks faster by using a set instead of a list (#2422).
113- [subset] Don't crash if optional ClipList and LayerList are ``None`` (empty) (#2424, 2439).
114- [OT-SVG] Removed support for old deprecated version 1 and embedded color palettes,
115  which were never officially part of the OpenType SVG spec. Upon compile, reuse offsets
116  to SVG documents that are identical (#2430).
117- [feaLib] Added support for Variable Feature File syntax. This is experimental and subject
118  to change until it is finalized in the Adobe FEA spec (#2432).
119- [unicodedata] Update Scripts/ScriptExtensions/Blocks to UnicodeData 14.0 (#2437).
120
1214.27.1 (released 2021-09-23)
122----------------------------
123
124- [otlLib] Fixed error when chained contextual lookup builder overflows (#2404, #2411).
125- [bezierTools] Fixed two floating-point bugs: one when computing `t` for a point
126  lying on an almost horizontal/vertical line; another when computing the intersection
127  point between a curve and a line (#2413).
128
1294.27.0 (released 2021-09-14)
130----------------------------
131
132- [ttLib/otTables] Cleaned up virtual GID handling: allow virtual GIDs in ``Coverage``
133  and ``ClassDef`` readers; removed unused ``allowVID`` argument from ``TTFont``
134  constructor, and ``requireReal`` argument in ``TTFont.getGlyphID`` method.
135  Make ``TTFont.setGlyphOrder`` clear reverse glyphOrder map, and assume ``glyphOrder``
136  internal attribute is never modified outside setGlyphOrder; added ``TTFont.getGlyphNameMany``
137  and ``getGlyphIDMany`` (#1536, #1654, #2334, #2398).
138- [py23] Dropped internal use of ``fontTools.py23`` module to fix deprecation warnings
139  in client code that imports from fontTools (#2234, #2399, #2400).
140- [subset] Fix subsetting COLRv1 clip boxes when font is loaded lazily (#2408).
141
1424.26.2 (released 2021-08-09)
143----------------------------
144
145- [otTables] Added missing ``CompositeMode.PLUS`` operator (#2390).
146
1474.26.1 (released 2021-08-03)
148----------------------------
149
150- [transform] Added ``transformVector`` and ``transformVectors`` methods to the
151  ``Transform`` class. Similar to ``transformPoint`` but ignore the translation
152  part (#2386).
153
1544.26.0 (released 2021-08-03)
155----------------------------
156
157- [xmlWriter] Default to ``"\n"`` for ``newlinestr`` instead of platform-specific
158  ``os.linesep`` (#2384).
159- [otData] Define COLRv1 ClipList and ClipBox (#2379).
160- [removeOverlaps/instancer] Added --ignore-overlap-errors option to work around
161  Skia PathOps.Simplify bug (#2382, #2363, google/fonts#3365).
162- NOTE: This will be the last version to support Python 3.6. FontTools will require
163  Python 3.7 or above from the next release (#2350)
164
1654.25.2 (released 2021-07-26)
166----------------------------
167
168- [COLRv1] Various changes to sync with the latest CORLv1 draft spec. In particular:
169  define COLR.VarIndexMap, remove/inline ColorIndex struct, add VarIndexBase to ``PaintVar*`` tables (#2372);
170  add reduced-precicion specialized transform Paints;
171  define Angle as fraction of half circle encoded as F2Dot14;
172  use FWORD (int16) for all Paint center coordinates;
173  change PaintTransform to have an offset to Affine2x3;
174- [ttLib] when importing XML, only set sfntVersion if the font has no reader and is empty (#2376)
175
1764.25.1 (released 2021-07-16)
177----------------------------
178
179- [ttGlyphPen] Fixed bug in ``TTGlyphPointPen``, whereby open contours (i.e. starting
180  with segmentType "move") would throw ``NotImplementedError``. They are now treated
181  as if they are closed, like with the ``TTGlyphPen`` (#2364, #2366).
182
1834.25.0 (released 2021-07-05)
184----------------------------
185
186- [tfmLib] Added new library for parsing TeX Font Metric (TFM) files (#2354).
187- [TupleVariation] Make shared tuples order deterministic on python < 3.7 where
188  Counter (subclass of dict) doesn't remember insertion order (#2351, #2353).
189- [otData] Renamed COLRv1 structs to remove 'v1' suffix and match the updated draft
190  spec: 'LayerV1List' -> 'LayerList', 'BaseGlyphV1List' -> 'BaseGlyphList',
191  'BaseGlyphV1Record' -> 'BaseGlyphPaintRecord' (#2346).
192  Added 8 new ``PaintScale*`` tables: with/without centers, uniform vs non-uniform.
193  Added ``*AroundCenter`` variants to ``PaintRotate`` and ``PaintSkew``: the default
194  versions no longer have centerX/Y, but default to origin.
195  ``PaintRotate``, ``PaintSkew`` and ``PaintComposite`` formats were re-numbered.
196  NOTE: these are breaking changes; clients using the experimental COLRv1 API will
197  have to be updated (#2348).
198- [pointPens] Allow ``GuessSmoothPointPen`` to accept a tolerance. Fixed call to
199  ``math.atan2`` with x/y parameters inverted. Sync the code with fontPens (#2344).
200- [post] Fixed parsing ``post`` table format 2.0 when it contains extra garbage
201  at the end of the stringData array (#2314).
202- [subset] drop empty features unless 'size' with FeatureParams table (#2324).
203- [otlLib] Added ``otlLib.optimize`` module; added GPOS compaction algorithm.
204  The compaction can be run on existing fonts with ``fonttools otlLib.optimize``
205  or using the snippet ``compact_gpos.py``. There's experimental support for
206  compacting fonts at compilation time using an environment variable, but that
207  might be removed later (#2326).
208
2094.24.4 (released 2021-05-25)
210----------------------------
211
212- [subset/instancer] Fixed ``AttributeError`` when instantiating a VF that
213  contains GPOS ValueRecords with ``Device`` tables but without the respective
214  non-Device values (e.g. ``XAdvDevice`` without ``XAdvance``). When not
215  explicitly set, the latter are assumed to be 0 (#2323).
216
2174.24.3 (released 2021-05-20)
218----------------------------
219
220- [otTables] Fixed ``AttributeError`` in methods that split LigatureSubst,
221  MultipleSubst and AlternateSubst subtables when an offset overflow occurs.
222  The ``Format`` attribute was removed in v4.22.0 (#2319).
223
2244.24.2 (released 2021-05-20)
225----------------------------
226
227- [ttGlyphPen] Fixed typing annotation of TTGlyphPen glyphSet parameter (#2315).
228- Fixed two instances of DeprecationWarning: invalid escape sequence (#2311).
229
2304.24.1 (released 2021-05-20)
231----------------------------
232
233- [subset] Fixed AttributeError when SinglePos subtable has None Value (ValueFormat 0)
234  (#2312, #2313).
235
2364.24.0 (released 2021-05-17)
237----------------------------
238
239- [pens] Add ``ttGlyphPen.TTGlyphPointPen`` similar to ``TTGlyphPen`` (#2205).
240
2414.23.1 (released 2021-05-14)
242----------------------------
243
244- [subset] Fix ``KeyError`` after subsetting ``COLR`` table that initially contains
245  both v0 and v1 color glyphs when the subset only requested v1 glyphs; we were
246  not pruning the v0 portion of the table (#2308).
247- [colorLib] Set ``LayerV1List`` attribute to ``None`` when empty, it's optional
248  in CORLv1 (#2308).
249
2504.23.0 (released 2021-05-13)
251----------------------------
252
253- [designspaceLib] Allow to use ``\\UNC`` absolute paths on Windows (#2299, #2306).
254- [varLib.merger] Fixed bug where ``VarLibMergeError`` was raised with incorrect
255  parameters (#2300).
256- [feaLib] Allow substituting a glyph class with ``NULL`` to delete multiple glyphs
257  (#2303).
258- [glyf] Fixed ``NameError`` exception in ``getPhantomPoints`` (#2295, #2305).
259- [removeOverlaps] Retry pathops.simplify after rounding path coordinates to integers
260  if it fails the first time using floats, to work around a rare and hard to debug
261  Skia bug (#2288).
262- [varLib] Added support for building, reading, writing and optimizing 32-bit
263  ``ItemVariationStore`` as used in COLRv1 table (#2285).
264- [otBase/otConverters] Add array readers/writers for int types (#2285).
265- [feaLib] Allow more than one lookahead glyph/class in contextual positioning with
266  "value at end" (#2293, #2294).
267- [COLRv1] Default varIdx should be 0xFFFFFFFF (#2297, #2298).
268- [pens] Make RecordingPointPen actually pass on identifiers; replace asserts with
269  explicit ``PenError`` exception (#2284).
270- [mutator] Round lsb for CF2 fonts as well (#2286).
271
2724.22.1 (released 2021-04-26)
273----------------------------
274
275- [feaLib] Skip references to named lookups if the lookup block definition
276  is empty, similarly to makeotf. This also fixes an ``AttributeError`` while
277  generating ``aalt`` feature (#2276, #2277).
278- [subset] Fixed bug with ``--no-hinting`` implementation for Device tables (#2272,
279  #2275). The previous code was alwyas dropping Device tables if no-hinting was
280  requested, but some Device tables (DeltaFormat=0x8000) are also used to encode
281  variation indices and need to be retained.
282- [otBase] Fixed bug in getting the ValueRecordSize when decompiling ``MVAR``
283  table with ``lazy=True`` (#2273, #2274).
284- [varLib/glyf/gvar] Optimized and simplified ``GlyphCoordinates`` and
285  ``TupleVariation`` classes, use ``bytearray`` where possible, refactored
286  phantom-points calculations. We measured about 30% speedup in total time
287  of loading master ttfs, building gvar, and saving (#2261, #2266).
288- [subset] Fixed ``AssertionError`` while pruning unused CPAL palettes when
289  ``0xFFFF`` is present (#2257, #2259).
290
2914.22.0 (released 2021-04-01)
292----------------------------
293
294- [ttLib] Remove .Format from Coverage, ClassDef, SingleSubst, LigatureSubst,
295  AlternateSubst, MultipleSubst (#2238).
296  ATTENTION: This will change your TTX dumps!
297- [misc.arrayTools] move Vector to its own submodule, and rewrite as a tuple
298  subclass (#2201).
299- [docs] Added a terminology section for varLib (#2209).
300- [varLib] Move rounding to VariationModel, to avoid error accumulation from
301  multiple deltas (#2214)
302- [varLib] Explain merge errors in more human-friendly terms (#2223, #2226)
303- [otlLib] Correct some documentation (#2225)
304- [varLib/otlLib] Allow merging into VariationFont without first saving GPOS
305  PairPos2 (#2229)
306- [subset] Improve PairPosFormat2 subsetting (#2221)
307- [ttLib] TTFont.save: create file on disk as late as possible (#2253)
308- [cffLib] Add missing CFF2 dict operators LanguageGroup and ExpansionFactor
309  (#2249)
310  ATTENTION: This will change your TTX dumps!
311
3124.21.1 (released 2021-02-26)
313----------------------------
314
315- [pens] Reverted breaking change that turned ``AbstractPen`` and ``AbstractPointPen``
316  into abstract base classes (#2164, #2198).
317
3184.21.0 (released 2021-02-26)
319----------------------------
320
321- [feaLib] Indent anchor statements in ``asFea()`` to make them more legible and
322  diff-able (#2193).
323- [pens] Turn ``AbstractPen`` and ``AbstractPointPen`` into abstract base classes
324  (#2164).
325- [feaLib] Added support for parsing and building ``STAT`` table from AFDKO feature
326  files (#2039).
327- [instancer] Added option to update name table of generated instance using ``STAT``
328  table's axis values (#2189).
329- [bezierTools] Added functions to compute bezier point-at-time, as well as line-line,
330  curve-line and curve-curve intersections (#2192).
331
3324.20.0 (released 2021-02-15)
333----------------------------
334
335- [COLRv1] Added ``unbuildColrV1`` to deconstruct COLRv1 otTables to raw json-able
336  data structure; it does the reverse of ``buildColrV1`` (#2171).
337- [feaLib] Allow ``sub X by NULL`` sequence to delete a glyph (#2170).
338- [arrayTools] Fixed ``Vector`` division (#2173).
339- [COLRv1] Define new ``PaintSweepGradient`` (#2172).
340- [otTables] Moved ``Paint.Format`` enum class outside of ``Paint`` class definition,
341  now named ``PaintFormat``. It was clashing with paint instance ``Format`` attribute
342  and thus was breaking lazy load of COLR table which relies on magic ``__getattr__``
343  (#2175).
344- [COLRv1] Replace hand-coded builder functions with otData-driven dynamic
345  implementation (#2181).
346- [COLRv1] Define additional static (non-variable) Paint formats (#2181).
347- [subset] Added support for subsetting COLR v1 and CPAL tables (#2174, #2177).
348- [fontBuilder] Allow ``setupFvar`` to optionally take ``designspaceLib.AxisDescriptor``
349  objects. Added new ``setupAvar`` method. Support localised names for axes and
350  named instances (#2185).
351
3524.19.1 (released 2021-01-28)
353----------------------------
354
355- [woff2] An initial off-curve point with an overlap flag now stays an off-curve
356  point after compression.
357
3584.19.0 (released 2021-01-25)
359----------------------------
360
361- [codecs] Handle ``errors`` parameter different from 'strict' for the custom
362  extended mac encodings (#2137, #2132).
363- [featureVars] Raise better error message when a script is missing the required
364  default language system (#2154).
365- [COLRv1] Avoid abrupt change caused by rounding ``PaintRadialGradient.c0`` when
366  the start circle almost touches the end circle's perimeter (#2148).
367- [COLRv1] Support building unlimited lists of paints as 255-ary trees of
368  ``PaintColrLayers`` tables (#2153).
369- [subset] Prune redundant format-12 cmap subtables when all non-BMP characters
370  are dropped (#2146).
371- [basePen] Raise ``MissingComponentError`` instead of bare ``KeyError`` when a
372  referenced component is missing (#2145).
373
3744.18.2 (released 2020-12-16)
375----------------------------
376
377- [COLRv1] Implemented ``PaintTranslate`` paint format (#2129).
378- [varLib.cff] Fixed unbound local variable error (#1787).
379- [otlLib] Don't crash when creating OpenType class definitions if some glyphs
380  occur more than once (#2125).
381
3824.18.1 (released 2020-12-09)
383----------------------------
384
385- [colorLib] Speed optimization for ``LayerV1ListBuilder`` (#2119).
386- [mutator] Fixed missing tab in ``interpolate_cff2_metrics`` (0957dc7a).
387
3884.18.0 (released 2020-12-04)
389----------------------------
390
391- [COLRv1] Update to latest draft: added ``PaintRotate`` and ``PaintSkew`` (#2118).
392- [woff2] Support new ``brotlicffi`` bindings for PyPy (#2117).
393- [glifLib] Added ``expectContentsFile`` parameter to ``GlyphSet``, for use when
394  reading existing UFOs, to comply with the specification stating that a
395  ``contents.plist`` file must exist in a glyph set (#2114).
396- [subset] Allow ``LangSys`` tags in ``--layout-scripts`` option (#2112). For example:
397  ``--layout-scripts=arab.dflt,arab.URD,latn``; this will keep ``DefaultLangSys``
398  and ``URD`` language for ``arab`` script, and all languages for ``latn`` script.
399- [varLib.interpolatable] Allow UFOs to be checked; report open paths, non existant
400  glyphs; add a ``--json`` option to produce a machine-readable list of
401  incompatibilities
402- [pens] Added ``QuartzPen`` to create ``CGPath`` from glyph outlines on macOS.
403  Requires pyobjc (#2107).
404- [feaLib] You can export ``FONTTOOLS_LOOKUP_DEBUGGING=1`` to enable feature file
405  debugging info stored in ``Debg`` table (#2106).
406- [otlLib] Build more efficient format 1 and format 2 contextual lookups whenever
407  possible (#2101).
408
4094.17.1 (released 2020-11-16)
410----------------------------
411
412- [colorLib] Fixed regression in 4.17.0 when building COLR v0 table; when color
413  layers are stored in UFO lib plist, we can't distinguish tuples from lists so
414  we need to accept either types (e5439eb9, googlefonts/ufo2ft/issues#426).
415
4164.17.0 (released 2020-11-12)
417----------------------------
418
419- [colorLib/otData] Updated to latest draft ``COLR`` v1 spec (#2092).
420- [svgLib] Fixed parsing error when arc commands' boolean flags are not separated
421  by space or comma (#2094).
422- [varLib] Interpret empty non-default glyphs as 'missing', if the default glyph is
423  not empty (#2082).
424- [feaLib.builder] Only stash lookup location for ``Debg`` if ``Builder.buildLookups_``
425  has cooperated (#2065, #2067).
426- [varLib] Fixed bug in VarStore optimizer (#2073, #2083).
427- [varLib] Add designspace lib key for custom feavar feature tag (#2080).
428- Add HashPointPen adapted from psautohint. With this pen, a hash value of a glyph
429  can be computed, which can later be used to detect glyph changes (#2005).
430
4314.16.1 (released 2020-10-05)
432----------------------------
433
434- [varLib.instancer] Fixed ``TypeError`` exception when instantiating a VF with
435  a GSUB table 1.1 in which ``FeatureVariations`` attribute is present but set to
436  ``None`` -- indicating that optional ``FeatureVariations`` is missing (#2077).
437- [glifLib] Make ``x`` and ``y`` attributes of the ``point`` element required
438  even when validation is turned off, and raise a meaningful ``GlifLibError``
439  message when that happens (#2075).
440
4414.16.0 (released 2020-09-30)
442----------------------------
443
444- [removeOverlaps] Added new module and ``removeOverlaps`` function that merges
445  overlapping contours and components in TrueType glyphs. It requires the
446  `skia-pathops <https://github.com/fonttools/skia-pathops>`__ module.
447  Note that removing overlaps invalidates the TrueType hinting (#2068).
448- [varLib.instancer] Added ``--remove-overlaps`` command-line option.
449  The ``overlap`` option in ``instantiateVariableFont`` now takes an ``OverlapMode``
450  enum: 0: KEEP_AND_DONT_SET_FLAGS, 1: KEEP_AND_SET_FLAGS (default), and 2: REMOVE.
451  The latter is equivalent to calling ``removeOverlaps`` on the generated static
452  instance. The option continues to accept ``bool`` value for backward compatibility.
453
454
4554.15.0 (released 2020-09-21)
456----------------------------
457
458- [plistlib] Added typing annotations to plistlib module. Set up mypy static
459  typechecker to run automatically on CI (#2061).
460- [ttLib] Implement private ``Debg`` table, a reverse-DNS namespaced JSON dict.
461- [feaLib] Optionally add an entry into the ``Debg`` table with the original
462  lookup name (if any), feature name / script / language combination (if any),
463  and original source filename and line location. Annotate the ttx output for
464  a lookup with the information from the Debg table (#2052).
465- [sfnt] Disabled checksum checking by default in ``SFNTReader`` (#2058).
466- [Docs] Document ``mtiLib`` module (#2027).
467- [varLib.interpolatable] Added checks for contour node count and operation type
468  of each node (#2054).
469- [ttLib] Added API to register custom table packer/unpacker classes (#2055).
470
4714.14.0 (released 2020-08-19)
472----------------------------
473
474- [feaLib] Allow anonymous classes in LookupFlags definitions (#2037).
475- [Docs] Better document DesignSpace rules processing order (#2041).
476- [ttLib] Fixed 21-year old bug in ``maxp.maxComponentDepth`` calculation (#2044,
477  #2045).
478- [varLib.models] Fixed misspelled argument name in CLI entry point (81d0042a).
479- [subset] When subsetting GSUB v1.1, fixed TypeError by checking whether the
480  optional FeatureVariations table is present (e63ecc5b).
481- [Snippets] Added snippet to show how to decompose glyphs in a TTF (#2030).
482- [otlLib] Generate GSUB type 5 and GPOS type 7 contextual lookups where appropriate
483  (#2016).
484
4854.13.0 (released 2020-07-10)
486----------------------------
487
488- [feaLib/otlLib] Moved lookup subtable builders from feaLib to otlLib; refactored
489  some common code (#2004, #2007).
490- [docs] Document otlLib module (#2009).
491- [glifLib] Fixed bug with some UFO .glif filenames clashing on case-insensitive
492  filesystems (#2001, #2002).
493- [colorLib] Updated COLRv1 implementation following changes in the draft spec:
494  (#2008, googlefonts/colr-gradients-spec#24).
495
4964.12.1 (released 2020-06-16)
497----------------------------
498
499- [_n_a_m_e] Fixed error in ``addMultilingualName`` with one-character names.
500  Only attempt to recovered malformed UTF-16 data from a ``bytes`` string,
501  not from unicode ``str`` (#1997, #1998).
502
5034.12.0 (released 2020-06-09)
504----------------------------
505
506- [otlLib/varLib] Ensure that the ``AxisNameID`` in the ``STAT`` and ``fvar``
507  tables is grater than 255 as per OpenType spec (#1985, #1986).
508- [docs] Document more modules in ``fontTools.misc`` package: ``filenames``,
509  ``fixedTools``, ``intTools``, ``loggingTools``, ``macCreatorType``, ``macRes``,
510  ``plistlib`` (#1981).
511- [OS/2] Don't calculate whole sets of unicode codepoints, use faster and more memory
512  efficient ranges and bisect lookups (#1984).
513- [voltLib] Support writing back abstract syntax tree as VOLT data (#1983).
514- [voltLib] Accept DO_NOT_TOUCH_CMAP keyword (#1987).
515- [subset/merge] Fixed a namespace clash involving a private helper class (#1955).
516
5174.11.0 (released 2020-05-28)
518----------------------------
519
520- [feaLib] Introduced ``includeDir`` parameter on Parser and IncludingLexer to
521  explicitly specify the directory to search when ``include()`` statements are
522  encountered (#1973).
523- [ufoLib] Silently delete duplicate glyphs within the same kerning group when reading
524  groups (#1970).
525- [ttLib] Set version of COLR table when decompiling COLRv1 (commit 9d8a7e2).
526
5274.10.2 (released 2020-05-20)
528----------------------------
529
530- [sfnt] Fixed ``NameError: SimpleNamespace`` while reading TTC header. The regression
531  was introduced with 4.10.1 after removing ``py23`` star import.
532
5334.10.1 (released 2020-05-19)
534----------------------------
535
536- [sfnt] Make ``SFNTReader`` pickleable even when TTFont is loaded with lazy=True
537  option and thus keeps a reference to an external file (#1962, #1967).
538- [feaLib.ast] Restore backward compatibility (broken in 4.10 with #1905) for
539  ``ChainContextPosStatement`` and ``ChainContextSubstStatement`` classes.
540  Make them accept either list of lookups or list of lists of lookups (#1961).
541- [docs] Document some modules in ``fontTools.misc`` package: ``arrayTools``,
542  ``bezierTools`` ``cliTools`` and ``eexec`` (#1956).
543- [ttLib._n_a_m_e] Fixed ``findMultilingualName()`` when name record's ``string`` is
544  encoded as bytes sequence (#1963).
545
5464.10.0 (released 2020-05-15)
547----------------------------
548
549- [varLib] Allow feature variations to be active across the entire space (#1957).
550- [ufoLib] Added support for ``formatVersionMinor`` in UFO's ``fontinfo.plist`` and for
551  ``formatMinor`` attribute in GLIF file as discussed in unified-font-object/ufo-spec#78.
552  No changes in reading or writing UFOs until an upcoming (non-0) minor update of the
553  UFO specification is published (#1786).
554- [merge] Fixed merging fonts with different versions of ``OS/2`` table (#1865, #1952).
555- [subset] Fixed ``AttributeError`` while subsetting ``ContextSubst`` and ``ContextPos``
556  Format 3 subtable (#1879, #1944).
557- [ttLib.table._m_e_t_a] if data happens to be ascii, emit comment in TTX (#1938).
558- [feaLib] Support multiple lookups per glyph position (#1905).
559- [psCharStrings] Use inheritance to avoid repeated code in initializer (#1932).
560- [Doc] Improved documentation for the following modules: ``afmLib`` (#1933), ``agl``
561  (#1934), ``cffLib`` (#1935), ``cu2qu`` (#1937), ``encodings`` (#1940), ``feaLib``
562  (#1941), ``merge`` (#1949).
563- [Doc] Split off developer-centric info to new page, making front page of docs more
564  user-focused. List all utilities and sub-modules with brief descriptions.
565  Make README more concise and focused (#1914).
566- [otlLib] Add function to build STAT table from high-level description (#1926).
567- [ttLib._n_a_m_e] Add ``findMultilingualName()`` method (#1921).
568- [unicodedata] Update ``RTL_SCRIPTS`` for Unicode 13.0 (#1925).
569- [gvar] Sort ``gvar`` XML output by glyph name, not glyph order (#1907, #1908).
570- [Doc] Added help options to ``fonttools`` command line tool (#1913, #1920).
571  Ensure all fonttools CLI tools have help documentation (#1948).
572- [ufoLib] Only write fontinfo.plist when there actually is content (#1911).
573
5744.9.0 (released 2020-04-29)
575---------------------------
576
577- [subset] Fixed subsetting of FeatureVariations table. The subsetter no longer drops
578  FeatureVariationRecords that have empty substitutions as that will keep the search
579  going and thus change the logic. It will only drop empty records that occur at the
580  end of the FeatureVariationRecords array (#1881).
581- [subset] Remove FeatureVariations table and downgrade GSUB/GPOS to version 0x10000
582  when FeatureVariations contain no FeatureVariationRecords after subsetting (#1903).
583- [agl] Add support for legacy Adobe Glyph List of glyph names in ``fontTools.agl``
584  (#1895).
585- [feaLib] Ignore superfluous script statements (#1883).
586- [feaLib] Hide traceback by default on ``fonttools feaLib`` command line.
587  Use ``--traceback`` option to show (#1898).
588- [feaLib] Check lookup index in chaining sub/pos lookups and print better error
589  message (#1896, #1897).
590- [feaLib] Fix building chained alt substitutions (#1902).
591- [Doc] Included all fontTools modules in the sphinx-generated documentation, and
592  published it to ReadTheDocs for continuous documentation of the fontTools project
593  (#1333). Check it out at https://fonttools.readthedocs.io/. Thanks to Chris Simpkins!
594- [transform] The ``Transform`` class is now subclass of ``typing.NamedTuple``. No
595  change in functionality (#1904).
596
597
5984.8.1 (released 2020-04-17)
599---------------------------
600
601- [feaLib] Fixed ``AttributeError: 'NoneType' has no attribute 'getAlternateGlyphs'``
602  when ``aalt`` feature references a chain contextual substitution lookup
603  (googlefonts/fontmake#648, #1878).
604
6054.8.0 (released 2020-04-16)
606---------------------------
607
608- [feaLib] If Parser is initialized without a ``glyphNames`` parameter, it cannot
609  distinguish between a glyph name containing an hyphen, or a range of glyph names;
610  instead of raising an error, it now interprets them as literal glyph names, while
611  also outputting a logging warning to alert user about the ambiguity (#1768, #1870).
612- [feaLib] When serializing AST to string, emit spaces around hyphens that denote
613  ranges. Also, fixed an issue with CID ranges when round-tripping AST->string->AST
614  (#1872).
615- [Snippets/otf2ttf] In otf2ttf.py script update LSB in hmtx to match xMin (#1873).
616- [colorLib] Added experimental support for building ``COLR`` v1 tables as per
617  the `colr-gradients-spec <https://github.com/googlefonts/colr-gradients-spec/blob/master/colr-gradients-spec.md>`__
618  draft proposal. **NOTE**: both the API and the XML dump of ``COLR`` v1 are
619  susceptible to change while the proposal is being discussed and formalized (#1822).
620
6214.7.0 (released 2020-04-03)
622---------------------------
623
624- [cu2qu] Added ``fontTools.cu2qu`` package, imported from the original
625  `cu2qu <https://github.com/googlefonts/cu2qu>`__ project. The ``cu2qu.pens`` module
626  was moved to ``fontTools.pens.cu2quPen``. The optional cu2qu extension module
627  can be compiled by installing `Cython <https://cython.org/>`__ before installing
628  fonttools from source (i.e. git repo or sdist tarball). The wheel package that
629  is published on PyPI (i.e. the one ``pip`` downloads, unless ``--no-binary``
630  option is used), will continue to be pure-Python for now (#1868).
631
6324.6.0 (released 2020-03-24)
633---------------------------
634
635- [varLib] Added support for building variable ``BASE`` table version 1.1 (#1858).
636- [CPAL] Added ``fromRGBA`` method to ``Color`` class (#1861).
637
638
6394.5.0 (released 2020-03-20)
640---------------------------
641
642- [designspaceLib] Added ``add{Axis,Source,Instance,Rule}Descriptor`` methods to
643  ``DesignSpaceDocument`` class, to initialize new descriptor objects using keyword
644  arguments, and at the same time append them to the current document (#1860).
645- [unicodedata] Update to Unicode 13.0 (#1859).
646
6474.4.3 (released 2020-03-13)
648---------------------------
649
650- [varLib] Always build ``gvar`` table for TrueType-flavored Variable Fonts,
651  even if it contains no variation data. The table is required according to
652  the OpenType spec (#1855, #1857).
653
6544.4.2 (released 2020-03-12)
655---------------------------
656
657- [ttx] Annotate ``LookupFlag`` in XML dump with comment explaining what bits
658  are set and what they mean (#1850).
659- [feaLib] Added more descriptive message to ``IncludedFeaNotFound`` error (#1842).
660
6614.4.1 (released 2020-02-26)
662---------------------------
663
664- [woff2] Skip normalizing ``glyf`` and ``loca`` tables if these are missing from
665  a font (e.g. in NotoColorEmoji using ``CBDT/CBLC`` tables).
666- [timeTools] Use non-localized date parsing in ``timestampFromString``, to fix
667  error when non-English ``LC_TIME`` locale is set (#1838, #1839).
668- [fontBuilder] Make sure the CFF table generated by fontBuilder can be used by varLib
669  without having to compile and decompile the table first. This was breaking in
670  converting the CFF table to CFF2 due to some unset attributes (#1836).
671
6724.4.0 (released 2020-02-18)
673---------------------------
674
675- [colorLib] Added ``fontTools.colorLib.builder`` module, initially with ``buildCOLR``
676  and ``buildCPAL`` public functions. More color font formats will follow (#1827).
677- [fontBuilder] Added ``setupCOLR`` and ``setupCPAL`` methods (#1826).
678- [ttGlyphPen] Quantize ``GlyphComponent.transform`` floats to ``F2Dot14`` to fix
679  round-trip issue when computing bounding boxes of transformed components (#1830).
680- [glyf] If a component uses reference points (``firstPt`` and ``secondPt``) for
681  alignment (instead of X and Y offsets), compute the effective translation offset
682  *after* having applied any transform (#1831).
683- [glyf] When all glyphs have zero contours, compile ``glyf`` table data as a single
684  null byte in order to pass validation by OTS and Windows (#1829).
685- [feaLib] Parsing feature code now ensures that referenced glyph names are part of
686  the known glyph set, unless a glyph set was not provided.
687- [varLib] When filling in the default axis value for a missing location of a source or
688  instance, correctly map the value forward.
689- [varLib] The avar table can now contain mapping output values that are greater than
690  OR EQUAL to the preceeding value, as the avar specification allows this.
691- [varLib] The errors of the module are now ordered hierarchically below VarLibError.
692  See #1821.
693
6944.3.0 (released 2020-02-03)
695---------------------------
696
697- [EBLC/CBLC] Fixed incorrect padding length calculation for Format 3 IndexSubTable
698  (#1817, #1818).
699- [varLib] Fixed error when merging OTL tables and TTFonts were loaded as ``lazy=True``
700  (#1808, #1809).
701- [varLib] Allow to use master fonts containing ``CFF2`` table when building VF (#1816).
702- [ttLib] Make ``recalcBBoxes`` option work also with ``CFF2`` table (#1816).
703- [feaLib] Don't reset ``lookupflag`` in lookups defined inside feature blocks.
704  They will now inherit the current ``lookupflag`` of the feature. This is what
705  Adobe ``makeotf`` also does in this case (#1815).
706- [feaLib] Fixed bug with mixed single/multiple substitutions. If a single substitution
707  involved a glyph class, we were incorrectly using only the first glyph in the class
708  (#1814).
709
7104.2.5 (released 2020-01-29)
711---------------------------
712
713- [feaLib] Do not fail on duplicate multiple substitutions, only warn (#1811).
714- [subset] Optimize SinglePos subtables to Format 1 if all ValueRecords are the same
715  (#1802).
716
7174.2.4 (released 2020-01-09)
718---------------------------
719
720- [unicodedata] Update RTL_SCRIPTS for Unicode 11 and 12.
721
7224.2.3 (released 2020-01-07)
723---------------------------
724
725- [otTables] Fixed bug when splitting `MarkBasePos` subtables as offsets overflow.
726  The mark class values in the split subtable were not being updated, leading to
727  invalid mark-base attachments (#1797, googlefonts/noto-source#145).
728- [feaLib] Only log a warning instead of error when features contain duplicate
729  substitutions (#1767).
730- [glifLib] Strip XML comments when parsing with lxml (#1784, #1785).
731
7324.2.2 (released 2019-12-12)
733---------------------------
734
735- [subset] Fixed issue with subsetting FeatureVariations table when the index
736  of features changes as features get dropped. The feature index need to be
737  remapped to point to index of the remaining features (#1777, #1782).
738- [fontBuilder] Added `addFeatureVariations` method to `FontBuilder` class. This
739  is a shorthand for calling `featureVars.addFeatureVariations` on the builder's
740  TTFont object (#1781).
741- [glyf] Fixed the flags bug in glyph.drawPoints() like we did for glyph.draw()
742  (#1771, #1774).
743
7444.2.1 (released 2019-12-06)
745---------------------------
746
747- [glyf] Use the ``flagOnCurve`` bit mask in ``glyph.draw()``, so that we ignore
748  the ``overlap`` flag that may be set when instantiating variable fonts (#1771).
749
7504.2.0 (released 2019-11-28)
751---------------------------
752
753- [pens] Added the following pens:
754
755  * ``roundingPen.RoundingPen``: filter pen that rounds coordinates and components'
756    offsets to integer;
757  * ``roundingPen.RoundingPointPen``: like the above, but using PointPen protocol.
758  * ``filterPen.FilterPointPen``: base class for filter point pens;
759  * ``transformPen.TransformPointPen``: filter point pen to apply affine transform;
760  * ``recordingPen.RecordingPointPen``: records and replays point-pen commands.
761
762- [ttGlyphPen] Always round float coordinates and component offsets to integers
763  (#1763).
764- [ufoLib] When converting kerning groups from UFO2 to UFO3, avoid confusing
765  groups with the same name as one of the glyphs (#1761, #1762,
766  unified-font-object/ufo-spec#98).
767
7684.1.0 (released 2019-11-18)
769---------------------------
770
771- [instancer] Implemented restricting axis ranges (level 3 partial instancing).
772  You can now pass ``{axis_tag: (min, max)}`` tuples as input to the
773  ``instantiateVariableFont`` function. Note that changing the default axis
774  position is not supported yet. The command-line script also accepts axis ranges
775  in the form of colon-separated float values, e.g. ``wght=400:700`` (#1753, #1537).
776- [instancer] Never drop STAT ``DesignAxis`` records, but only prune out-of-range
777  ``AxisValue`` records.
778- [otBase/otTables] Enforce that VarStore.RegionAxisCount == fvar.axisCount, even
779  when regions list is empty to appease OTS < v8.0 (#1752).
780- [designspaceLib] Defined new ``processing`` attribute for ``<rules>`` element,
781  with values "first" or "last", plus other editorial changes to DesignSpace
782  specification. Bumped format version to 4.1 (#1750).
783- [varLib] Improved error message when masters' glyph orders do not match (#1758,
784  #1759).
785- [featureVars] Allow to specify custom feature tag in ``addFeatureVariations``;
786  allow said feature to already exist, in which case we append new lookup indices
787  to existing features. Implemented ``<rules>`` attribute ``processing`` according to
788  DesignSpace specification update in #1750. Depending on this flag, we generate
789  either an 'rvrn' (always processed first) or a 'rclt' feature (follows lookup order,
790  therefore last) (#1747, #1625, #1371).
791- [ttCollection] Added support for context manager auto-closing via ``with`` statement
792  like with ``TTFont`` (#1751).
793- [unicodedata] Require unicodedata2 >= 12.1.0.
794- [py2.py3] Removed yet more PY2 vestiges (#1743).
795- [_n_a_m_e] Fixed issue when comparing NameRecords with different string types (#1742).
796- [fixedTools] Changed ``fixedToFloat`` to not do any rounding but simply return
797  ``value / (1 << precisionBits)``. Added ``floatToFixedToStr`` and
798  ``strToFixedToFloat`` functions to be used when loading from or dumping to XML.
799  Fixed values (e.g. fvar axes and instance coordinates, avar mappings, etc.) are
800  are now stored as un-rounded decimal floats upon decompiling (#1740, #737).
801- [feaLib] Fixed handling of multiple ``LigatureCaret`` statements for the same glyph.
802  Only the first rule per glyph is used, additional ones are ignored (#1733).
803
8044.0.2 (released 2019-09-26)
805---------------------------
806
807- [voltLib] Added support for ``ALL`` and ``NONE`` in ``PROCESS_MARKS`` (#1732).
808- [Silf] Fixed issue in ``Silf`` table compilation and decompilation regarding str vs
809  bytes in python3 (#1728).
810- [merge] Handle duplicate glyph names better: instead of appending font index to
811  all glyph names, use similar code like we use in ``post`` and ``CFF`` tables (#1729).
812
8134.0.1 (released 2019-09-11)
814---------------------------
815
816- [otTables] Support fixing offset overflows in ``MultipleSubst`` lookup subtables
817  (#1706).
818- [subset] Prune empty strikes in ``EBDT`` and ``CBDT`` table data (#1698, #1633).
819- [pens] Fixed issue in ``PointToSegmentPen`` when last point of closed contour has
820  same coordinates as the starting point and was incorrectly dropped (#1720).
821- [Graphite] Fixed ``Sill`` table output to pass OTS (#1705).
822- [name] Added ``removeNames`` method to ``table__n_a_m_e`` class (#1719).
823- [ttLib] Added aliases for renamed entries ``ascender`` and ``descender`` in
824  ``hhea`` table (#1715).
825
8264.0.0 (released 2019-08-22)
827---------------------------
828
829- NOTE: The v4.x version series only supports Python 3.6 or greater. You can keep
830  using fonttools 3.x if you need support for Python 2.
831- [py23] Removed all the python2-only code since it is no longer reachable, thus
832  unused; only the Python3 symbols were kept, but these are no-op. The module is now
833  DEPRECATED and will removed in the future.
834- [ttLib] Fixed UnboundLocalError for empty loca/glyph tables (#1680). Also, allow
835  the glyf table to be incomplete when dumping to XML (#1681).
836- [varLib.models] Fixed KeyError while sorting masters and there are no on-axis for
837  a given axis (38a8eb0e).
838- [cffLib] Make sure glyph names are unique (#1699).
839- [feaLib] Fix feature parser to correctly handle octal numbers (#1700).
840
8413.44.0 (released 2019-08-02)
842----------------------------
843
844- NOTE: This is the last scheduled release to support Python 2.7. The upcoming fonttools
845  v4.x series is going to require Python 3.6 or greater.
846- [varLib] Added new ``varLib.instancer`` module for partially instantiating variable
847  fonts. This extends (and will eventually replace) ``varLib.mutator`` module, as
848  it allows to create not just full static instances from a variable font, but also
849  "partial" or "less variable" fonts where some of the axes are dropped or
850  instantiated at a particular value.
851  Also available from the command-line as `fonttools varLib.instancer --help`
852  (#1537, #1628).
853- [cffLib] Added support for ``FDSelect`` format 4 (#1677).
854- [subset] Added support for subsetting ``sbix`` (Apple bitmap color font) table.
855- [t1Lib] Fixed issue parsing ``eexec`` section in Type1 fonts when whitespace
856  characters are interspersed among the trailing zeros (#1676).
857- [cffLib.specializer] Fixed bug in ``programToCommands`` with CFF2 charstrings (#1669).
858
8593.43.2 (released 2019-07-10)
860----------------------------
861
862- [featureVars] Fixed region-merging code on python3 (#1659).
863- [varLib.cff] Fixed merging of sparse PrivateDict items (#1653).
864
8653.43.1 (released 2019-06-19)
866----------------------------
867
868- [subset] Fixed regression when passing ``--flavor=woff2`` option with an input font
869  that was already compressed as WOFF 1.0 (#1650).
870
8713.43.0 (released 2019-06-18)
872----------------------------
873
874- [woff2] Added support for compressing/decompressing WOFF2 fonts with non-transformed
875  ``glyf`` and ``loca`` tables, as well as with transformed ``hmtx`` table.
876  Removed ``Snippets/woff2_compress.py`` and ``Snippets/woff2_decompress.py`` scripts,
877  and replaced them with a new console entry point ``fonttools ttLib.woff2``
878  that provides two sub-commands ``compress`` and ``decompress``.
879- [varLib.cff] Fixed bug when merging CFF2 ``PrivateDicts``. The ``PrivateDict``
880  data from the first region font was incorrecty used for all subsequent fonts.
881  The bug would only affect variable CFF2 fonts with hinting (#1643, #1644).
882  Also, fixed a merging bug when VF masters have no blends or marking glyphs (#1632,
883  #1642).
884- [loggingTools] Removed unused backport of ``LastResortLogger`` class.
885- [subset] Gracefully handle partial MATH table (#1635).
886- [featureVars] Avoid duplicate references to ``rvrn`` feature record in
887  ``DefaultLangSys`` tables when calling ``addFeatureVariations`` on a font that
888  does not already have a ``GSUB`` table (aa8a5bc6).
889- [varLib] Fixed merging of class-based kerning. Before, the process could introduce
890  rogue kerning values and variations for random classes against class zero (everything
891  not otherwise classed).
892- [varLib] Fixed merging GPOS tables from master fonts with different number of
893  ``SinglePos`` subtables (#1621, #1641).
894- [unicodedata] Updated Blocks, Scripts and ScriptExtensions to Unicode 12.1.
895
8963.42.0 (released 2019-05-28)
897----------------------------
898
899- [OS/2] Fixed sign of ``fsType``: it should be ``uint16``, not ``int16`` (#1619).
900- [subset] Skip out-of-range class values in mark attachment (#1478).
901- [fontBuilder] Add an empty ``DSIG`` table with ``setupDummyDSIG`` method (#1621).
902- [varLib.merger] Fixed bug whereby ``GDEF.GlyphClassDef`` were being dropped
903  when generating instance via ``varLib.mutator`` (#1614).
904- [varLib] Added command-line options ``-v`` and ``-q`` to configure logging (#1613).
905- [subset] Update font extents in head table (#1612).
906- [subset] Make --retain-gids truncate empty glyphs after the last non-empty glyph
907  (#1611).
908- [requirements] Updated ``unicodedata2`` backport for Unicode 12.0.
909
9103.41.2 (released 2019-05-13)
911----------------------------
912
913- [cffLib] Fixed issue when importing a ``CFF2`` variable font from XML, whereby
914  the VarStore state was not propagated to PrivateDict (#1598).
915- [varLib] Don't drop ``post`` glyph names when building CFF2 variable font (#1609).
916
917
9183.41.1 (released 2019-05-13)
919----------------------------
920
921- [designspaceLib] Added ``loadSourceFonts`` method to load source fonts using
922  custom opener function (#1606).
923- [head] Round font bounding box coordinates to integers to fix compile error
924  if CFF font has float coordinates (#1604, #1605).
925- [feaLib] Don't write ``None`` in ``ast.ValueRecord.asFea()`` (#1599).
926- [subset] Fixed issue ``AssertionError`` when using ``--desubroutinize`` option
927  (#1590, #1594).
928- [graphite] Fixed bug in ``Silf`` table's ``decompile`` method unmasked by
929  previous typo fix (#1597). Decode languange code as UTF-8 in ``Sill`` table's
930  ``decompile`` method (#1600).
931
9323.41.0 (released 2019-04-29)
933----------------------------
934
935- [varLib/cffLib] Added support for building ``CFF2`` variable font from sparse
936  masters, or masters with more than one model (multiple ``VarStore.VarData``).
937  In ``cffLib.specializer``, added support for ``CFF2`` CharStrings with
938  ``blend`` operators (#1547, #1591).
939- [subset] Fixed subsetting ``HVAR`` and ``VVAR`` with ``--retain-gids`` option,
940  and when advances mapping is null while sidebearings mappings are non-null
941  (#1587, #1588).
942- Added ``otlLib.maxContextCalc`` module to compute ``OS/2.usMaxContext`` value.
943  Calculate it automatically when compiling features with feaLib. Added option
944  ``--recalc-max-context`` to ``subset`` module (#1582).
945- [otBase/otTables] Fixed ``AttributeError`` on missing OT table fields after
946  importing font from TTX (#1584).
947- [graphite] Fixed typo ``Silf`` table's ``decompile`` method (#1586).
948- [otlLib] Better compress ``GPOS`` SinglePos (LookupType 1) subtables (#1539).
949
9503.40.0 (released 2019-04-08)
951----------------------------
952
953- [subset] Fixed error while subsetting ``VVAR`` with ``--retain-gids``
954  option (#1552).
955- [designspaceLib] Use up-to-date default location in ``findDefault`` method
956  (#1554).
957- [voltLib] Allow passing file-like object to Parser.
958- [arrayTools/glyf] ``calcIntBounds`` (used to compute bounding boxes of glyf
959  table's glyphs) now uses ``otRound`` instead of ``round3`` (#1566).
960- [svgLib] Added support for converting more SVG shapes to path ``d`` strings
961  (ellipse, line, polyline), as well as support for ``transform`` attributes.
962  Only ``matrix`` transformations are currently supported (#1564, #1564).
963- [varLib] Added support for building ``VVAR`` table from ``vmtx`` and ``VORG``
964  tables (#1551).
965- [fontBuilder] Enable making CFF2 fonts with ``post`` table format 2 (#1557).
966- Fixed ``DeprecationWarning`` on invalid escape sequences (#1562).
967
9683.39.0 (released 2019-03-19)
969----------------------------
970
971- [ttLib/glyf] Raise more specific error when encountering recursive
972  component references (#1545, #1546).
973- [Doc/designspaceLib] Defined new ``public.skipExportGlyphs`` lib key (#1534,
974  unified-font-object/ufo-spec#84).
975- [varLib] Use ``vmtx`` to compute vertical phantom points; or ``hhea.ascent``
976  and ``head.unitsPerEM`` if ``vmtx`` is missing (#1528).
977- [gvar/cvar] Sort XML element's min/value/max attributes in TupleVariation
978  toXML to improve readability of TTX dump (#1527).
979- [varLib.plot] Added support for 2D plots with only 1 variation axis (#1522).
980- [designspaceLib] Use axes maps when normalizing locations in
981  DesignSpaceDocument (#1226, #1521), and when finding default source (#1535).
982- [mutator] Set ``OVERLAP_SIMPLE`` and ``OVERLAP_COMPOUND`` glyf flags by
983  default in ``instantiateVariableFont``. Added ``--no-overlap`` cli option
984  to disable this (#1518).
985- [subset] Fixed subsetting ``VVAR`` table (#1516, #1517).
986  Fixed subsetting an ``HVAR`` table that has an ``AdvanceWidthMap`` when the
987  option ``--retain-gids`` is used.
988- [feaLib] Added ``forceChained`` in MultipleSubstStatement (#1511).
989  Fixed double indentation of ``subtable`` statement (#1512).
990  Added support for ``subtable`` statement in more places than just PairPos
991  lookups (#1520).
992  Handle lookupflag 0 and lookupflag without a value (#1540).
993- [varLib] In ``load_designspace``, provide a default English name for the
994  ``ital`` axis tag.
995- Remove pyftinspect because it is unmaintained and bitrotted.
996
9973.38.0 (released 2019-02-18)
998----------------------------
999
1000- [cffLib] Fixed RecursionError when unpickling or deepcopying TTFont with
1001  CFF table (#1488, 649dc49).
1002- [subset] Fixed AttributeError when using --desubroutinize option (#1490).
1003  Also, fixed desubroutinizing bug when subrs contain hints (#1499).
1004- [CPAL] Make Color a subclass of namedtuple (173a0f5).
1005- [feaLib] Allow hyphen in glyph class names.
1006- [feaLib] Added 'tables' option to __main__.py (#1497).
1007- [feaLib] Add support for special-case contextual positioning formatting
1008  (#1501).
1009- [svgLib] Support converting SVG basic shapes (rect, circle, etc.) into
1010  equivalent SVG paths (#1500, #1508).
1011- [Snippets] Added name-viewer.ipynb Jupyter notebook.
1012
1013
10143.37.3 (released 2019-02-05)
1015----------------------------
1016
1017- The previous release accidentally changed several files from Unix to DOS
1018  line-endings. Fix that.
1019
10203.37.2 (released 2019-02-05)
1021----------------------------
1022
1023- [varLib] Temporarily revert the fix to ``load_masters()``, which caused a
1024  crash in ``interpolate_layout()`` when ``deepcopy``-ing OTFs.
1025
10263.37.1 (released 2019-02-05)
1027----------------------------
1028
1029- [varLib] ``load_masters()`` now actually assigns the fonts it loads to the
1030  source.font attributes.
1031- [varLib] Fixed an MVAR table generation crash when sparse masters were
1032  involved.
1033- [voltLib] ``parse_coverage_()`` returns a tuple instead of an ast.Enum.
1034- [feaLib] A MarkClassDefinition inside a block is no longer doubly indented
1035  compared to the rest of the block.
1036
10373.37.0 (released 2019-01-28)
1038----------------------------
1039
1040- [svgLib] Added support for converting elliptical arcs to cubic bezier curves
1041  (#1464).
1042- [py23] Added backport for ``math.isfinite``.
1043- [varLib] Apply HIDDEN flag to fvar axis if designspace axis has attribute
1044  ``hidden=1``.
1045- Fixed "DeprecationWarning: invalid escape sequence" in Python 3.7.
1046- [voltLib] Fixed parsing glyph groups. Distinguish different PROCESS_MARKS.
1047  Accept COMPONENT glyph type.
1048- [feaLib] Distinguish missing value and explicit ``<NULL>`` for PairPos2
1049  format A (#1459). Round-trip ``useExtension`` keyword. Implemented
1050  ``ValueRecord.asFea`` method.
1051- [subset] Insert empty widths into hdmx when retaining gids (#1458).
1052
10533.36.0 (released 2019-01-17)
1054----------------------------
1055
1056- [ttx] Added ``--no-recalc-timestamp`` option to keep the original font's
1057  ``head.modified`` timestamp (#1455, #46).
1058- [ttx/psCharStrings] Fixed issues while dumping and round-tripping CFF2 table
1059  with ttx (#1451, #1452, #1456).
1060- [voltLib] Fixed check for duplicate anchors (#1450). Don't try to read past
1061  the ``END`` operator in .vtp file (#1453).
1062- [varLib] Use sentinel value -0x8000 (-32768) to ignore post.underlineThickness
1063  and post.underlinePosition when generating MVAR deltas (#1449,
1064  googlei18n/ufo2ft#308).
1065- [subset] Added ``--retain-gids`` option to subset font without modifying the
1066  current glyph indices (#1443, #1447).
1067- [ufoLib] Replace deprecated calls to ``getbytes`` and ``setbytes`` with new
1068  equivalent ``readbytes`` and ``writebytes`` calls. ``fs`` >= 2.2 no required.
1069- [varLib] Allow loading masters from TTX files as well (#1441).
1070
10713.35.2 (released 2019-01-14)
1072----------------------------
1073
1074- [hmtx/vmtx]: Allow to compile/decompile ``hmtx`` and ``vmtx`` tables even
1075  without the corresponding (required) metrics header tables, ``hhea`` and
1076  ``vhea`` (#1439).
1077- [varLib] Added support for localized axes' ``labelname`` and named instances'
1078  ``stylename`` (#1438).
1079
10803.35.1 (released 2019-01-09)
1081----------------------------
1082
1083- [_m_a_x_p] Include ``maxComponentElements`` in ``maxp`` table's recalculation.
1084
10853.35.0 (released 2019-01-07)
1086----------------------------
1087
1088- [psCharStrings] In ``encodeFloat`` function, use float's "general format" with
1089  8 digits of precision (i.e. ``%8g``) instead of ``str()``. This works around
1090  a macOS rendering issue when real numbers in CFF table are too long, and
1091  also makes sure that floats are encoded with the same precision in python 2.7
1092  and 3.x (#1430, googlei18n/ufo2ft#306).
1093- [_n_a_m_e/fontBuilder] Make ``_n_a_m_e_table.addMultilingualName`` also add
1094  Macintosh (platformID=1) names by default. Added options to ``FontBuilder``
1095  ``setupNameTable`` method to optionally disable Macintosh or Windows names.
1096  (#1359, #1431).
1097- [varLib] Make ``build`` optionally accept a ``DesignSpaceDocument`` object,
1098  instead of a designspace file path. The caller can now set the ``font``
1099  attribute of designspace's sources to a TTFont object, thus allowing to
1100  skip filenames manipulation altogether (#1416, #1425).
1101- [sfnt] Allow SFNTReader objects to be deep-copied.
1102- Require typing>=3.6.4 on py27 to fix issue with singledispatch (#1423).
1103- [designspaceLib/t1Lib/macRes] Fixed some cases where pathlib.Path objects were
1104  not accepted (#1421).
1105- [varLib] Fixed merging of multiple PairPosFormat2 subtables (#1411).
1106- [varLib] The default STAT table version is now set to 1.1, to improve
1107  compatibility with legacy applications (#1413).
1108
11093.34.2 (released 2018-12-17)
1110----------------------------
1111
1112- [merge] Fixed AssertionError when none of the script tables in GPOS/GSUB have
1113  a DefaultLangSys record (#1408, 135a4a1).
1114
11153.34.1 (released 2018-12-17)
1116----------------------------
1117
1118- [varLib] Work around macOS rendering issue for composites without gvar entry (#1381).
1119
11203.34.0 (released 2018-12-14)
1121----------------------------
1122
1123- [varLib] Support generation of CFF2 variable fonts. ``model.reorderMasters()``
1124  now supports arbitrary mapping. Fix handling of overlapping ranges for feature
1125  variations (#1400).
1126- [cffLib, subset] Code clean-up and fixing related to CFF2 support.
1127- [ttLib.tables.ttProgram] Use raw strings for regex patterns (#1389).
1128- [fontbuilder] Initial support for building CFF2 fonts. Set CFF's
1129  ``FontMatrix`` automatically from unitsPerEm.
1130- [plistLib] Accept the more general ``collections.Mapping`` instead of the
1131  specific ``dict`` class to support custom data classes that should serialize
1132  to dictionaries.
1133
11343.33.0 (released 2018-11-30)
1135----------------------------
1136- [subset] subsetter bug fix with variable fonts.
1137- [varLib.featureVar] Improve FeatureVariations generation with many rules.
1138- [varLib] Enable sparse masters when building variable fonts:
1139  https://github.com/fonttools/fonttools/pull/1368#issuecomment-437257368
1140- [varLib.mutator] Add IDEF for GETVARIATION opcode, for handling hints in an
1141  instance.
1142- [ttLib] Ignore the length of kern table subtable format 0
1143
11443.32.0 (released 2018-11-01)
1145----------------------------
1146
1147- [ufoLib] Make ``UFOWriter`` a subclass of ``UFOReader``, and use mixins
1148  for shared methods (#1344).
1149- [featureVars] Fixed normalization error when a condition's minimum/maximum
1150  attributes are missing in designspace ``<rule>`` (#1366).
1151- [setup.py] Added ``[plot]`` to extras, to optionally install ``matplotlib``,
1152  needed to use the ``fonTools.varLib.plot`` module.
1153- [varLib] Take total bounding box into account when resolving model (7ee81c8).
1154  If multiple axes have the same range ratio, cut across both (62003f4).
1155- [subset] Don't error if ``STAT`` has no ``AxisValue`` tables.
1156- [fontBuilder] Added a new submodule which contains a ``FontBuilder`` wrapper
1157  class around ``TTFont`` that makes it easier to create a working TTF or OTF
1158  font from scratch with code. NOTE: the API is still experimental and may
1159  change in future versions.
1160
11613.31.0 (released 2018-10-21)
1162----------------------------
1163
1164- [ufoLib] Merged the `ufoLib <https://github.com/unified-font-objects/ufoLib>`__
1165  master branch into a new ``fontTools.ufoLib`` package (#1335, #1095).
1166  Moved ``ufoLib.pointPen`` module to ``fontTools.pens.pointPen``.
1167  Moved ``ufoLib.etree`` module to ``fontTools.misc.etree``.
1168  Moved ``ufoLib.plistlib`` module to ``fontTools.misc.plistlib``.
1169  To use the new ``fontTools.ufoLib`` module you need to install fonttools
1170  with the ``[ufo]`` extra, or you can manually install the required additional
1171  dependencies (cf. README.rst).
1172- [morx] Support AAT action type to insert glyphs and clean up compilation
1173  of AAT action tables (4a1871f, 2011ccf).
1174- [subset] The ``--no-hinting`` on a CFF font now also drops the optional
1175  hinting keys in Private dict: ``ForceBold``, ``LanguageGroup``, and
1176  ``ExpansionFactor`` (#1322).
1177- [subset] Include nameIDs referenced by STAT table (#1327).
1178- [loggingTools] Added ``msg=None`` argument to
1179  ``CapturingLogHandler.assertRegex`` (0245f2c).
1180- [varLib.mutator] Implemented ``FeatureVariations`` instantiation (#1244).
1181- [g_l_y_f] Added PointPen support to ``_TTGlyph`` objects (#1334).
1182
11833.30.0 (released 2018-09-18)
1184----------------------------
1185
1186- [feaLib] Skip building noop class PairPos subtables when Coverage is NULL
1187  (#1318).
1188- [ttx] Expose the previously reserved bit flag ``OVERLAP_SIMPLE`` of
1189  glyf table's contour points in the TTX dump. This is used in some
1190  implementations to specify a non-zero fill with overlapping contours (#1316).
1191- [ttLib] Added support for decompiling/compiling ``TS1C`` tables containing
1192  VTT sources for ``cvar`` variation table (#1310).
1193- [varLib] Use ``fontTools.designspaceLib`` to read DesignSpaceDocument. The
1194  ``fontTools.varLib.designspace`` module is now deprecated and will be removed
1195  in future versions. The presence of an explicit ``axes`` element is now
1196  required in order to build a variable font (#1224, #1313).
1197- [varLib] Implemented building GSUB FeatureVariations table from the ``rules``
1198  element of DesignSpace document (#1240, #713, #1314).
1199- [subset] Added ``--no-layout-closure`` option to not expand the subset with
1200  the glyphs produced by OpenType layout features. Instead, OpenType features
1201  will be subset to only rules that are relevant to the otherwise-specified
1202  glyph set (#43, #1121).
1203
12043.29.1 (released 2018-09-10)
1205----------------------------
1206
1207- [feaLib] Fixed issue whereby lookups from DFLT/dflt were not included in the
1208  DFLT/non-dflt language systems (#1307).
1209- [graphite] Fixed issue on big-endian architectures (e.g. ppc64) (#1311).
1210- [subset] Added ``--layout-scripts`` option to add/exclude set of OpenType
1211  layout scripts that will be preserved. By default all scripts are retained
1212  (``'*'``) (#1303).
1213
12143.29.0 (released 2018-07-26)
1215----------------------------
1216
1217- [feaLib] In the OTL table builder, when the ``name`` table is excluded
1218  from the list of tables to be build, skip compiling ``featureNames`` blocks,
1219  as the records referenced in ``FeatureParams`` table don't exist (68951b7).
1220- [otBase] Try ``ExtensionLookup`` if other offset-overflow methods fail
1221  (05f95f0).
1222- [feaLib] Added support for explicit ``subtable;`` break statements in
1223  PairPos lookups; previously these were ignored (#1279, #1300, #1302).
1224- [cffLib.specializer] Make sure the stack depth does not exceed maxstack - 1,
1225  so that a subroutinizer can insert subroutine calls (#1301,
1226  https://github.com/googlei18n/ufo2ft/issues/266).
1227- [otTables] Added support for fixing offset overflow errors occurring inside
1228  ``MarkBasePos`` subtables (#1297).
1229- [subset] Write the default output file extension based on ``--flavor`` option,
1230  or the value of ``TTFont.sfntVersion`` (d7ac0ad).
1231- [unicodedata] Updated Blocks, Scripts and ScriptExtensions for Unicode 11
1232  (452c85e).
1233- [xmlWriter] Added context manager to XMLWriter class to autoclose file
1234  descriptor on exit (#1290).
1235- [psCharStrings] Optimize the charstring's bytecode by encoding as integers
1236  all float values that have no decimal portion (8d7774a).
1237- [ttFont] Fixed missing import of ``TTLibError`` exception (#1285).
1238- [feaLib] Allow any languages other than ``dflt`` under ``DFLT`` script
1239  (#1278, #1292).
1240
12413.28.0 (released 2018-06-19)
1242----------------------------
1243
1244- [featureVars] Added experimental module to build ``FeatureVariations``
1245  tables. Still needs to be hooked up to ``varLib.build`` (#1240).
1246- [fixedTools] Added ``otRound`` to round floats to nearest integer towards
1247  positive Infinity. This is now used where we deal with visual data like X/Y
1248  coordinates, advance widths/heights, variation deltas, and similar (#1274,
1249  #1248).
1250- [subset] Improved GSUB closure memoize algorithm.
1251- [varLib.models] Fixed regression in model resolution (180124, #1269).
1252- [feaLib.ast] Fixed error when converting ``SubtableStatement`` to string
1253  (#1275).
1254- [varLib.mutator] Set ``OS/2.usWeightClass`` and ``usWidthClass``, and
1255  ``post.italicAngle`` based on the 'wght', 'wdth' and 'slnt' axis values
1256  (#1276, #1264).
1257- [py23/loggingTools] Don't automatically set ``logging.lastResort`` handler
1258  on py27. Moved ``LastResortLogger`` to the ``loggingTools`` module (#1277).
1259
12603.27.1 (released 2018-06-11)
1261----------------------------
1262
1263- [ttGlyphPen] Issue a warning and skip building non-existing components
1264  (https://github.com/googlei18n/fontmake/issues/411).
1265- [tests] Fixed issue running ttx_test.py from a tagged commit.
1266
12673.27.0 (released 2018-06-11)
1268----------------------------
1269
1270- [designspaceLib] Added new ``conditionSet`` element to ``rule`` element in
1271  designspace document. Bumped ``format`` attribute to ``4.0`` (previously,
1272  it was formatted as an integer). Removed ``checkDefault``, ``checkAxes``
1273  methods, and any kind of guessing about the axes when the ``<axes>`` element
1274  is missing. The default master is expected at the intersection of all default
1275  values for each axis (#1254, #1255, #1267).
1276- [cffLib] Fixed issues when compiling CFF2 or converting from CFF when the
1277  font has an FDArray (#1211, #1271).
1278- [varLib] Avoid attempting to build ``cvar`` table when ``glyf`` table is not
1279  present, as is the case for CFF2 fonts.
1280- [subset] Handle None coverages in MarkGlyphSets; revert commit 02616ab that
1281  sets empty Coverage tables in MarkGlyphSets to None, to make OTS happy.
1282- [ttFont] Allow to build glyph order from ``maxp.numGlyphs`` when ``post`` or
1283  ``cmap`` are missing.
1284- [ttFont] Added ``__len__`` method to ``_TTGlyphSet``.
1285- [glyf] Ensure ``GlyphCoordinates`` never overflow signed shorts (#1230).
1286- [py23] Added alias for ``itertools.izip`` shadowing the built-in ``zip``.
1287- [loggingTools] Memoize ``log`` property of ``LogMixin`` class (fbab12).
1288- [ttx] Impoved test coverage (#1261).
1289- [Snippets] Addded script to append a suffix to all family names in a font.
1290- [varLib.plot] Make it work with matplotlib >= 2.1 (b38e2b).
1291
12923.26.0 (released 2018-05-03)
1293----------------------------
1294
1295- [designspace] Added a new optional ``layer`` attribute to the source element,
1296  and a corresponding ``layerName`` attribute to the ``SourceDescriptor``
1297  object (#1253).
1298  Added ``conditionset`` element to the ``rule`` element to the spec, but not
1299  implemented in designspace reader/writer yet (#1254).
1300- [varLib.models] Refine modeling one last time (0ecf5c5).
1301- [otBase] Fixed sharing of tables referred to by different offset sizes
1302  (795f2f9).
1303- [subset] Don't drop a GDEF that only has VarStore (fc819d6). Set to None
1304  empty Coverage tables in MarkGlyphSets (02616ab).
1305- [varLib]: Added ``--master-finder`` command-line option (#1249).
1306- [varLib.mutator] Prune fvar nameIDs from instance's name table (#1245).
1307- [otTables] Allow decompiling bad ClassDef tables with invalid format, with
1308  warning (#1236).
1309- [varLib] Make STAT v1.2 and reuse nameIDs from fvar table (#1242).
1310- [varLib.plot] Show master locations. Set axis limits to -1, +1.
1311- [subset] Handle HVAR direct mapping. Passthrough 'cvar'.
1312  Added ``--font-number`` command-line option for collections.
1313- [t1Lib] Allow a text encoding to be specified when parsing a Type 1 font
1314  (#1234). Added ``kind`` argument to T1Font constructor (c5c161c).
1315- [ttLib] Added context manager API to ``TTFont`` class, so it can be used in
1316  ``with`` statements to auto-close the file when exiting the context (#1232).
1317
13183.25.0 (released 2018-04-03)
1319----------------------------
1320
1321- [varLib] Improved support-resolution algorithm. Previously, the on-axis
1322  masters would always cut the space. They don't anymore. That's more
1323  consistent, and fixes the main issue Erik showed at TYPO Labs 2017.
1324  Any varfont built that had an unusual master configuration will change
1325  when rebuilt (42bef17, a523a697,
1326  https://github.com/googlei18n/fontmake/issues/264).
1327- [varLib.models] Added a ``main()`` entry point, that takes positions and
1328  prints model results.
1329- [varLib.plot] Added new module to plot a designspace's
1330  VariationModel. Requires ``matplotlib``.
1331- [varLib.mutator] Added -o option to specify output file path (2ef60fa).
1332- [otTables] Fixed IndexError while pruning of HVAR pre-write (6b6c34a).
1333- [varLib.models] Convert delta array to floats if values overflows signed
1334  short integer (0055f94).
1335
13363.24.2 (released 2018-03-26)
1337----------------------------
1338
1339- [otBase] Don't fail during ``ValueRecord`` copy if src has more items.
1340  We drop hinting in the subsetter by simply changing ValueFormat, without
1341  cleaning up the actual ValueRecords. This was causing assertion error if
1342  a variable font was subsetted without hinting and then passed directly to
1343  the mutator for instantiation without first it saving to disk.
1344
13453.24.1 (released 2018-03-06)
1346----------------------------
1347
1348- [varLib] Don't remap the same ``DeviceTable`` twice in VarStore optimizer
1349  (#1206).
1350- [varLib] Add ``--disable-iup`` option to ``fonttools varLib`` script,
1351  and a ``optimize=True`` keyword argument to ``varLib.build`` function,
1352  to optionally disable IUP optimization while building varfonts.
1353- [ttCollection] Fixed issue while decompiling ttc with python3 (#1207).
1354
13553.24.0 (released 2018-03-01)
1356----------------------------
1357
1358- [ttGlyphPen] Decompose composite glyphs if any components' transform is too
1359  large to fit a ``F2Dot14`` value, or clamp transform values that are
1360  (almost) equal to +2.0 to make them fit and avoid decomposing (#1200,
1361  #1204, #1205).
1362- [ttx] Added new ``-g`` option to dump glyphs from the ``glyf`` table
1363  splitted as individual ttx files (#153, #1035, #1132, #1202).
1364- Copied ``ufoLib.filenames`` module to ``fontTools.misc.filenames``, used
1365  for the ttx split-glyphs option (#1202).
1366- [feaLib] Added support for ``cvParameters`` blocks in Character Variant
1367  feautures ``cv01-cv99`` (#860, #1169).
1368- [Snippets] Added ``checksum.py`` script to generate/check SHA1 hash of
1369  ttx files (#1197).
1370- [varLib.mutator] Fixed issue while instantiating some variable fonts
1371  whereby the horizontal advance width computed from ``gvar`` phantom points
1372  could turn up to be negative (#1198).
1373- [varLib/subset] Fixed issue with subsetting GPOS variation data not
1374  picking up ``ValueRecord`` ``Device`` objects (54fd71f).
1375- [feaLib/voltLib] In all AST elements, the ``location`` is no longer a
1376  required positional argument, but an optional kewyord argument (defaults
1377  to ``None``). This will make it easier to construct feature AST from
1378  code (#1201).
1379
1380
13813.23.0 (released 2018-02-26)
1382----------------------------
1383
1384- [designspaceLib] Added an optional ``lib`` element to the designspace as a
1385  whole, as well as to the instance elements, to store arbitrary data in a
1386  property list dictionary, similar to the UFO's ``lib``. Added an optional
1387  ``font`` attribute to the ``SourceDescriptor``, to allow operating on
1388  in-memory font objects (#1175).
1389- [cffLib] Fixed issue with lazy-loading of attributes when attempting to
1390  set the CFF TopDict.Encoding (#1177, #1187).
1391- [ttx] Fixed regression introduced in 3.22.0 that affected the split tables
1392  ``-s`` option (#1188).
1393- [feaLib] Added ``IncludedFeaNotFound`` custom exception subclass, raised
1394  when an included feature file cannot be found (#1186).
1395- [otTables] Changed ``VarIdxMap`` to use glyph names internally instead of
1396  glyph indexes. The old ttx dumps of HVAR/VVAR tables that contain indexes
1397  can still be imported (21cbab8, 38a0ffb).
1398- [varLib] Implemented VarStore optimizer (#1184).
1399- [subset] Implemented pruning of GDEF VarStore, HVAR and MVAR (#1179).
1400- [sfnt] Restore backward compatiblity with ``numFonts`` attribute of
1401  ``SFNTReader`` object (#1181).
1402- [merge] Initial support for merging ``LangSysRecords`` (#1180).
1403- [ttCollection] don't seek(0) when writing to possibly unseekable strems.
1404- [subset] Keep all ``--name-IDs`` from 0 to 6 by default (#1170, #605, #114).
1405- [cffLib] Added ``width`` module to calculate optimal CFF default and
1406  nominal glyph widths.
1407- [varLib] Don’t fail if STAT already in the master fonts (#1166).
1408
14093.22.0 (released 2018-02-04)
1410----------------------------
1411
1412- [subset] Support subsetting ``endchar`` acting as ``seac``-like components
1413  in ``CFF`` (fixes #1162).
1414- [feaLib] Allow to build from pre-parsed ``ast.FeatureFile`` object.
1415  Added ``tables`` argument to only build some tables instead of all (#1159,
1416  #1163).
1417- [textTools] Replaced ``safeEval`` with ``ast.literal_eval`` (#1139).
1418- [feaLib] Added option to the parser to not resolve ``include`` statements
1419  (#1154).
1420- [ttLib] Added new ``ttCollection`` module to read/write TrueType and
1421  OpenType Collections. Exports a ``TTCollection`` class with a ``fonts``
1422  attribute containing a list of ``TTFont`` instances, the methods ``save``
1423  and ``saveXML``, plus some list-like methods. The ``importXML`` method is
1424  not implemented yet (#17).
1425- [unicodeadata] Added ``ot_tag_to_script`` function that converts from
1426  OpenType script tag to Unicode script code.
1427- Added new ``designspaceLib`` subpackage, originally from Erik Van Blokland's
1428  ``designSpaceDocument``: https://github.com/LettError/designSpaceDocument
1429  NOTE: this is not yet used internally by varLib, and the API may be subject
1430  to changes (#911, #1110, LettError/designSpaceDocument#28).
1431- Added new FontTools icon images (8ee7c32).
1432- [unicodedata] Added ``script_horizontal_direction`` function that returns
1433  either "LTR" or "RTL" given a unicode script code.
1434- [otConverters] Don't write descriptive name string as XML comment if the
1435  NameID value is 0 (== NULL) (#1151, #1152).
1436- [unicodedata] Add ``ot_tags_from_script`` function to get the list of
1437  OpenType script tags associated with unicode script code (#1150).
1438- [feaLib] Don't error when "enumerated" kern pairs conflict with preceding
1439  single pairs; emit warning and chose the first value (#1147, #1148).
1440- [loggingTools] In ``CapturingLogHandler.assertRegex`` method, match the
1441  fully formatted log message.
1442- [sbix] Fixed TypeError when concatenating str and bytes (#1154).
1443- [bezierTools] Implemented cusp support and removed ``approximate_fallback``
1444  arg in ``calcQuadraticArcLength``. Added ``calcCubicArcLength`` (#1142).
1445
14463.21.2 (released 2018-01-08)
1447----------------------------
1448
1449- [varLib] Fixed merging PairPos Format1/2 with missing subtables (#1125).
1450
14513.21.1 (released 2018-01-03)
1452----------------------------
1453
1454- [feaLib] Allow mixed single/multiple substitutions (#612)
1455- Added missing ``*.afm`` test assets to MAINFEST.in (#1137).
1456- Fixed dumping ``SVG`` tables containing color palettes (#1124).
1457
14583.21.0 (released 2017-12-18)
1459----------------------------
1460
1461- [cmap] when compiling format6 subtable, don't assume gid0 is always called
1462  '.notdef' (1e42224).
1463- [ot] Allow decompiling fonts with bad Coverage format number (1aafae8).
1464- Change FontTools licence to MIT (#1127).
1465- [post] Prune extra names already in standard Mac set (df1e8c7).
1466- [subset] Delete empty SubrsIndex after subsetting (#994, #1118).
1467- [varLib] Don't share points in cvar by default, as it currently fails on
1468  some browsers (#1113).
1469- [afmLib] Make poor old afmLib work on python3.
1470
14713.20.1 (released 2017-11-22)
1472----------------------------
1473
1474- [unicodedata] Fixed issue with ``script`` and ``script_extension`` functions
1475  returning inconsistent short vs long names. They both return the short four-
1476  letter script codes now. Added ``script_name`` and ``script_code`` functions
1477  to look up the long human-readable script name from the script code, and
1478  viceversa (#1109, #1111).
1479
14803.20.0 (released 2017-11-21)
1481----------------------------
1482
1483- [unicodedata] Addded new module ``fontTools.unicodedata`` which exports the
1484  same interface as the built-in ``unicodedata`` module, with the addition of
1485  a few functions that are missing from the latter, such as ``script``,
1486  ``script_extension`` and ``block``. Added a ``MetaTools/buildUCD.py`` script
1487  to download and parse data files from the Unicode Character Database and
1488  generate python modules containing lists of ranges and property values.
1489- [feaLib] Added ``__str__`` method to all ``ast`` elements (delegates to the
1490  ``asFea`` method).
1491- [feaLib] ``Parser`` constructor now accepts a ``glyphNames`` iterable
1492  instead of ``glyphMap`` dict. The latter still works but with a pending
1493  deprecation warning (#1104).
1494- [bezierTools] Added arc length calculation functions originally from
1495  ``pens.perimeterPen`` module (#1101).
1496- [varLib] Started generating STAT table (8af4309). Right now it just reflects
1497  the axes, and even that with certain limitations:
1498  * AxisOrdering is set to the order axes are defined,
1499  * Name-table entries are not shared with fvar.
1500- [py23] Added backports for ``redirect_stdout`` and ``redirect_stderr``
1501  context managers (#1097).
1502- [Graphite] Fixed some round-trip bugs (#1093).
1503
15043.19.0 (released 2017-11-06)
1505----------------------------
1506
1507- [varLib] Try set of used points instead of all points when testing whether to
1508  share points between tuples (#1090).
1509- [CFF2] Fixed issue with reading/writing PrivateDict BlueValues to TTX file.
1510  Read the commit message 8b02b5a and issue #1030 for more details.
1511  NOTE: this change invalidates all the TTX files containing CFF2 tables
1512  that where dumped with previous verisons of fonttools.
1513  CFF2 Subr items can have values on the stack after the last operator, thus
1514  a ``CFF2Subr`` class was added to accommodate this (#1091).
1515- [_k_e_r_n] Fixed compilation of AAT kern version=1.0 tables (#1089, #1094)
1516- [ttLib] Added getBestCmap() convenience method to TTFont class and cmap table
1517  class that returns a preferred Unicode cmap subtable given a list of options
1518  (#1092).
1519- [morx] Emit more meaningful subtable flags. Implement InsertionMorphAction
1520
15213.18.0 (released 2017-10-30)
1522----------------------------
1523
1524- [feaLib] Fixed writing back nested glyph classes (#1086).
1525- [TupleVariation] Reactivated shared points logic, bugfixes (#1009).
1526- [AAT] Implemented ``morx`` ligature subtables (#1082).
1527- [reverseContourPen] Keep duplicate lineTo following a moveTo (#1080,
1528  https://github.com/googlei18n/cu2qu/issues/51).
1529- [varLib.mutator] Suport instantiation of GPOS, GDEF and MVAR (#1079).
1530- [sstruct] Fixed issue with ``unicode_literals`` and ``struct`` module in
1531  old versions of python 2.7 (#993).
1532
15333.17.0 (released 2017-10-16)
1534----------------------------
1535
1536- [svgPathPen] Added an ``SVGPathPen`` that translates segment pen commands
1537  into SVG path descriptions. Copied from Tal Leming's ``ufo2svg.svgPathPen``
1538  https://github.com/typesupply/ufo2svg/blob/d69f992/Lib/ufo2svg/svgPathPen.py
1539- [reverseContourPen] Added ``ReverseContourPen``, a filter pen that draws
1540  contours with the winding direction reversed, while keeping the starting
1541  point (#1071).
1542- [filterPen] Added ``ContourFilterPen`` to manipulate contours as a whole
1543  rather than segment by segment.
1544- [arrayTools] Added ``Vector`` class to apply math operations on an array
1545  of numbers, and ``pairwise`` function to loop over pairs of items in an
1546  iterable.
1547- [varLib] Added support for building and interpolation of ``cvar`` table
1548  (f874cf6, a25a401).
1549
15503.16.0 (released 2017-10-03)
1551----------------------------
1552
1553- [head] Try using ``SOURCE_DATE_EPOCH`` environment variable when setting
1554  the ``head`` modified timestamp to ensure reproducible builds (#1063).
1555  See https://reproducible-builds.org/specs/source-date-epoch/
1556- [VTT] Decode VTT's ``TSI*`` tables text as UTF-8 (#1060).
1557- Added support for Graphite font tables: Feat, Glat, Gloc, Silf and Sill.
1558  Thanks @mhosken! (#1054).
1559- [varLib] Default to using axis "name" attribute if "labelname" element
1560  is missing (588f524).
1561- [merge] Added support for merging Script records. Remove unused features
1562  and lookups after merge (d802580, 556508b).
1563- Added ``fontTools.svgLib`` package. Includes a parser for SVG Paths that
1564  supports the Pen protocol (#1051). Also, added a snippet to convert SVG
1565  outlines to UFO GLIF (#1053).
1566- [AAT] Added support for ``ankr``, ``bsln``, ``mort``, ``morx``, ``gcid``,
1567  and ``cidg``.
1568- [subset] Implemented subsetting of ``prop``, ``opbd``, ``bsln``, ``lcar``.
1569
15703.15.1 (released 2017-08-18)
1571----------------------------
1572
1573- [otConverters] Implemented ``__add__`` and ``__radd__`` methods on
1574  ``otConverters._LazyList`` that decompile a lazy list before adding
1575  it to another list or ``_LazyList`` instance. Fixes an ``AttributeError``
1576  in the ``subset`` module when attempting to sum ``_LazyList`` objects
1577  (6ef48bd2, 1aef1683).
1578- [AAT] Support the `opbd` table with optical bounds (a47f6588).
1579- [AAT] Support `prop` table with glyph properties (d05617b4).
1580
1581
15823.15.0 (released 2017-08-17)
1583----------------------------
1584
1585- [AAT] Added support for AAT lookups. The ``lcar`` table can be decompiled
1586  and recompiled; futher work needed to handle ``morx`` table (#1025).
1587- [subset] Keep (empty) DefaultLangSys for Script 'DFLT' (6eb807b5).
1588- [subset] Support GSUB/GPOS.FeatureVariations (fe01d87b).
1589- [varLib] In ``models.supportScalars``, ignore an axis when its peak value
1590  is 0 (fixes #1020).
1591- [varLib] Add default mappings to all axes in avar to fix rendering issue
1592  in some rasterizers (19c4b377, 04eacf13).
1593- [varLib] Flatten multiple tail PairPosFormat2 subtables before merging
1594  (c55ef525).
1595- [ttLib] Added support for recalculating font bounding box in ``CFF`` and
1596  ``head`` tables, and min/max values in ``hhea`` and ``vhea`` tables (#970).
1597
15983.14.0 (released 2017-07-31)
1599----------------------------
1600
1601- [varLib.merger] Remove Extensions subtables before merging (f7c20cf8).
1602- [varLib] Initialize the avar segment map with required default entries
1603  (#1014).
1604- [varLib] Implemented optimal IUP optmiziation (#1019).
1605- [otData] Add ``AxisValueFormat4`` for STAT table v1.2 from OT v1.8.2
1606  (#1015).
1607- [name] Fixed BCP46 language tag for Mac langID=9: 'si' -> 'sl'.
1608- [subset] Return value from ``_DehintingT2Decompiler.op_hintmask``
1609  (c0d672ba).
1610- [cffLib] Allow to get TopDict by index as well as by name (dca96c9c).
1611- [cffLib] Removed global ``isCFF2`` state; use one set of classes for
1612  both CFF and CFF2, maintaining backward compatibility existing code (#1007).
1613- [cffLib] Deprecated maxstack operator, per OpenType spec update 1.8.1.
1614- [cffLib] Added missing default (-100) for UnderlinePosition (#983).
1615- [feaLib] Enable setting nameIDs greater than 255 (#1003).
1616- [varLib] Recalculate ValueFormat when merging SinglePos (#996).
1617- [varLib] Do not emit MVAR if there are no entries in the variation store
1618  (#987).
1619- [ttx] For ``-x`` option, pad with space if table tag length is < 4.
1620
16213.13.1 (released 2017-05-30)
1622----------------------------
1623
1624- [feaLib.builder] Removed duplicate lookups optimization. The original
1625  lookup order and semantics of the feature file are preserved (#976).
1626
16273.13.0 (released 2017-05-24)
1628----------------------------
1629
1630- [varLib.mutator] Implement IUP optimization (#969).
1631- [_g_l_y_f.GlyphCoordinates] Changed ``__bool__()`` semantics to match those
1632  of other iterables (e46f949). Removed ``__abs__()`` (3db5be2).
1633- [varLib.interpolate_layout] Added ``mapped`` keyword argument to
1634  ``interpolate_layout`` to allow disabling avar mapping: if False (default),
1635  the location is mapped using the map element of the axes in designspace file;
1636  if True, it is assumed that location is in designspace's internal space and
1637  no mapping is performed (#950, #975).
1638- [varLib.interpolate_layout] Import designspace-loading logic from varLib.
1639- [varLib] Fixed bug with recombining PairPosClass2 subtables (81498e5, #914).
1640- [cffLib.specializer] When copying iterables, cast to list (462b7f86).
1641
16423.12.1 (released 2017-05-18)
1643----------------------------
1644
1645- [pens.t2CharStringPen] Fixed AttributeError when calling addComponent in
1646  T2CharStringPen (#965).
1647
16483.12.0 (released 2017-05-17)
1649----------------------------
1650
1651- [cffLib.specializer] Added new ``specializer`` module to optimize CFF
1652  charstrings, used by the T2CharStringPen (#948).
1653- [varLib.mutator] Sort glyphs by component depth before calculating composite
1654  glyphs' bounding boxes to ensure deltas are correctly caclulated (#945).
1655- [_g_l_y_f] Fixed loss of precision in GlyphCoordinates by using 'd' (double)
1656  instead of 'f' (float) as ``array.array`` typecode (#963, #964).
1657
16583.11.0 (released 2017-05-03)
1659----------------------------
1660
1661- [t2CharStringPen] Initial support for specialized Type2 path operators:
1662  vmoveto, hmoveto, vlineto, hlineto, vvcurveto, hhcurveto, vhcurveto and
1663  hvcurveto. This should produce more compact charstrings (#940, #403).
1664- [Doc] Added Sphinx sources for the documentation. Thanks @gferreira (#935).
1665- [fvar] Expose flags in XML (#932)
1666- [name] Add helper function for building multi-lingual names (#921)
1667- [varLib] Fixed kern merging when a PairPosFormat2 has ClassDef1 with glyphs
1668  that are NOT present in the Coverage (1b5e1c4, #939).
1669- [varLib] Fixed non-deterministic ClassDef order with PY3 (f056c12, #927).
1670- [feLib] Throw an error when the same glyph is defined in multiple mark
1671  classes within the same lookup (3e3ff00, #453).
1672
16733.10.0 (released 2017-04-14)
1674----------------------------
1675
1676- [varLib] Added support for building ``avar`` table, using the designspace
1677  ``<map>`` elements.
1678- [varLib] Removed unused ``build(..., axisMap)`` argument. Axis map should
1679  be specified in designspace file now. We do not accept nonstandard axes
1680  if ``<axes>`` element is not present.
1681- [varLib] Removed "custom" axis from the ``standard_axis_map``. This was
1682  added before when glyphsLib was always exporting the (unused) custom axis.
1683- [varLib] Added partial support for building ``MVAR`` table; does not
1684  implement ``gasp`` table variations yet.
1685- [pens] Added FilterPen base class, for pens that control another pen;
1686  factored out ``addComponent`` method from BasePen into a separate abstract
1687  DecomposingPen class; added DecomposingRecordingPen, which records
1688  components decomposed as regular contours.
1689- [TSI1] Fixed computation of the textLength of VTT private tables (#913).
1690- [loggingTools] Added ``LogMixin`` class providing a ``log`` property to
1691  subclasses, which returns a ``logging.Logger`` named after the latter.
1692- [loggingTools] Added ``assertRegex`` method to ``CapturingLogHandler``.
1693- [py23] Added backport for python 3's ``types.SimpleNamespace`` class.
1694- [EBLC] Fixed issue with python 3 ``zip`` iterator.
1695
16963.9.2 (released 2017-04-08)
1697---------------------------
1698
1699- [pens] Added pen to draw glyphs using WxPython ``GraphicsPath`` class:
1700  https://wxpython.org/docs/api/wx.GraphicsPath-class.html
1701- [varLib.merger] Fixed issue with recombining multiple PairPosFormat2
1702  subtables (#888)
1703- [varLib] Do not encode gvar deltas that are all zeroes, or if all values
1704  are smaller than tolerance.
1705- [ttLib] _TTGlyphSet glyphs now also have ``height`` and ``tsb`` (top
1706  side bearing) attributes from the ``vmtx`` table, if present.
1707- [glyf] In ``GlyphCoordintes`` class, added ``__bool__`` / ``__nonzero__``
1708  methods, and ``array`` property to get raw array.
1709- [ttx] Support reading TTX files with BOM (#896)
1710- [CFF2] Fixed the reporting of the number of regions in the font.
1711
17123.9.1 (released 2017-03-20)
1713---------------------------
1714
1715- [varLib.merger] Fixed issue while recombining multiple PairPosFormat2
1716  subtables if they were split because of offset overflows (9798c30).
1717- [varLib.merger] Only merge multiple PairPosFormat1 subtables if there is
1718  at least one of the fonts with a non-empty Format1 subtable (0f5a46b).
1719- [varLib.merger] Fixed IndexError with empty ClassDef1 in PairPosFormat2
1720  (aad0d46).
1721- [varLib.merger] Avoid reusing Class2Record (mutable) objects (e6125b3).
1722- [varLib.merger] Calculate ClassDef1 and ClassDef2's Format when merging
1723  PairPosFormat2 (23511fd).
1724- [macUtils] Added missing ttLib import (b05f203).
1725
17263.9.0 (released 2017-03-13)
1727---------------------------
1728
1729- [feaLib] Added (partial) support for parsing feature file comments ``# ...``
1730  appearing in between statements (#879).
1731- [feaLib] Cleaned up syntax tree for FeatureNames.
1732- [ttLib] Added support for reading/writing ``CFF2`` table (thanks to
1733  @readroberts at Adobe), and ``TTFA`` (ttfautohint) table.
1734- [varLib] Fixed regression introduced with 3.8.0 in the calculation of
1735  ``NumShorts``, i.e. the number of deltas in ItemVariationData's delta sets
1736  that use a 16-bit representation (b2825ff).
1737
17383.8.0 (released 2017-03-05)
1739---------------------------
1740
1741- New pens: MomentsPen, StatisticsPen, RecordingPen, and TeePen.
1742- [misc] Added new ``fontTools.misc.symfont`` module, for symbolic font
1743  statistical analysis; requires ``sympy`` (http://www.sympy.org/en/index.html)
1744- [varLib] Added experimental ``fontTools.varLib.interpolatable`` module for
1745  finding wrong contour order between different masters
1746- [varLib] designspace.load() now returns a dictionary, instead of a tuple,
1747  and supports <axes> element (#864); the 'masters' item was renamed 'sources',
1748  like the <sources> element in the designspace document
1749- [ttLib] Fixed issue with recalculating ``head`` modified timestamp when
1750  saving CFF fonts
1751- [ttLib] In TupleVariation, round deltas before compiling (#861, fixed #592)
1752- [feaLib] Ignore duplicate glyphs in classes used as MarkFilteringSet and
1753  MarkAttachmentType (#863)
1754- [merge] Changed the ``gasp`` table merge logic so that only the one from
1755  the first font is retained, similar to other hinting tables (#862)
1756- [Tests] Added tests for the ``varLib`` package, as well as test fonts
1757  from the "Annotated OpenType Specification" (AOTS) to exercise ``ttLib``'s
1758  table readers/writers (<https://github.com/adobe-type-tools/aots>)
1759
17603.7.2 (released 2017-02-17)
1761---------------------------
1762
1763- [subset] Keep advance widths when stripping ".notdef" glyph outline in
1764  CID-keyed CFF fonts (#845)
1765- [feaLib] Zero values now produce the same results as makeotf (#633, #848)
1766- [feaLib] More compact encoding for “Contextual positioning with in-line
1767  single positioning rules” (#514)
1768
17693.7.1 (released 2017-02-15)
1770---------------------------
1771
1772- [subset] Fixed issue with ``--no-hinting`` option whereby advance widths in
1773  Type 2 charstrings were also being stripped (#709, #343)
1774- [feaLib] include statements now resolve relative paths like makeotf (#838)
1775- [feaLib] table ``name`` now handles Unicode codepoints beyond the Basic
1776  Multilingual Plane, also supports old-style MacOS platform encodings (#842)
1777- [feaLib] correctly escape string literals when emitting feature syntax (#780)
1778
17793.7.0 (released 2017-02-11)
1780---------------------------
1781
1782- [ttx, mtiLib] Preserve ordering of glyph alternates in GSUB type 3 (#833).
1783- [feaLib] Glyph names can have dashes, as per new AFDKO syntax v1.20 (#559).
1784- [feaLib] feaLib.Parser now needs the font's glyph map for parsing.
1785- [varLib] Fix regression where GPOS values were stored as 0.
1786- [varLib] Allow merging of class-based kerning when ClassDefs are different
1787
17883.6.3 (released 2017-02-06)
1789---------------------------
1790
1791- [varLib] Fix building variation of PairPosFormat2 (b5c34ce).
1792- Populate defaults even for otTables that have postRead (e45297b).
1793- Fix compiling of MultipleSubstFormat1 with zero 'out' glyphs (b887860).
1794
17953.6.2 (released 2017-01-30)
1796---------------------------
1797
1798- [varLib.merger] Fixed "TypeError: reduce() of empty sequence with no
1799  initial value" (3717dc6).
1800
18013.6.1 (released 2017-01-28)
1802---------------------------
1803
1804-  [py23] Fixed unhandled exception occurring at interpreter shutdown in
1805   the "last resort" logging handler (972b3e6).
1806-  [agl] Ensure all glyph names are of native 'str' type; avoid mixing
1807   'str' and 'unicode' in TTFont.glyphOrder (d8c4058).
1808-  Fixed inconsistent title levels in README.rst that caused PyPI to
1809   incorrectly render the reStructuredText page.
1810
18113.6.0 (released 2017-01-26)
1812---------------------------
1813
1814-  [varLib] Refactored and improved the variation-font-building process.
1815-  Assembly code in the fpgm, prep, and glyf tables is now indented in
1816   XML output for improved readability. The ``instruction`` element is
1817   written as a simple tag if empty (#819).
1818-  [ttx] Fixed 'I/O operation on closed file' error when dumping
1819   multiple TTXs to standard output with the '-o -' option.
1820-  The unit test modules (``*_test.py``) have been moved outside of the
1821   fontTools package to the Tests folder, thus they are no longer
1822   installed (#811).
1823
18243.5.0 (released 2017-01-14)
1825---------------------------
1826
1827-  Font tables read from XML can now be written back to XML with no
1828   loss.
1829-  GSUB/GPOS LookupType is written out in XML as an element, not
1830   comment. (#792)
1831-  When parsing cmap table, do not store items mapped to glyph id 0.
1832   (#790)
1833-  [otlLib] Make ClassDef sorting deterministic. Fixes #766 (7d1ddb2)
1834-  [mtiLib] Added unit tests (#787)
1835-  [cvar] Implemented cvar table
1836-  [gvar] Renamed GlyphVariation to TupleVariation to match OpenType
1837   terminology.
1838-  [otTables] Handle gracefully empty VarData.Item array when compiling
1839   XML. (#797)
1840-  [varLib] Re-enabled generation of ``HVAR`` table for fonts with
1841   TrueType outlines; removed ``--build-HVAR`` command-line option.
1842-  [feaLib] The parser can now be extended to support non-standard
1843   statements in FEA code by using a customized Abstract Syntax Tree.
1844   See, for example, ``feaLib.builder_test.test_extensions`` and
1845   baseClass.feax (#794, fixes #773).
1846-  [feaLib] Added ``feaLib`` command to the 'fonttools' command-line
1847   tool; applies a feature file to a font. ``fonttools feaLib -h`` for
1848   help.
1849-  [pens] The ``T2CharStringPen`` now takes an optional
1850   ``roundTolerance`` argument to control the rounding of coordinates
1851   (#804, fixes #769).
1852-  [ci] Measure test coverage on all supported python versions and OSes,
1853   combine coverage data and upload to
1854   https://codecov.io/gh/fonttools/fonttools (#786)
1855-  [ci] Configured Travis and Appveyor for running tests on Python 3.6
1856   (#785, 55c03bc)
1857-  The manual pages installation directory can be customized through
1858   ``FONTTOOLS_MANPATH`` environment variable (#799, fixes #84).
1859-  [Snippets] Added otf2ttf.py, for converting fonts from CFF to
1860   TrueType using the googlei18n/cu2qu module (#802)
1861
18623.4.0 (released 2016-12-21)
1863---------------------------
1864
1865-  [feaLib] Added support for generating FEA text from abstract syntax
1866   tree (AST) objects (#776). Thanks @mhosken
1867-  Added ``agl.toUnicode`` function to convert AGL-compliant glyph names
1868   to Unicode strings (#774)
1869-  Implemented MVAR table (b4d5381)
1870
18713.3.1 (released 2016-12-15)
1872---------------------------
1873
1874-  [setup] We no longer use versioneer.py to compute fonttools version
1875   from git metadata, as this has caused issues for some users (#767).
1876   Now we bump the version strings manually with a custom ``release``
1877   command of setup.py script.
1878
18793.3.0 (released 2016-12-06)
1880---------------------------
1881
1882-  [ttLib] Implemented STAT table from OpenType 1.8 (#758)
1883-  [cffLib] Fixed decompilation of CFF fonts containing non-standard
1884   key/value pairs in FontDict (issue #740; PR #744)
1885-  [py23] minor: in ``round3`` function, allow the second argument to be
1886   ``None`` (#757)
1887-  The standalone ``sstruct`` and ``xmlWriter`` modules, deprecated
1888   since vesion 3.2.0, have been removed. They can be imported from the
1889   ``fontTools.misc`` package.
1890
18913.2.3 (released 2016-12-02)
1892---------------------------
1893
1894-  [py23] optimized performance of round3 function; added backport for
1895   py35 math.isclose() (9d8dacb)
1896-  [subset] fixed issue with 'narrow' (UCS-2) Python 2 builds and
1897   ``--text``/``--text-file`` options containing non-BMP chararcters
1898   (16d0e5e)
1899-  [varLib] fixed issuewhen normalizing location values (8fa2ee1, #749)
1900-  [inspect] Made it compatible with both python2 and python3 (167ee60,
1901   #748). Thanks @pnemade
1902
19033.2.2 (released 2016-11-24)
1904---------------------------
1905
1906-  [varLib] Do not emit null axes in fvar (1bebcec). Thanks @robmck-ms
1907-  [varLib] Handle fonts without GPOS (7915a45)
1908-  [merge] Ignore LangSys if None (a11bc56)
1909-  [subset] Fix subsetting MathVariants (78d3cbe)
1910-  [OS/2] Fix "Private Use (plane 15)" range (08a0d55). Thanks @mashabow
1911
19123.2.1 (released 2016-11-03)
1913---------------------------
1914
1915-  [OS/2] fix checking ``fsSelection`` bits matching ``head.macStyle``
1916   bits
1917-  [varLib] added ``--build-HVAR`` option to generate ``HVAR`` table for
1918   fonts with TrueType outlines. For ``CFF2``, it is enabled by default.
1919
19203.2.0 (released 2016-11-02)
1921---------------------------
1922
1923-  [varLib] Improve support for OpenType 1.8 Variable Fonts:
1924-  Implement GDEF's VariationStore
1925-  Implement HVAR/VVAR tables
1926-  Partial support for loading MutatorMath .designspace files with
1927   varLib.designspace module
1928-  Add varLib.models with Variation fonts interpolation models
1929-  Implement GSUB/GPOS FeatureVariations
1930-  Initial support for interpolating and merging OpenType Layout tables
1931   (see ``varLib.interpolate_layout`` and ``varLib.merger`` modules)
1932-  [API change] Change version to be an integer instead of a float in
1933   XML output for GSUB, GPOS, GDEF, MATH, BASE, JSTF, HVAR, VVAR, feat,
1934   hhea and vhea tables. Scripts that set the Version for those to 1.0
1935   or other float values also need fixing. A warning is emitted when
1936   code or XML needs fix.
1937-  several bug fixes to the cffLib module, contributed by Adobe's
1938   @readroberts
1939-  The XML output for CFF table now has a 'major' and 'minor' elements
1940   for specifying whether it's version 1.0 or 2.0 (support for CFF2 is
1941   coming soon)
1942-  [setup.py] remove undocumented/deprecated ``extra_path`` Distutils
1943   argument. This means that we no longer create a "FontTools" subfolder
1944   in site-packages containing the actual fontTools package, as well as
1945   the standalone xmlWriter and sstruct modules. The latter modules are
1946   also deprecated, and scheduled for removal in upcoming releases.
1947   Please change your import statements to point to from fontTools.misc
1948   import xmlWriter and from fontTools.misc import sstruct.
1949-  [scripts] Add a 'fonttools' command-line tool that simply runs
1950   ``fontTools.*`` sub-modules: e.g. ``fonttools ttx``,
1951   ``fonttools subset``, etc.
1952-  [hmtx/vmts] Read advance width/heights as unsigned short (uint16);
1953   automatically round float values to integers.
1954-  [ttLib/xmlWriter] add 'newlinestr=None' keyword argument to
1955   ``TTFont.saveXML`` for overriding os-specific line endings (passed on
1956   to ``XMLWriter`` instances).
1957-  [versioning] Use versioneer instead of ``setuptools_scm`` to
1958   dynamically load version info from a git checkout at import time.
1959-  [feaLib] Support backslash-prefixed glyph names.
1960
19613.1.2 (released 2016-09-27)
1962---------------------------
1963
1964-  restore Makefile as an alternative way to build/check/install
1965-  README.md: update instructions for installing package from source,
1966   and for running test suite
1967-  NEWS: Change log was out of sync with tagged release
1968
19693.1.1 (released 2016-09-27)
1970---------------------------
1971
1972-  Fix ``ttLibVersion`` attribute in TTX files still showing '3.0'
1973   instead of '3.1'.
1974-  Use ``setuptools_scm`` to manage package versions.
1975
19763.1.0 (released 2016-09-26)
1977---------------------------
1978
1979-  [feaLib] New library to parse and compile Adobe FDK OpenType Feature
1980   files.
1981-  [mtiLib] New library to parse and compile Monotype 'FontDame'
1982   OpenType Layout Tables files.
1983-  [voltLib] New library to parse Microsoft VOLT project files.
1984-  [otlLib] New library to work with OpenType Layout tables.
1985-  [varLib] New library to work with OpenType Font Variations.
1986-  [pens] Add ttGlyphPen to draw to TrueType glyphs, and t2CharStringPen
1987   to draw to Type 2 Charstrings (CFF); add areaPen and perimeterPen.
1988-  [ttLib.tables] Implement 'meta' and 'trak' tables.
1989-  [ttx] Add --flavor option for compiling to 'woff' or 'woff2'; add
1990   ``--with-zopfli`` option to use Zopfli to compress WOFF 1.0 fonts.
1991-  [subset] Support subsetting 'COLR'/'CPAL' and 'CBDT'/'CBLC' color
1992   fonts tables, and 'gvar' table for variation fonts.
1993-  [Snippets] Add ``symfont.py``, for symbolic font statistics analysis;
1994   interpolatable.py, a preliminary script for detecting interpolation
1995   errors; ``{merge,dump}_woff_metadata.py``.
1996-  [classifyTools] Helpers to classify things into classes.
1997-  [CI] Run tests on Windows, Linux and macOS using Appveyor and Travis
1998   CI; check unit test coverage with Coverage.py/Coveralls; automatic
1999   deployment to PyPI on tags.
2000-  [loggingTools] Use Python built-in logging module to print messages.
2001-  [py23] Make round() behave like Python 3 built-in round(); define
2002   round2() and round3().
2003
20043.0 (released 2015-09-01)
2005-------------------------
2006
2007-  Add Snippet scripts for cmap subtable format conversion, printing
2008   GSUB/GPOS features, building a GX font from two masters
2009-  TTX WOFF2 support and a ``-f`` option to overwrite output file(s)
2010-  Support GX tables: ``avar``, ``gvar``, ``fvar``, ``meta``
2011-  Support ``feat`` and gzip-compressed SVG tables
2012-  Upgrade Mac East Asian encodings to native implementation if
2013   available
2014-  Add Roman Croatian and Romanian encodings, codecs for mac-extended
2015   East Asian encodings
2016-  Implement optimal GLYF glyph outline packing; disabled by default
2017
20182.5 (released 2014-09-24)
2019-------------------------
2020
2021-  Add a Qt pen
2022-  Add VDMX table converter
2023-  Load all OpenType sub-structures lazily
2024-  Add support for cmap format 13.
2025-  Add pyftmerge tool
2026-  Update to Unicode 6.3.0d3
2027-  Add pyftinspect tool
2028-  Add support for Google CBLC/CBDT color bitmaps, standard EBLC/EBDT
2029   embedded bitmaps, and ``SVG`` table (thanks to Read Roberts at Adobe)
2030-  Add support for loading, saving and ttx'ing WOFF file format
2031-  Add support for Microsoft COLR/CPAL layered color glyphs
2032-  Support PyPy
2033-  Support Jython, by replacing numpy with array/lists modules and
2034   removed it, pure-Python StringIO, not cStringIO
2035-  Add pyftsubset and Subsetter object, supporting CFF and TTF
2036-  Add to ttx args for -q for quiet mode, -z to choose a bitmap dump
2037   format
2038
20392.4 (released 2013-06-22)
2040-------------------------
2041
2042-  Option to write to arbitrary files
2043-  Better dump format for DSIG
2044-  Better detection of OTF XML
2045-  Fix issue with Apple's kern table format
2046-  Fix mangling of TT glyph programs
2047-  Fix issues related to mona.ttf
2048-  Fix Windows Installer instructions
2049-  Fix some modern MacOS issues
2050-  Fix minor issues and typos
2051
20522.3 (released 2009-11-08)
2053-------------------------
2054
2055-  TrueType Collection (TTC) support
2056-  Python 2.6 support
2057-  Update Unicode data to 5.2.0
2058-  Couple of bug fixes
2059
20602.2 (released 2008-05-18)
2061-------------------------
2062
2063-  ClearType support
2064-  cmap format 1 support
2065-  PFA font support
2066-  Switched from Numeric to numpy
2067-  Update Unicode data to 5.1.0
2068-  Update AGLFN data to 1.6
2069-  Many bug fixes
2070
20712.1 (released 2008-01-28)
2072-------------------------
2073
2074-  Many years worth of fixes and features
2075
20762.0b2 (released 2002-??-??)
2077---------------------------
2078
2079-  Be "forgiving" when interpreting the maxp table version field:
2080   interpret any value as 1.0 if it's not 0.5. Fixes dumping of these
2081   GPL fonts: http://www.freebsd.org/cgi/pds.cgi?ports/chinese/wangttf
2082-  Fixed ttx -l: it turned out this part of the code didn't work with
2083   Python 2.2.1 and earlier. My bad to do most of my testing with a
2084   different version than I shipped TTX with :-(
2085-  Fixed bug in ClassDef format 1 subtable (Andreas Seidel bumped into
2086   this one).
2087
20882.0b1 (released 2002-09-10)
2089---------------------------
2090
2091-  Fixed embarrassing bug: the master checksum in the head table is now
2092   calculated correctly even on little-endian platforms (such as Intel).
2093-  Made the cmap format 4 compiler smarter: the binary data it creates
2094   is now more or less as compact as possible. TTX now makes more
2095   compact data than in any shipping font I've tested it with.
2096-  Dump glyph names as a separate "GlyphOrder" pseudo table as opposed
2097   to as part of the glyf table (obviously needed for CFF-OTF's).
2098-  Added proper support for the CFF table.
2099-  Don't barf on empty tables (questionable, but "there are font out
2100   there...")
2101-  When writing TT glyf data, align glyphs on 4-byte boundaries. This
2102   seems to be the current recommendation by MS. Also: don't barf on
2103   fonts which are already 4-byte aligned.
2104-  Windows installer contributed bu Adam Twardoch! Yay!
2105-  Changed the command line interface again, now by creating one new
2106   tool replacing the old ones: ttx It dumps and compiles, depending on
2107   input file types. The options have changed somewhat.
2108-  The -d option is back (output dir)
2109-  ttcompile's -i options is now called -m (as in "merge"), to avoid
2110   clash with dump's -i.
2111-  The -s option ("split tables") no longer creates a directory, but
2112   instead outputs a small .ttx file containing references to the
2113   individual table files. This is not a true link, it's a simple file
2114   name, and the referenced file should be in the same directory so
2115   ttcompile can find them.
2116-  compile no longer accepts a directory as input argument. Instead it
2117   can parse the new "mini-ttx" format as output by "ttx -s".
2118-  all arguments are input files
2119-  Renamed the command line programs and moved them to the Tools
2120   subdirectory. They are now installed by the setup.py install script.
2121-  Added OpenType support. BASE, GDEF, GPOS, GSUB and JSTF are (almost)
2122   fully supported. The XML output is not yet final, as I'm still
2123   considering to output certain subtables in a more human-friendly
2124   manner.
2125-  Fixed 'kern' table to correctly accept subtables it doesn't know
2126   about, as well as interpreting Apple's definition of the 'kern' table
2127   headers correctly.
2128-  Fixed bug where glyphnames were not calculated from 'cmap' if it was
2129   (one of the) first tables to be decompiled. More specifically: it
2130   cmap was the first to ask for a glyphID -> glyphName mapping.
2131-  Switched XML parsers: use expat instead of xmlproc. Should be faster.
2132-  Removed my UnicodeString object: I now require Python 2.0 or up,
2133   which has unicode support built in.
2134-  Removed assert in glyf table: redundant data at the end of the table
2135   is now ignored instead of raising an error. Should become a warning.
2136-  Fixed bug in hmtx/vmtx code that only occured if all advances were
2137   equal.
2138-  Fixed subtle bug in TT instruction disassembler.
2139-  Couple of fixes to the 'post' table.
2140-  Updated OS/2 table to latest spec.
2141
21421.0b1 (released 2001-08-10)
2143---------------------------
2144
2145-  Reorganized the command line interface for ttDump.py and
2146   ttCompile.py, they now behave more like "normal" command line tool,
2147   in that they accept multiple input files for batch processing.
2148-  ttDump.py and ttCompile.py don't silently override files anymore, but
2149   ask before doing so. Can be overridden by -f.
2150-  Added -d option to both ttDump.py and ttCompile.py.
2151-  Installation is now done with distutils. (Needs work for environments
2152   without compilers.)
2153-  Updated installation instructions.
2154-  Added some workarounds so as to handle certain buggy fonts more
2155   gracefully.
2156-  Updated Unicode table to Unicode 3.0 (Thanks Antoine!)
2157-  Included a Python script by Adam Twardoch that adds some useful stuff
2158   to the Windows registry.
2159-  Moved the project to SourceForge.
2160
21611.0a6 (released 2000-03-15)
2162---------------------------
2163
2164-  Big reorganization: made ttLib a subpackage of the new fontTools
2165   package, changed several module names. Called the entire suite
2166   "FontTools"
2167-  Added several submodules to fontTools, some new, some older.
2168-  Added experimental CFF/GPOS/GSUB support to ttLib, read-only (but XML
2169   dumping of GPOS/GSUB is for now disabled)
2170-  Fixed hdmx endian bug
2171-  Added -b option to ttCompile.py, it disables recalculation of
2172   bounding boxes, as requested by Werner Lemberg.
2173-  Renamed tt2xml.pt to ttDump.py and xml2tt.py to ttCompile.py
2174-  Use ".ttx" as file extension instead of ".xml".
2175-  TTX is now the name of the XML-based *format* for TT fonts, and not
2176   just an application.
2177
21781.0a5
2179-----
2180
2181Never released
2182
2183-  More tables supported: hdmx, vhea, vmtx
2184
21851.0a3 & 1.0a4
2186-------------
2187
2188Never released
2189
2190-  fixed most portability issues
2191-  retracted the "Euro_or_currency" change from 1.0a2: it was
2192   nonsense!
2193
21941.0a2 (released 1999-05-02)
2195---------------------------
2196
2197-  binary release for MacOS
2198-  genenates full FOND resources: including width table, PS font name
2199   info and kern table if applicable.
2200-  added cmap format 4 support. Extra: dumps Unicode char names as XML
2201   comments!
2202-  added cmap format 6 support
2203-  now accepts true type files starting with "true" (instead of just
2204   0x00010000 and "OTTO")
2205-  'glyf' table support is now complete: I added support for composite
2206   scale, xy-scale and two-by-two for the 'glyf' table. For now,
2207   component offset scale behaviour defaults to Apple-style. This only
2208   affects the (re)calculation of the glyph bounding box.
2209-  changed "Euro" to "Euro_or_currency" in the Standard Apple Glyph
2210   order list, since we cannot tell from the 'post' table which is
2211   meant. I should probably doublecheck with a Unicode encoding if
2212   available. (This does not affect the output!)
2213
2214Fixed bugs: - 'hhea' table is now recalculated correctly - fixed wrong
2215assumption about sfnt resource names
2216
22171.0a1 (released 1999-04-27)
2218---------------------------
2219
2220-  initial binary release for MacOS
2221