]> granicus.if.org Git - graphviz/commitdiff
Fix bug 1074
authorerg <devnull@localhost>
Wed, 31 Jan 2007 15:08:36 +0000 (15:08 +0000)
committererg <devnull@localhost>
Wed, 31 Jan 2007 15:08:36 +0000 (15:08 +0000)
plugin/core/gvrender_core_svg.c

index d4cda699178aba147987e8e527f88cdbc14569ee..c56402b829d52aade411bcba79e16291473c439a 100644 (file)
@@ -154,7 +154,7 @@ static void svg_begin_graph(GVJ_t * job)
 
     core_printf(job, "<svg width=\"%.2fin\" height=\"%.2fin\"\n",
        job->width/job->dpi.x, job->height/job->dpi.y);
-    core_printf(job, " viewBox=\"%.2f %.2f %.2f\"",
+    core_printf(job, " viewBox=\"%.2f %.2f %.2f %.2f\"",
        job->canvasBox.LL.x, job->canvasBox.LL.y,
        job->canvasBox.UR.x, job->canvasBox.UR.y);
     /* namespace of svg */