Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--decompress does more than just desubroutinize #5

Open
anthrotype opened this issue Jun 4, 2015 · 1 comment
Open

--decompress does more than just desubroutinize #5

anthrotype opened this issue Jun 4, 2015 · 1 comment

Comments

@anthrotype
Copy link
Member

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 more optimizations which are performed by default, besides the requested desubroutinization.
From a user point of view, the "decompress" option should only desubroutinize the CFF table, and not also perform the rest of the optimizations.
I think the best way to address this would be to make the desubroutinization independent from the fontTools.subset module, as @behdad already noted here fonttools/fonttools#283.

@behdad
Copy link
Contributor

behdad commented Jun 4, 2015

Correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants