From 53b66bf7e35151c3adf50f3932c4c1ad1b6da2b6 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 4 Aug 2018 13:01:52 -0400 Subject: [PATCH] ... --- coders/svg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coders/svg.c b/coders/svg.c index 62dcd9408..08961408d 100644 --- a/coders/svg.c +++ b/coders/svg.c @@ -1491,6 +1491,8 @@ static void SVGStartElement(void *context,const xmlChar *name, (void) FormatLocaleFile(svg_info->file,"class \"text\"\n"); (void) FormatLocaleFile(svg_info->file,"translate %g,%g\n", svg_info->bounds.x,svg_info->bounds.y); + if (*svg_info->text != '\0') + StripString(svg_info->text); svg_info->center.x=svg_info->bounds.x; svg_info->center.y=svg_info->bounds.y; svg_info->bounds.x=0.0; -- 2.40.0