From: ellson Date: Tue, 30 Oct 2007 01:41:19 +0000 (+0000) Subject: reinstate svg fontname translation - but not as the default X-Git-Tag: LAST_LIBGRAPH~32^2~5118 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65b207b957d0506976fe55821b2d9c6e47d652b3;p=graphviz reinstate svg fontname translation - but not as the default --- diff --git a/plugin/core/gvrender_core_svg.c b/plugin/core/gvrender_core_svg.c index 2bf4bf7d0..9000911be 100644 --- a/plugin/core/gvrender_core_svg.c +++ b/plugin/core/gvrender_core_svg.c @@ -303,9 +303,13 @@ static void svg_textpara(GVJ_t * job, pointf p, textpara_t * para) weight = pA->weight; style = pA->style; break; - case NATIVEFONTS: - case SVGFONTS: /* same as NATIVEFONTS - jce */ + case SVGFONTS: + family = pA->svg_font_family; + weight = pA->svg_font_weight; + style = pA->svg_font_style; + break; default: + case NATIVEFONTS: family = pA->family; weight = pA->weight; style = pA->style;