--- SvgExporterPG.js~ 2011-08-19 15:58:00.000000000 +0200 +++ SvgExporterPG.js 2011-08-27 12:17:13.149516832 +0200 @@ -325,7 +325,7 @@ // this.writeAttribute("line-height", this.text.getLineSpacingFactor() * 1.1); this.writeAttribute("line-height", this.text.getLineSpacingFactor() * 1.1); var c = this.textColor; - this.writeAttribute("fill", c.name()); + this.writeAttribute("fill", this.getColorName(c)); }; SvgExporterPG.prototype.writeStyleAttribute = function(additionalStyles) {