Element root = svgGenerator.getRoot();
root.setAttributeNS(null, "viewBox", "0 0 " + viewboxWidth + " "
+ viewboxHeight);
// Finally, stream out SVG
// character to byte encoding
SVGContentImage svgImage = new SVGContentImage();
svgGenerator.stream(root, svgImage.getWriter(), config.getVisibility()
.isUseCSS(), false);
return svgImage;
}