]> granicus.if.org Git - graphviz/commitdiff
indicate font units for firefox
authorellson <devnull@localhost>
Mon, 31 Jul 2006 21:20:24 +0000 (21:20 +0000)
committerellson <devnull@localhost>
Mon, 31 Jul 2006 21:20:24 +0000 (21:20 +0000)
plugin/core/gvrender_core_svg.c

index 563ceb0f4103677fe5f2f3099d3ae66867715e91..c1f433cdddd5c576498c8bce5438dd5479327ecb 100644 (file)
@@ -384,7 +384,7 @@ static void svggen_textpara(GVJ_t * job, pointf p, textpara_t * para)
     else {
         svggen_printf(job, "font:%s;", para->fontname);
     }
-    svggen_printf(job, "font-size:%.2f;", para->fontsize);
+    svggen_printf(job, "font-size:%.2fpx;", para->fontsize);
     switch (penstyle->pencolor.type) {
     case COLOR_STRING:
        if (strcasecmp(penstyle->pencolor.u.string, "black"))