summaryrefslogtreecommitdiff
path: root/src/svg
diff options
context:
space:
mode:
authorscuri <scuri>2010-06-16 21:09:54 +0000
committerscuri <scuri>2010-06-16 21:09:54 +0000
commit483f59d3a55720c8c140aef863f4d34a0d90cca8 (patch)
tree914494291b1870c2b50e7c252c156c91133e9a62 /src/svg
parent72857b1207600b10bd73e9b1fee479438aae3ac9 (diff)
*** empty log message ***
Diffstat (limited to 'src/svg')
-rw-r--r--src/svg/cdsvg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svg/cdsvg.c b/src/svg/cdsvg.c
index a1fdf8e..0510919 100644
--- a/src/svg/cdsvg.c
+++ b/src/svg/cdsvg.c
@@ -1274,7 +1274,7 @@ static void cdcreatecanvas(cdCanvas *canvas, void *data)
cdRegisterAttribute(canvas, &opacity_attrib);
fprintf(ctxcanvas->file, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
- fprintf(ctxcanvas->file, "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"%dpt\" height=\"%dpt\" viewBox=\"0 0 %d %d\" version=\"1.1\">\n", canvas->w, canvas->h, canvas->w, canvas->h);
+ fprintf(ctxcanvas->file, "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"%gpt\" height=\"%gpt\" viewBox=\"0 0 %d %d\" version=\"1.1\">\n", CD_MM2PT*canvas->w_mm, CD_MM2PT*canvas->h_mm, canvas->w, canvas->h);
fprintf(ctxcanvas->file, "<g>\n"); /* open global container */
}