--- SvgExporterPG.js~ 2011-08-19 15:58:00.000000000 +0200 +++ SvgExporterPG.js 2011-08-27 13:40:54.689516511 +0200 @@ -319,6 +319,12 @@ SvgExporterPG.prototype.writeFontAttributes = function() { this.writeAttribute("font-family", this.text.getFontName()); + if (this.text.isBold()) { + this.writeAttribute("font-weight", "bold"); + } + if (this.text.isItalic()) { + this.writeAttribute("font-style", "italic"); + } var h = this.text.getTextHeight(); // this.writeAttribute("font-size", h); this.writeAttribute("font-size", h * 1.4); // why 1.4?