Skip to content

0.4.0

Compare
Choose a tag to compare
@anthrotype anthrotype released this 18 Oct 17:17
  • compreffor.compress function can now be used instead of compreffor.Compreffor class; the latter is kept for backward compatibility, but raises a deprecation warning on instantiation (b634553).
  • export compreffor.decompress function: uses the fonttools subsetter to desubroutinize the font (edadae8).
  • The compress function in turn runs decompress on the input font if the latter already contains subroutines, since we can't compress an already compressed font (dd9c95a).
  • We now use the logging module throughout the library instead of print() statements; this allows clients to configure logging as they please.
  • Added compreffor console script; do compreffor --help for the full list of options.