From 65b207b957d0506976fe55821b2d9c6e47d652b3 Mon Sep 17 00:00:00 2001 From: ellson Date: Tue, 30 Oct 2007 01:41:19 +0000 Subject: [PATCH] reinstate svg fontname translation - but not as the default --- plugin/core/gvrender_core_svg.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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; -- 2.50.1