RE: Problem rendering PNG Issue

2008-03-06 Thread Puppala, Kumar (LNG-CON)
Thanks for the quick response. I probably will not be able to modify these images. I can grab the latest code from the Commons Trunk. -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 2:29 PM To: fop-users@xmlgraphics.apache.org Subject: R

Re: Problem rendering PNG Issue

2008-03-06 Thread Jeremias Maerki
Grmbl, grmbl. Had you found this bug about 4 days earlier it would have made it into the XML Graphics Commons release 1.3. Now we probably have to do a bugfix release. (Not your fault!!! Thanks for the bug report!) Bugfixed in Commons Trunk: http://svn.apache.org/viewvc?rev=634385&view=rev You ca

Problem rendering PNG Issue

2008-03-06 Thread Puppala, Kumar (LNG-CON)
I am trying to render a PNG image using the new FOP Trunk code and I am getting the following error in the log: ERROR org.apache.fop.fo.FONode : I/O error while loading image: null I am attaching the particular PNG image in question (the image by itself is good and it opens up properly). I

Re: Unable to render Chinese Text with uming / uaki font files

2008-03-06 Thread Peter Sparkes
I have corrected error in para 1 below: On the advice of Jeremias Maerki "Anyway, you're on 0.94, so just skip generating the font metrics file. Instead use the tag to let FOP find your fonts: http://xmlgraphics.apache.org/fop/0.94/fonts.html#register"; 1. I put uming.ttf and a copy of config.

Re: Unable to render Chinese Text with uming / uaki font files

2008-03-06 Thread Peter Sparkes
On the advice of Jeremias Maerki "Anyway, you're on 0.94, so just skip generating the font metrics file. Instead use the tag to let FOP find your fonts: http://xmlgraphics.apache.org/fop/0.94/fonts.html#register"; 1. I put uming.ttf and a copy of config.xml in file:///C:/fop-fonts/ 2. I am

Re: Differences between MIME_PDF and MIME_FOP_AWT_PREVIEW

2008-03-06 Thread Jeremias Maerki
Following a hunch, I've tried a work-around for the current situation that might help you. It is possible to run the layout using PDF's font metrics and then render the document using Java2D. A little test on my printer gave me almost (!) the same result. The clue here is the intermediate format.