From: Cristy Date: Sun, 17 Jun 2018 22:04:34 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.8-2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=510818cdf1050a8c37055bd38108d5008b391547;p=imagemagick ... --- diff --git a/coders/svg.c b/coders/svg.c index 9455d3d99..8fd91e103 100644 --- a/coders/svg.c +++ b/coders/svg.c @@ -2671,6 +2671,8 @@ static void SVGEndElement(void *context,const xmlChar *name) (void) FormatLocaleFile(svg_info->file,"text 0,0 \"%s\"\n",text); text=DestroyString(text); *svg_info->text='\0'; + svg_info->center.x=0.0; + svg_info->center.y=0.0; } (void) FormatLocaleFile(svg_info->file,"pop graphic-context\n"); break;