throw new TranscoderException(
Messages.formatMessage("notsvg", null));
}
BridgeContext ctx = new BridgeContext(userAgent);
SVGOMDocument svgDoc = (SVGOMDocument) document;
// build the GVT tree
GraphicsNode gvtRoot = buildGVT(ctx, svgDoc);
// get the 'width' and 'height' attributes of the SVG document