From 5f5fe16d4b99580943f881d9b3c89622f517d0ab Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Sun, 24 Oct 2021 15:54:59 +0200 Subject: [PATCH] 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. --- Ports/scummvm/patches/ThemeParser-disable-svg.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Ports/scummvm/patches/ThemeParser-disable-svg.patch diff --git a/Ports/scummvm/patches/ThemeParser-disable-svg.patch b/Ports/scummvm/patches/ThemeParser-disable-svg.patch new file mode 100644 index 0000000000..6443ef80cd --- /dev/null +++ b/Ports/scummvm/patches/ThemeParser-disable-svg.patch @@ -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;