Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Releases: googlefonts/cu2qu

v1.5.0

10 Apr 20:50
v1.5.0
7e9043a
Compare
Choose a tag to compare
  • Added script to convert UFOs to quadratic from the console. Requires defcon. Type python -m cu2qu --help (or cu2qu --help) to list all the available options.
  • cu2qu now remembers when it has already converted a font to quadratic, by storing the curve type in the UFO lib (#126).

v1.4.0

18 Jan 17:06
v1.4.0
dba25f6
Compare
Choose a tag to compare

fonts_to_quadratic no longer stops at the first incompatibile segment, but logs an error message and continues to convert the whole glyph set.
An IncompatibleFontsError exception is raised at the end, if any glyph has incompatible number or types of segments.
The exception instance has a glyph_errors attribute (dict) which collects all the individual errors keyed by glyph name (#114, #115).

v1.3.0

31 Oct 20:07
Compare
Choose a tag to compare
  • Fixed issue with max_err_em not being scaled by fonts' UPEM when the argument's value was a list of float.
  • Robofab objects are no longer supported (though they may still work incidentally for some time). As a result, single-point contours that in the old API were interpreted as "anchors" are no longer dropped by cu2qu, but are simply ignored and passed thorugh. The Cu2QuPen will emit a deprecation warning if ignore_single_points=True.
  • The test suite is no longer installed with the main cu2qu library. Tests can be run by cloning the git repository, or by downloading the source distribution and running tox, pytest or python setup.py test.
  • Removed benchmark and ufo_benchark modules from installed lib, as these were private and only used for internal debugging.
  • [pens] We now use the ReverseContourPen from fonttools, which fixed an issue with duplicate lineTo at the beginning of contour being dropped (#51, #100).
  • [pens] Fixed number of segments reported in stats (#99).
  • Simplified dump_stats log message (7a2f638).

Bumped minimum requirements:

  • fonttools >= 3.18.0
  • ufoLib >= 2.1.1