Skip to content

v0.2.0

Compare
Choose a tag to compare
@anthrotype anthrotype released this 02 Jan 23:22
· 111 commits to main since this release
  • Updated embedded libttfautohint to version 1.8.1.
  • Added three new keyword arguments to ttfautohint function: gray_stem_width_mode, gdi_cleartype_stem_width_mode and dw_cleartype_stem_width_mode.
    These take a StemWidthMode enum or an equivalent integer value:
    StemWidthMode.NATURAL (-1), StemWidthMode.QUANTIZED (0) and StemWidthMode.STRONG (1).
    Check ttfautohint docs for more info on the meanings of these modes.
  • Added new command line option -a, --stem-width-mode which takes a string of three letters with possible values 'n' for natural, 'q' for quantized, and 's' for strong (default: qsq).
    This replaces the -w, --strong-stem-width option, which is now deprecated, though it will continue to work for a while.
  • We now use setuptools_scm to compute the version string from git metadata.