if (d.length() != 0) {
AWTPathProducer app = new AWTPathProducer();
// Glyph is supposed to use properties from text element.
app.setWindingRule(CSSUtilities.convertFillRule(textElement));
try {
PathParser pathParser = new PathParser();
pathParser.setPathHandler(app);
pathParser.parse(d);
} catch (ParseException pEx) {
throw new BridgeException(ctx, glyphElement,
pEx, ERR_ATTRIBUTE_VALUE_MALFORMED,
new Object [] {SVG_D_ATTRIBUTE});
} finally {