Re: [PATCH] Fix DPI for PDF Transcoder.
Hi Glen, Glen Mazza wrote: Just applied--thanks. Thanks! BTW, an embarrassing Java 101 question: Why wasn't it necessary to manually import the SVGAbstractTranscoderUserAgent class in the PDFTranscoder.java file? Because it is an innerclass of a baseclass. Glen --- Thomas DeWeese [EMAIL PROTECTED] wrote: +protected org.apache.batik.bridge.UserAgent createUserAgent() { +return new SVGAbstractTranscoderUserAgent() { +// The PDF stuff wants everything at 72dpi +public float getPixelUnitToMillimeter() { +return 0.3427778f; +} +}; +} + __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree
Re: [PATCH] Fix DPI for PDF Transcoder.
--- Thomas DeWeese [EMAIL PROTECTED] wrote: BTW, an embarrassing Java 101 question: Why wasn't it necessary to manually import the SVGAbstractTranscoderUserAgent class in the PDFTranscoder.java file? Because it is an innerclass of a baseclass. OK...I see it now, it's defined in SVGAbstractTranscoder, which PDFTranscoder descends from. Glen __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree
RE: [PATCH] Fix DPI for PDF Transcoder.
I am sorry if I am missing something obvious but I am not able to build the latest code after this change. It seems that batik.jar which is checked in xml-fop CVS does not contain this class (SVGAbstractTranscoderUserAgent). I looked in xml-batik but I didn't have any luck finding this class there either. I am Ok for now by switching back to version 1.7 of PDFTranscoder.java. Petar -Original Message- From: Glen Mazza [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 9:46 PM To: [EMAIL PROTECTED] Subject: Re: [PATCH] Fix DPI for PDF Transcoder. --- Thomas DeWeese [EMAIL PROTECTED] wrote: BTW, an embarrassing Java 101 question: Why wasn't it necessary to manually import the SVGAbstractTranscoderUserAgent class in the PDFTranscoder.java file? Because it is an innerclass of a baseclass. OK...I see it now, it's defined in SVGAbstractTranscoder, which PDFTranscoder descends from. Glen __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree