From 573695f04d357bfa48c5b918ffe80f3f4916f9ec Mon Sep 17 00:00:00 2001 From: Willem Sonke Date: Tue, 8 Oct 2024 14:51:01 +0200 Subject: [PATCH] Define the Inkscape SVG namespace Otherwise the generated SVG files don't work in tools other than Inkscape. --- cartocrow/renderer/svg_renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cartocrow/renderer/svg_renderer.cpp b/cartocrow/renderer/svg_renderer.cpp index 6cc61898..303181d9 100644 --- a/cartocrow/renderer/svg_renderer.cpp +++ b/cartocrow/renderer/svg_renderer.cpp @@ -47,7 +47,7 @@ SvgRenderer::SvgRenderer(const std::shared_ptr& painting, cons void SvgRenderer::save(const std::filesystem::path& file) { std::locale::global(std::locale("C")); m_out.open(file); - m_out << "\n"; + m_out << "\n"; m_out << "\n"; for (auto painting : m_paintings) {