compreffor
compreffor copied to clipboard
A CFF table subroutinizer for FontTools
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.42.1 to 4.43.0. Release notes Sourced from fonttools's releases. 4.43.0 [subset] Set up lxml XMLParser(resolve_entities=False) when parsing OT-SVG documents to prevent XML External Entity (XXE) attacks (9f61271dc):...
### Update [fonttools](https://pypi.org/project/fonttools) from **3.22.0** to **3.40.0**. Changelog ### 3.40.0 ``` ---------------------------- - [subset] Fixed error while subsetting ``VVAR`` with ``--retain-gids`` option (1552). - [designspaceLib] Use up-to-date default location in...
``` $ compreffor LibertinusMath-Regular.hint.otf o.otf --generate-cff Traceback (most recent call last): File "/env/bin/compreffor", line 10, in sys.exit(main()) File "/env/lib/python3.7/site-packages/compreffor/__main__.py", line 119, in main font['CFF '].cff.compile(f, None) File "/env/lib/python3.7/site-packages/fontTools/cffLib/__init__.py", line 105,...
The attached file will segfault with the C++ compressor, at least on my machine. ``` $ uname -a Darwin upo.lan 18.5.0 Darwin Kernel Version 18.5.0: Mon Mar 11 20:40:32 PDT...
cf. http://www.sequitur.info/ https://arxiv.org/pdf/cs/9709102v1.pdf
The current C interface lacks some import parts, we still need Python to deal with it.
I noticed that when the "-d" (or "--decompress") option is provided to compreffor, then the output file size gets much smaller. The reason is that the `fontTools.subset.Options` include a lot...
For example, running it on Noto's third_party/noto_cjk/NotoSansKR-Regular.otf results in: ``` roozbeh@machine-name:~/compreffor/compreffor$ ./cxxCompressor.py NotoSansKR-Regular.otf Warning: There are subrs in NotoSansKR-Regular.otf Traceback (most recent call last): File "./cxxCompressor.py", line 387, in main(**kwargs)...
https://docs.python.org/3.13/whatsnew/3.13.html#removed-c-apis https://github.com/python/cpython/issues/106320 ``` creating build/temp.linux-aarch64-cpython-313/src/cxx aarch64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.13 -c src/cython/_compreffor.cpp -o build/temp.linux-aarch64-cpython-313/src/cython/_compreffor.o -std=c++0x -pthread -Wextra -Wno-unused -Wno-unused-parameter src/cython/_compreffor.cpp:1253:72: warning: ‘Py_UNICODE’...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4.1.7. Release notes Sourced from actions/download-artifact's releases. v4.1.7 What's Changed Update @actions/artifact dependency by @bethanyj28 in actions/download-artifact#325 Full Changelog: https://github.com/actions/download-artifact/compare/v4.1.6...v4.1.7 v4.1.6 What's Changed updating @actions/artifact...