]> granicus.if.org Git - graphviz/commitdiff
Have the svg renderer use the transparent color
authorEmden R. Gansner <erg@alum.mit.edu>
Tue, 4 Nov 2014 22:15:50 +0000 (17:15 -0500)
committerEmden R. Gansner <erg@alum.mit.edu>
Tue, 4 Nov 2014 22:15:50 +0000 (17:15 -0500)
plugin/core/gvrender_core_svg.c

index c78ff10183b9257be4390ac4fd36ecdf7a53b632..bb2ca7f07bd8954f18d7000984c80df2e1271f4d 100644 (file)
@@ -88,7 +88,7 @@ static void svg_print_color(GVJ_t * job, gvcolor_t color)
        break;
     case RGBA_BYTE:
        if (color.u.rgba[3] == 0)       /* transparent */
-           gvputs(job, "none");
+           gvputs(job, "transparent");
        else
            gvprintf(job, "#%02x%02x%02x",
                     color.u.rgba[0], color.u.rgba[1], color.u.rgba[2]);