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

Improve path merging for non-filled paths #1312

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yGuy
Copy link

@yGuy yGuy commented Dec 29, 2020

If two paths are not filled, it does not matter whether they intersect or not and they can be merged. This helps with the common case of many different "lines" (which have no fill) that will fail to be merged if they intersect, which is common in many graphics.

With this change many of my files I got another 10% size reduction, because path merging almost always failed for my non-filled paths in "crowded" svgs..

@TrySound
Copy link
Member

Hi please rebase and add tests

@hashimaziz1
Copy link

@yGuy Any update on this? Sounds promising and would be good to get it merged in.

@yGuy
Copy link
Author

yGuy commented Oct 5, 2023

Sorry, no time for this, right now. But anyone can rebase and add tests. It doesn't have to be me.

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

Successfully merging this pull request may close these issues.

3 participants