Re: Error loading GIF image using JAI in FOP Trunk (was: Error while processing a PDF - OK)

2005-08-30 Thread Manuel Mall
On Wed, 31 Aug 2005 02:50 am, Jeremias Maerki wrote: > On 30.08.2005 19:00:25 michella wrote: > > Thank you for your support. Everything works pretty fine from now > > on. > > Thanks for being brave enough to try out our new code and for telling > us of any problems you find. > > > Still another qu

Using Adobe Asian Font Pack in FOP without embedding

2005-08-30 Thread Greg Stark
fop-users, I am using the Apache FOP 0.20.5 project on Solaris SunOS 5.9. I need explicit instructions on how to configure and generate PDF documents that use the Adobe Asian Font Pack. In particular the Simplified Chinese set of fonts. Where do I put these fonts on the Solaris system, let XML-F

Re: creating a PDF document containing UTF-8 characters

2005-08-30 Thread Jeremias Maerki
You simply need to get a TrueType font that contains the necessary characters. Create the font metrics file and add it to the configuration as shown in the documentation. You can then simply specify font-family="MyJapaneseFont" on the fo:root element. It is automatically inherited by all child elem

RE: creating a PDF document containing UTF-8 characters

2005-08-30 Thread Melih Ovadya
Thank you for this info. Is there a way to set the font for the whole document so that it would render the Japanese characters correctly? melih -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 30, 2005 12:29 AM To: fop-users@xmlgraphics.apache.org

Re: Error loading GIF image using JAI in FOP Trunk (was: Error while processing a PDF - OK)

2005-08-30 Thread Jeremias Maerki
On 30.08.2005 19:00:25 michella wrote: > Thank you for your support. Everything works pretty fine from now on. Thanks for being brave enough to try out our new code and for telling us of any problems you find. > Still another question : Is it normal that GIF images aren't handled > anymore? The

RE : RE : RE : Error while processing a PDF - OK

2005-08-30 Thread michella
Dear Jeremias, Thank you for your support. Everything works pretty fine from now on. Still another question : Is it normal that GIF images aren't handled anymore? When I include "external-graphics... As gif image",I get the following error : I installed SDK1.5.0_04, and jai-1_1_2_01-lib-windows

Re: RE : RE : Error while processing a PDF

2005-08-30 Thread Jeremias Maerki
Same error message, different cause. This was all about constellations of text-align, text-align-last and trailing spaces. My first fix was not quite right. Now I think I've got it: http://svn.apache.org/viewcvs?rev=264797&view=rev On 30.08.2005 16:38:11 michella wrote: > Hi all, > > I could tes

RE : RE : Error while processing a PDF

2005-08-30 Thread michella
Hi all, I could test trunk 264777. Unfortunately, I get the (same?) following error message. The problem might stick in the FO:Table set. I "purified" an FO where the problem remains. If you remove the fo:table, it will work properly. <> Error Message : Handling row group with 1 rows... Exc

Re: RE : Error while processing a PDF

2005-08-30 Thread Jeremias Maerki
Lawrence sent me a test file off the mailing list. The bug is now fixed in the Trunk. Test cases: http://svn.apache.org/viewcvs?rev=264771&view=rev The fix: http://svn.apache.org/viewcvs?rev=264773&view=rev On 30.08.2005 11:46:45 Jeremias Maerki wrote: > Oh, no, it doesn't necessarily have to do

Re: RE : Error while processing a PDF

2005-08-30 Thread Jeremias Maerki
Thanks, Lawrence, but that only helps me verify that it is a problem with fo:inline elements. Without an FO file that shows the problem I can't do much to reproduce it. Please provide a small test case. On 30.08.2005 11:27:26 michella wrote: > Here is the complete error message : > >

Re: RE : Error while processing a PDF

2005-08-30 Thread Jeremias Maerki
Oh, no, it doesn't necessarily have to do with fo:inlines. I misread the stack trace. All the more reason I need an FO file. On 30.08.2005 11:44:41 Jeremias Maerki wrote: > Thanks, Lawrence, but that only helps me verify that it is a problem > with fo:inline elements. Without an FO file that shows

Re: Error while processing a PDF

2005-08-30 Thread Jeremias Maerki
Can you provide a small test case, please? It probably has to do with fo:inline. Please always provide the full stack trace when you get an exception. The "-d" option on the command-line can help there. On 30.08.2005 11:09:52 michella wrote: > Hi all, > > I compiled the latest FOP trunk (2005.09.

RE: Error while processing a PDF

2005-08-30 Thread Lerias, Hugo
Entschuldigung Michel ich habe dich Michaela... :( Gruß, Hugo -Original Message- From: Lerias, Hugo Sent: Dienstag, 30. August 2005 11:29 To: 'fop-users@xmlgraphics.apache.org' Subject: RE: Error while processing a PDF Hi Michaela, I was reading the email you sent... And I don't see e

RE : Error while processing a PDF

2005-08-30 Thread michella
Here is the complete error message : --- java.lang.ClassCastException: org.apache.fop.layoutmgr.inline.KnuthInlineBox at org.apache.fop.layoutmgr.inline.LineLayoutManager$Paragraph.removeEle mentsForTrailingSpaces(LineLayoutManager.java:295) at org.apache.fop.layou

RE: Error while processing a PDF

2005-08-30 Thread Lerias, Hugo
Hi Michaela, I was reading the email you sent... And I don't see enough information there. But I did a quick google about the exception and found this: http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200508.mb ox/[EMAIL PROTECTED] Cheers, Hugo -Original Message- From: [EMA

Error while processing a PDF

2005-08-30 Thread michella
Hi all, I compiled the latest FOP trunk (2005.09.29), and tested it. Now, I always get the following error message : "Exception java.lang.ClassCastException: org.apache.fop.layoutmgr.inline.KnuthInlineBox" I'm unfortunately unable to find where the error sticks in the FO. Thanks for your help

Re: creating a PDF document containing UTF-8 characters

2005-08-30 Thread Jeremias Maerki
It's not a bug. Please consult http://xmlgraphics.apache.org/fop/faq.html#pdf-characters On 30.08.2005 01:59:56 Melih Ovadya wrote: > Hi, > > I have a question regarding to UTF-8 characters when creating a PDF > document: > > I have the initial content in byte[] myBytes, and myBytes contains so

Re: Font Error

2005-08-30 Thread Jeremias Maerki
FOP was most likely not able to load a font metrics file. I'm pretty sure you got an error message earlier in the process. Please check your log output. On 29.08.2005 19:18:06 Sajeesh N Kakkat wrote: > > Hi, > > I am getting the below error when I try to generate a PDF which has Chinese > texts.