Merge pull request #1544 from openscad/svg-export-fix

Fix SVG export.
This commit is contained in:
Marius Kintel 2016-01-08 15:38:15 -05:00
commit d4bfcdf373

View file

@ -80,7 +80,7 @@ void export_svg(const shared_ptr<const Geometry> &geom, std::ostream &output)
output
<< "<?xml version=\"1.0\" standalone=\"no\"?>\n"
<< "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n"
<< "\" viewBox=\"" << minx << " " << miny << " " << width << " " << height
<< "<svg viewBox=\"" << minx << " " << miny << " " << width << " " << height
<< "\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">\n"
<< "<title>OpenSCAD Model</title>\n";