]> granicus.if.org Git - graphviz/commitdiff
fixes for b828 - fontsize in SVG output
authorellson <devnull@localhost>
Thu, 19 Jul 2007 15:19:54 +0000 (15:19 +0000)
committerellson <devnull@localhost>
Thu, 19 Jul 2007 15:19:54 +0000 (15:19 +0000)
plugin/core/gvrender_core_svg.c

index 6a86e21e2c9f3a754418e97f2b9177b916c5391b..8f99f4bfbad75d8d01d895c6c14860fb36596aea 100644 (file)
@@ -317,9 +317,10 @@ static void svg_textpara(GVJ_t * job, pointf p, textpara_t * para)
                    break;
                case SVGFONTS:
                default:
-                   family = pA->svg_font_family;
-                   weight = pA->svg_font_weight;
-                   style = pA->svg_font_style;
+                   /* same as NATIVEFONTS - jce */
+                   family = pA->family;
+                   weight = pA->weight;
+                   style = pA->style;
                    break;
        }
        stretch = pA->stretch;