src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java
private String getSVGFontStyle() {
        StringBuilder b = new StringBuilder();
        b.append("fill: ").append(svgColorStr()).append("; ");
        b.append("fill-opacity: ").append(getColorAlpha() * getAlpha())
                .append("; ");
        String fontFamily = this.fontMapper.mapFont(this.font.getFamily());
        b.append("font-family: ").append(fontFamily).append("; ");
        b.append("font-size: ").append(this.font.getSize()).append(this.fontSizeUnits).append(";");
        if (this.font.isBold()) {
            b.append(" font-weight: bold;");
        }
        if (this.font.isItalic()) {
            b.append(" font-style: italic;");
        }
        return b.toString();
    }
private String getSVGFontStyle() {
        StringBuilder b = new StringBuilder();
        b.append("fill: ").append(svgColorStr()).append("; ");
        b.append("fill-opacity: ").append(getColorAlpha() * getAlpha())
                .append("; ");
        String fontFamily = this.fontMapper.mapFont(this.font.getFamily());
        b.append("font-family: ").append(fontFamily).append("; ");
        b.append("font-size: ").append(this.font.getSize()).append(this.fontSizeUnits).append(";");
        if (this.font.isBold()) {
            b.append(" font-weight: bold;");
        }
        if (this.font.isItalic()) {
            b.append(" font-style: italic;");
        }
        return b.toString();
    }
private String getSVGFontStyle ( ) { StringBuilder b = new StringBuilder ( ) ; b . append ( "fill: " ) . append ( svgColorStr ( ) ) . append ( "; " ) ; b . append ( "fill-opacity: " ) . append ( getColorAlpha ( ) * getAlpha ( ) ) . append ( "; " ) ; String fontFamily = this . fontMapper . mapFont ( this . font . getFamily ( ) ) ; b . append ( "font-family: " ) . append ( fontFamily ) . append ( "; " ) ; b . append ( "font-size: " ) . append ( this . font . getSize ( ) ) . append ( this . fontSizeUnits ) . append ( ";" ) ; if ( this . font . isBold ( ) ) { b . append ( " font-weight: bold;" ) ; } if ( this . font . isItalic ( ) ) { b . append ( " font-style: italic;" ) ; } return b . toString ( ) ; }
Returns a string containing font style info.

@return A string containing font style info.
Returns a string containing font style info .