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
[regression] Problem with some gtk2 assets (combobox, entries) #523
Comments
I had the same problem before but e766f45 fixed it. It might cause a regression for you if your Inkscape is old. What is the version of your Inkscape? |
in that case it would be some image generation error in the log and also other assets generated correctly, so i think it might me some issue with elements themselves in assets.svg |
So sorry for the late reply on this. I also can't reproduce this with What version of Inkscape are you using? I tried validating |
This could be related to the HiDPI option, I guess? Looking at your screenshot, some assets are 200% scale, but some others are 100% scale, apparently. |
no, it's not related to hidpi thanks for the hint -- i've double-checked with inkscape -- so apparently the issue somehow related to resvg, looking further into it |
Oh, no, please ignore this. I didn't carefully check the screenshot, and all the assets seems 100% scale. Sorry 😓 |
so i've checked the problem is reproducing with resvg 0.5, 0.6, 0.8, 0.9 and 0.11 (and first two were known to work fine before) so it must be smth changed in gtk2 assets file itself, mb added some new svg property which never was supported (or always was broken) in resvg |
so i suspect this commit but can't test it due to the sass build problem above: ff16cb5#diff-96d139dfb99fcb8d87ff483d9d92991c |
let's try to analyze the difference between the same asset (https://github.com/nana-4/materia-theme/blob/master/src/gtk-2.0/assets.svg) rendered by inkscape vs resvg, cc @RazrFalcon id=combo-left-entry-active resvg (38x40px), asset itself rendered in 20x20, but have extra whitespace at the right-bottom |
Interesting. Inkscape provides the size after clipping, while resvg returns the actual size. Not sure which one is the correct one. Especially since I don't understand how exactly Inkscape does this. It's fine for rectangular clipping, but a complex one is way more tricky. Will test it later. In the end, resvg produces an expected result here. It's not a bug. At least at a first glance. |
Reporter Info
Actual Issue
Steps to Reproduce
run render-assets.sh and install.sh
The text was updated successfully, but these errors were encountered: