]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sun, 17 Jun 2018 22:04:34 +0000 (18:04 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sun, 17 Jun 2018 22:04:34 +0000 (18:04 -0400)
coders/svg.c

index 9455d3d99b916b016e96b185687119e6ccbf8fb5..8fd91e103ee27a05d0643520517503d8ea4b04e2 100644 (file)
@@ -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;