result.setUserAgent(userAgent);
result.setGraphicsNodeRableFactory
(new ConcreteGraphicsNodeRableFactory());
((SVGBridgeContext)result).setInterpreterPool
(new ConcreteInterpreterPool(doc));
result.setCurrentViewport(new UserAgentViewport(userAgent));
return result;
}