Randall Parker wrote:
I have an old Java project I'm getting back to after a couple of years and I see when I try to compile with the latest FOP and Batik that the class org.apache.batik.gvt.GraphicsNodeRenderContext no longer exists in Batik. Can anyone give me some hints on how to change the following section of code to set rendering hints the new and improved way using whatever replaces GraphicsNodeRenderContext?
This question would be better asked on the batik list, dont you think?
I did have a quick look at FOP's PDF Transcoder. The batik class SVGAbstractTranscoder, has a method getRenderingHints, and protected member hints which FOP uses in its PDFTranscoder class, but it doesnt seem to call PDFDocumentGraphics2D.setRenderingHints anywhere.
I found the line
graphics.setGraphicContext
(new org.apache.batik.ext.awt.g2d.GraphicContext());which is the same as what you've used. Sorry I can be of much help, but I really think you would be better off asking this on batik's user list.
Chris
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
