Composite composite = CSSUtilities.convertOpacity(element);
as.addAttribute(GVTAttributedCharacterIterator.TextAttribute.OPACITY,
composite, firstChar, lastChar+1);
// Fill
Paint p = PaintServer.convertFillPaint(element, node, ctx);
// System.out.println("Fore: " + p + " [" + firstChar + "," +
// (lastChar+1) + "]");
as.addAttribute(TextAttribute.FOREGROUND, p,
firstChar, lastChar+1);
// Stroke Paint
Paint sp = PaintServer.convertStrokePaint(element, node, ctx);
as.addAttribute
(GVTAttributedCharacterIterator.TextAttribute.STROKE_PAINT,
sp, firstChar, lastChar+1);
// Stroke