opentypejs / opentype.js

Read and write OpenType fonts using JavaScript.
https://opentype.js.org/
MIT License
4.38k stars 469 forks source link

Implement compreffor, superior CFF table subroutinization #121

Open davelab6 opened 9 years ago

davelab6 commented 9 years ago

Similar to #73 , port https://github.com/googlei18n/compreffor from py/c++ to js :)

Connum commented 3 months ago

There is a class backed by C++ code, and a standalone python class: https://github.com/googlefonts/compreffor/blob/main/src/python/compreffor/pyCompressor.py The latter should be easier to port.