} else {
} else if (localName.equals(SVGConstants.SVG_DEFS)) {  this.replace = false; } else if (this.replace) {
	public void startElement(String uri, String localName, String qName,			Attributes atts) throws SAXException {		AttributesImpl attsImpl = new AttributesImpl(atts);		if (SVGConstants.SVG_ROOT.equals(localName)) {			String viewBox = atts.getValue(SVGConstants.SVG_ATTRIBUTE_VIEWBOX);			this.parseViewBox(viewBox);		} else {			String strokeWidth = atts					.getValue(SVGConstants.SVG_ATTRIBUTE_STROKE_WITDH);			if (strokeWidth != null && strokeWidth.length() > 0) {				// we replace the stroke width with a fixed value				attsImpl.setValue(attsImpl						.getIndex(SVGConstants.SVG_ATTRIBUTE_STROKE_WITDH),						this.createStrokeWidth(strokeWidth));			}			// we need to add "px" as length identify for the fonts			if (SVGConstants.SVG_TEXT.equals(localName) || SVGConstants.SVG_TSPAN.equals(localName)) {				int index = -1;				if ((index = atts						.getIndex(SVGConstants.SVG_ATTRIBUTE_FONT_SIZE)) != -1) {					String fontSize = atts.getValue(index);					attsImpl.setValue(attsImpl							.getIndex(SVGConstants.SVG_ATTRIBUTE_FONT_SIZE),							fontSize + "px");				}			}		}		super.startElement(uri, localName, qName, attsImpl);	}