Releases: googlefonts/compreffor
Releases · googlefonts/compreffor
0.4.5
- Fixed compatibility issue with pypy and use of array.array (#52). - Updated ``_compreffor.cpp`` source using latest Cython 0.26.
0.4.4
- Don't use `callsubr` in global subroutines in CID-keyed CFF (#42).
0.4.3
- Fixed issue with `has_subrs` function not properly detecting private subroutines (#32, fixed #31).
0.4.2
- 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
Fixed issue with PyPI deployment from Travis OSX
0.4.0
compreffor.compress
function can now be used instead ofcompreffor.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 runsdecompress
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 ofprint()
statements; this allows clients to configure logging as they please. - Added
compreffor
console script; docompreffor --help
for the full list of options.
0.3.0
Initial release