Closed

Description
Re: https://issues.apache.org/jira/browse/BATIK-1302
@carlosame notes:
The proper fix would be a major refactor: the code is asking for it, especially the CSSOM part (already did a small one there, but far from enough). Meanwhile a smaller fix would be of help.
The smaller, simple fix in the interim is to add an instanceof
check to In SVG12TextElementBridge
, around line 67, like:
if( ctx instanceof SVG12BridgeContext ) {
ctx12 = (SVG12BridgeContext) ctx;
}