-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
SVG icons doesn't show images inside #83198
Comments
Please check in https://www.thorvg.org/viewer to confirm whether this is a ThorVG regression. |
This was one of the features I requested for godot 4.0 will poke around the code and from thorvg. I suspect a png or jpeg code path was modified. @hermet |
No the png/jpg loader was disabled because of size complaints, I will re-enable it in the upcoming ThorVG v0.11.1 PR |
https://github.com/thorvg/thorvg/releases/tag/v0.11.1 Godot related: + [SwEngine] Enhanced the quality of the dash line corners. + [SVG] Fixed a regression bug related to maskContentUnit, userSpaceOnUse/objectBoundingBox. Fixes godotengine#82982 icons. Fixes godotengine#83198 svg ← png/jpg.
Godot version
4.2-dev6
System information
Godot v4.2.beta1 - Windows 10.0.22621 - Vulkan (Forward+) - integrated AMD Radeon(TM) Graphics (Advanced Micro Devices, Inc.; 31.0.12044.3) - AMD Ryzen 3 5300U with Radeon Graphics (8 Threads)
Issue description
Checking changes on the Godot v4.2.dev6, also just downloaded beta1 and the same, I advertised that the icon I used in my addon was not rendered correctly. The problem was that this SVG contained a raster image inside and some vectors over. The raster image (body) disappeared from the rendered SVG.
The SVG was created with Inkscape, and it was correctly rendered with the last stable release of Godot 4.1.
This is how it is rendered correctly with 4.1.
Steps to reproduce
I attached a minimal project, but, really, you only have to get the SVG from there.
Just put the .svg as the icon of the project, and you will see the bad render even in the project manager window.
Minimal reproduction project
a minimal project to reproduce
svgtest.zip
The text was updated successfully, but these errors were encountered: