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

Messed Up SVGs #19

Closed
poudink opened this issue Mar 7, 2023 · 4 comments
Closed

Messed Up SVGs #19

poudink opened this issue Mar 7, 2023 · 4 comments

Comments

@poudink
Copy link
Owner

poudink commented Mar 7, 2023

Due to Qt's fucked SVG rendering (see https://bugs.kde.org/show_bug.cgi?id=448234), the SVG versions of some icons are just broken and I'm not too sure how I'm supposed to fix them. Easy way out would be to just get rid of them so it just uses the non-broken bitmaps instead, but SVGs are cool and I would much rather just get them properly working. For now, I'll just hide the broken SVGs until I figure out how to fix them.

Messed up icons:
bordertool

@poudink
Copy link
Owner Author

poudink commented Mar 7, 2023

nvm, stretched terminal icon is caused by KDE stretching the canvas to a square. karbon might be the same. easy to fix.

@poudink
Copy link
Owner Author

poudink commented Mar 7, 2023

nope, karbon is a different issue. oh well, fixed terminal icon at least. also noticed a lot of other icons have slightly rectangular canvases, meaning they're probably getting slightly stretched. I'll be fixing those.

@poudink
Copy link
Owner Author

poudink commented Mar 7, 2023

okular icon is messed up too

@poudink
Copy link
Owner Author

poudink commented Mar 7, 2023

Found what the problem was with the remaining stretched icons. They had a "Non-uniform scale!" according to Inkscape. Not sure what that means, but fixing that fixed the stretching. Was also able to fix the Okular icon by exporting it as an optimized SVG in Inkscape. This leaves only the bordertool icon, which I was able to partially fix by exporting it from Karbon, but still looks a bit broken outside of Inkscape.

@poudink poudink closed this as completed Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant