src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java
public void setTextRendering(String value) {
        if (!value.equals("auto") && !value.equals("optimizeSpeed") 
                && !value.equals("optimizeLegibility") 
                && !value.equals("geometricPrecision")) {
            throw new IllegalArgumentException("Unrecognised value: " + value);
        }
        this.textRendering = value;
    }
public void setTextRendering(String value) {
        if (!value.equals("auto") && !value.equals("optimizeSpeed") 
                && !value.equals("optimizeLegibility") 
                && !value.equals("geometricPrecision")) {
            throw new IllegalArgumentException("Unrecognised value: " + value);
        }
        this.textRendering = value;
    }
Sets the value of the 'text-rendering' property that will be written to
the SVG element.  Permitted values are "auto", "optimizeSpeed",
"optimizeLegibility" and "geometricPrecision".

@param value  the new value.

@since 2.0