Skip to content

Improve path merging for non-filled paths - #1312

Open
yGuy wants to merge 1 commit into
svg:mainfrom
yGuy:improved-path-merging
Open

Improve path merging for non-filled paths#1312
yGuy wants to merge 1 commit into
svg:mainfrom
yGuy:improved-path-merging

Conversation

@yGuy

@yGuy yGuy commented Dec 29, 2020

Copy link
Copy Markdown

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
Copy Markdown
Member

Hi please rebase and add tests

@TrySound TrySound added the tests missing Pull request with missing test cases. label Feb 18, 2021
@hashimaziz1

Copy link
Copy Markdown

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

@yGuy

yGuy commented Oct 5, 2023

Copy link
Copy Markdown
Author

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

Labels

tests missing Pull request with missing test cases.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants