]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sat, 15 Apr 2017 14:43:00 +0000 (10:43 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sat, 15 Apr 2017 14:43:00 +0000 (10:43 -0400)
MagickCore/property.c
coders/svg.c

index b201382cd9dab7a99b639287faef64559927001f..6dd814880dfb0b88cd7e938c7c39c99d535e0bf0 100644 (file)
@@ -2046,7 +2046,7 @@ static char *TraceSVGClippath(const unsigned char *blob,size_t length,
     "<svg xmlns=\"http://www.w3.org/2000/svg\""
     " width=\"%.20g\" height=\"%.20g\">\n"
     "<g>\n"
-    "<path fill-rule=\"evenodd\" style=\"fill:#00000000;stroke:#00000000;"
+    "<path fill-rule=\"evenodd\" style=\"fill:#000000;stroke:#000000;"
     "stroke-width:0;stroke-antialiasing:false\" d=\"\n"),(double) columns,
     (double) rows);
   (void) ConcatenateString(&path,message);
index cba141af53d8592a45501c06284dfc5c66d198eb..4cf44a8cae899a6459689b7940705c744b0f3247 100644 (file)
@@ -1695,7 +1695,7 @@ static void SVGStartElement(void *context,const xmlChar *name,
                          if (LocaleCompare(value,"currentColor") == 0)
                            {
                              (void) FormatLocaleFile(svg_info->file,
-                          "fill '%s'\n",color);
+                               "fill '%s'\n",color);
                              break;
                            }
                         if (LocaleCompare(value,"#000000ff") == 0)
@@ -1788,7 +1788,7 @@ static void SVGStartElement(void *context,const xmlChar *name,
                          if (LocaleCompare(value,"currentColor") == 0)
                            {
                              (void) FormatLocaleFile(svg_info->file,
-                          "stroke '%s'\n",color);
+                               "stroke '%s'\n",color);
                              break;
                            }
                         if (LocaleCompare(value,"#000000ff") == 0)