Hi Jeremias,
Jeremias Maerki <[EMAIL PROTECTED]> wrote on 12/14/2005 08:33:47 AM:
> Given the number of bugs fixed and the feedback we got, I think it
> should be safe to do another release tagged "beta".
If you want to do this, then we should 'fix' the PDFTranscoder
for SVG text. It appears that the main problem with Batik 1.6 is
that it calls 'registerBridges' in the base class constructor before
the subclass can 'record' it's updated bridges. I believe it is
possible to fix this by replacing:
super(userAgent);
with:
super(init(userAgent, fontInfo, linkTransform))
Where init is more or less:
UserAgent init(UserAgent ua, FontInfo fi, AffineTransform lt) {
this.fontInfo = fi;
this.linkTransform = lt;
return ua;
}
This will not fix all cases (if a new BridgeContext is constructed,
for example to handle an internal SVG image, it will not inherit the
'updated' bridges, for that to work properly people will need the SVN
Batik).
[Having to employ such ugly tactics to get subclass code run before
baseclass constructor code demonstrates how silly the 'super' must
be first - compiler restriction is].