*/
public GraphicPdf4a createGraphicOutput(final Graphic graphic)
throws GraphicException {
final Graphic4a graphic4a = super.getGraphic4a(graphic);
if (graphic4a instanceof SVGGraphic) {
final SVGGraphic svgGraphic = (SVGGraphic) graphic4a;
return new SvgPdf(svgGraphic);
}
if (graphic4a instanceof MathGraphic4a) {
final MathGraphic4a mathGraphic = (MathGraphic4a) graphic4a;
return new SvgPdf(mathGraphic.getSvgGraphic());