diff --git a/src/common/dcsvg.cpp b/src/common/dcsvg.cpp index 2d0b4dcbab..5e6c73258c 100644 --- a/src/common/dcsvg.cpp +++ b/src/common/dcsvg.cpp @@ -119,10 +119,12 @@ void wxSVGFileDCImpl::Init (const wxString &filename, int Width, int Height, dou write(s); s = wxT(" ")+ newline ; - write(s); - s.Printf ( wxT(" \n"), float(Width)/dpi*2.54, float(Height)/dpi*2.54, Width, Height ); + s = wxT("\"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd\"> ") + newline ; write(s); + s = wxT(" \n"), float(Width)/dpi*2.54, float(Height)/dpi*2.54, Width, Height ); + write(s); s = wxT("SVG Picture created as ") + wxFileNameFromPath(filename) + wxT(" ") + newline ; write(s); s = wxString (wxT("Picture generated by wxSVG ")) + wxSVGVersion + wxT(" ")+ newline ;