]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 17 May 2011 01:51:23 +0000 (01:51 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 17 May 2011 01:51:23 +0000 (01:51 +0000)
ChangeLog
coders/svg.c

index 3f8d6a2329892711f169156a48d84211d6857c28..90c0e3e5c89b58bb151ab8f77f785166fee9d231 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,12 @@
+2011-05-16  6.6.9-10 Cristy  <quetzlzacatenango@image...>
+  * Don't use comma as a separator for stroked text (reference
+    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=18742).
+
 2011-05-15  6.6.9-9 Cristy  <quetzlzacatenango@image...>
   * New version 6.6.9-9.
 
 2011-05-14  6.6.9-9 Cristy  <quetzlzacatenango@image...>
   * The -scale option now considers the alpha channel when scaling.
-  * Don't use comma as a separator for stroked text (reference
-    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=18742).
   * Fix transient bug for HSL to RGB and back.
 
 2011-05-12  6.6.9-9 Glenn Randers-Pehrson <glennrp@image...>
index 05be3deb337a7a8522871cc53e6cf61a4edcd67f..f6b08807e51376ce65c3a250fa4a03314232d9c4 100644 (file)
@@ -2980,14 +2980,19 @@ static Image *ReadSVGImage(const ImageInfo *image_info,ExceptionInfo *exception)
   n=ReadBlob(image,MaxTextExtent,message);
   if (n > 0)
     {
+      const char
+        *locale;
+
       svg_info->parser=xmlCreatePushParserCtxt(sax_handler,svg_info,(char *)
         message,n,image->filename);
+      locale=setlocale(LC_NUMERIC,"C");
       while ((n=ReadBlob(image,MaxTextExtent,message)) != 0)
       {
         status=xmlParseChunk(svg_info->parser,(char *) message,(int) n,0);
         if (status != 0)
           break;
       }
+      (void) setlocale(LC_NUMERIC,locale);
     }
   (void) xmlParseChunk(svg_info->parser,(char *) message,0,1);
   xmlFreeParserCtxt(svg_info->parser);