From: cristy Date: Thu, 24 Nov 2011 18:57:53 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6601 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4c6a428e9d7cb0744b35c0c4310755de8b6dc60;p=imagemagick --- diff --git a/coders/svg.c b/coders/svg.c index 4275deb17..9d72fbb50 100644 --- a/coders/svg.c +++ b/coders/svg.c @@ -1092,10 +1092,10 @@ static void SVGStartElement(void *context,const xmlChar *name, if (LocaleCompare((const char *) name,"text") == 0) { (void) FormatLocaleFile(svg_info->file,"push graphic-context\n"); - svg_info->bounds.x=0; - svg_info->bounds.y=0; - svg_info->bounds.width=0; - svg_info->bounds.height=0; + svg_info->bounds.x=0.0; + svg_info->bounds.y=0.0; + svg_info->bounds.width=0.0; + svg_info->bounds.height=0.0; break; } if (LocaleCompare((const char *) name,"tspan") == 0)