From d5e24b12c1105ad06c5f00b54b1ecab859200aa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sat, 31 Jan 2009 10:09:14 +0000 Subject: [PATCH] * Add more properties to the tag, version and XML namespaces. This should improve compatibility of the exported SVG files. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29097 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp b/src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp index a3b163980c..6c66934bd3 100644 --- a/src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp +++ b/src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp @@ -77,9 +77,13 @@ SVGExporter::Export(const Icon* icon, BPositionIO* stream) // image size if (ret >= B_OK) { - helper << "\n"; + << " color-interpolation=\"linearRGB\"\n" + << " xmlns:svg=\"http://www.w3.org/2000/svg\"" +// Should be needed when exporting inline images: +// << " xmlns:xlink=\"http://www.w3.org/1999/xlink\"" + << " xmlns=\"http://www.w3.org/2000/svg\">\n"; ret = write_line(stream, helper); }