Skip to content

Releases: googlefonts/compreffor

0.4.5

25 Jul 18:32
Compare
Choose a tag to compare
- Fixed compatibility issue with pypy and use of array.array (#52).
- Updated ``_compreffor.cpp`` source using latest Cython 0.26.

0.4.4

15 Mar 13:51
Compare
Choose a tag to compare
- Don't use `callsubr` in global subroutines in CID-keyed CFF (#42).

0.4.3

25 Jan 11:08
Compare
Choose a tag to compare
- Fixed issue with `has_subrs` function not properly detecting private
  subroutines (#32, fixed #31).

0.4.2

12 Jan 00:26
Compare
Choose a tag to compare
- Don't pass (unused) FDSelect to C++ compressor. Fixes #27.
- Don't write out Subrs operator if array is empty (this saves bytes on fonts
  with many FDArrays, e.g. https://github.com/adobe-fonts/fdarray-test)
- Keep the .notdef glyph outline when decompressing (#29)
- Add support for Python 3.6; drop support for 3.4

0.4.1

28 Oct 14:46
Compare
Choose a tag to compare
Fixed issue with PyPI deployment from Travis OSX

0.4.0

18 Oct 17:17
Compare
Choose a tag to compare
  • 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.

0.3.0

27 Sep 10:07
Compare
Choose a tag to compare
Initial release