Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

SVGO optimization should be an option #325

Closed
jrauschenbusch opened this issue Mar 25, 2016 · 2 comments
Closed

SVGO optimization should be an option #325

jrauschenbusch opened this issue Mar 25, 2016 · 2 comments

Comments

@jrauschenbusch
Copy link

With the version update from v0.4.8 to v0.5.0 the function svgFilesToStreams was modified in the node engine and a new dependency to SVGO was introduced. Since v0.5.0 the function svgo.optimize() is used for every font generation process in the node engine.

This is really useful for most font generation scenarios. But in some cases this optimization destroys relevant SVG paths and attributes of the origin SVGs which results in faulty web fonts.

Hence there should be an Option to enable/disable the SVGO optimizer.

Relates to #231

@sapegin
Copy link
Owner

sapegin commented Mar 25, 2016

Feel free to submit a pull request.

@jrauschenbusch
Copy link
Author

Great! A new release v1.3.0 would also be great.

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

No branches or pull requests

2 participants