if (! Environment.isGraphicalEnvironment()) {
this.svg.getLogger().error("Unable to get Graphical Environment "
+ "required to process SVG. Skipping.");
return null;
}
final BatikUaDocument userAgent = new BatikUaDocument(
new AffineTransform());
userAgent.setLogger(this.svg.getLogger());
BridgeContext ctx = new BridgeContext(userAgent);
GVTBuilder builder = new GVTBuilder();
TextPainter textPainter = null;
if (strokeSVGText) {
textPainter = new StrokingTextPainter();