mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-06 19:19:44 +03:00
Ports: Disable SVG in ScummVM themes
The ScummVM modern remastered theme contains SVG images that are rendered through NanoSVG. Somehow, the ScummVM logo gets all messed up, but all other SVGs render nicely. It takes a lot of time to debug NanoSVG, so disable loading SVGs in themes for now so BMPs are used instead.
This commit is contained in:
parent
3941e4fe24
commit
5f5fe16d4b
Notes:
sideshowbarker
2024-07-18 01:50:32 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/5f5fe16d4b9 Pull-request: https://github.com/SerenityOS/serenity/pull/10515 Reviewed-by: https://github.com/kennethmyhra ✅
11
Ports/scummvm/patches/ThemeParser-disable-svg.patch
Normal file
11
Ports/scummvm/patches/ThemeParser-disable-svg.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- scummvm-2.5.0/gui/ThemeParser.cpp 2021-10-24 15:45:46.993615827 +0200
|
||||
+++ scummvm-2.5.0-patched/gui/ThemeParser.cpp 2021-10-24 15:53:54.569381046 +0200
|
||||
@@ -299,8 +299,6 @@
|
||||
}
|
||||
|
||||
Common::String scalableFile;
|
||||
- if (node->values.contains("scalable_file"))
|
||||
- scalableFile = node->values["scalable_file"];
|
||||
|
||||
int width = 0, height = 0;
|
||||
Common::String val;
|
Loading…
Reference in New Issue
Block a user