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

Fixes to clean-svg.py #799

Merged
merged 2 commits into from
Oct 21, 2024
Merged

Fixes to clean-svg.py #799

merged 2 commits into from
Oct 21, 2024

Conversation

whot
Copy link
Member

@whot whot commented Oct 21, 2024

Taken from #788 so we can keep the device support separate from these fixes here

cc @bentiss

It seems that this breaks some SVG paths, and the nice looking arrows
get converted into an uggly triangle
Doing a simple is undefined:
    for e in ls:
      if e.matches(foo):
        ls.remove(e)

Basically we were skipping the next entry, still leaving some metadata
in the cleaned up svg file.
@whot whot merged commit 6816a1d into linuxwacom:master Oct 21, 2024
15 checks passed
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

Successfully merging this pull request may close these issues.

2 participants