RE: XMLParser error with unicode characters in XML file.

2004-07-08 Thread Manoj_Nair
My boss just called me and informed me that on UNIX ( where we have our jars and where we run our application server) its getting an error saying "encoding error utf8". It worked on windows 2000 pro which I am using. Does the utf8 string needs to be different on unix?Paging Vinuta

Re: PDF-PS-PDF with EPS

2004-07-08 Thread Johan Andersson
Hi, This is how I process my output from FOP using Ghostscript 7.06 (on Windows XP): gswin32c -dNOPAUSE -dBATCH -dPDFSETTINGS=/prepress -dConvertCMYKImagesToRGB=false -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -sDEVICE=pdfwrite -sOutputFile=output.pdf input.pdf Sent a test

RE: PDF-PS-PDF with EPS

2004-07-08 Thread Wouter de Vaal
Thanx! We switched from 8.11 to 7.06 and it also works with us now! Maybe something to add on the site? Regards, Wouter de Vaal I've just tried using GhostScript 8.14 and it doesn't work here either. But it works with GNU GhostScript 7.06. On 06.07.2004 17:24:41 Wouter de Vaal wrote:

Re: XMLParser error with unicode characters in XML file.

2004-07-08 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: My boss just called me and informed me that on UNIX ( where we have our jars and where we run our application server) its getting an error saying encoding error utf8. It worked on windows 2000 pro which I am using. Does the utf8 string needs to be different on unix? The

Re: PDFTextCompression 0.20.5

2004-07-08 Thread J.Pietschmann
Jeremias Maerki wrote: That should work. Doesn't it? No it shouldn't. There is a flate filter hardcoded in case the filter list is empty. The only way to get around this is to comment out the code and recompile. I don't know how often I got angry about this. J.Pietschmann

Re: line-height interpretation

2004-07-08 Thread J.Pietschmann
Adam Augusta wrote: I think I've figured out the formula FOP uses. I'm quite sure it's wrong; the height of the block should simply be line-height, if specified in length, or as a multiplier of the font-size, if specified dimensionless. It seems to be: Diff(Ascender,Descender)*font-size/1000 +

EPS image printing problem

2004-07-08 Thread Peter Gustafsson
Hello.. I have a problem with printing EPS images that i have included in my fop generated pdf file. I know that it isn't supposed to show up in acrobat but I can't even print them. I have tried to view the PDF;s with GSView4.1 but the image wasn't shown there either. Thought there was som sort

Re: PDFTextCompression 0.20.5

2004-07-08 Thread Ryan Eldridge
- J, I am trying to work with a thrid party vendor and they need a decompressed (un-compressed) PDF file. Can you tell me where/how to make FOP generate a un-compressed PDF. What method/java file must be modified? Thanks -Ryan J.Pietschmann wrote: Jeremias Maerki wrote: That should work.

Integrating FOP in a Project

2004-07-08 Thread paul . bezault
Hi evrybody ! excuse me for my english but i'm french so i will try to be clear but ... so i have a problem with using fop. I work on an application in Java 1.4 and when i use fop to create a file on the file system in a java program it works BUT i can't do the same thing with my server. I would

Re: PDF-PS-PDF with EPS

2004-07-08 Thread Clay Leeds
On Jul 8, 2004, at 12:08 AM, Wouter de Vaal wrote: Thanx! We switched from 8.11 to 7.06 and it also works with us now! Maybe something to add on the site? Regards, Wouter de Vaal Would you please file a BUG in bugzilla[1] so this issue can be tracked? It would help if you could test using other

Re: Integrating FOP in a Project

2004-07-08 Thread paul . bezault
i use fop 0.20.5 and i can't use driver.initialize() because it doesn't exist. but i don't think that's the problem because in my program the logger never print the second A so I suppose the application stop in the Driver driver = new Driver() line !!! thanks for your help !

Re: Integrating FOP in a Project

2004-07-08 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: File pdffile = new File(C:/Resultat.pdf); Does your server have a C: drive? :-) Furthermore, it's almost always a waste to use DOM trees for intermediate XML documents. Check out the code samples on the FOP website for more information. But neither of these appears

Re: Integrating FOP in a Project

2004-07-08 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: but i don't think that's the problem because in my program the logger never print the second A so I suppose the application stop in the Driver driver = new Driver() line !!! I'd rather think it throws an exception. Try to get a debugger which can be attached to a

Re: Integrating FOP in a Project

2004-07-08 Thread paul . bezault
I work on a local Dev server that is an Apache Tomcat 4.0 so i use the default configuration (except few minor things) In the future i won't use the file system, i will send pdf direct in the outputstream of my servlet !

Trying to Troubleshoot an Issue

2004-07-08 Thread David Shevitz
Hello all, I'm trying to determine the source of a problem I'm having. I have several documents that include images. Ideally, I would like to control the size of these images by percentage--for example, I would like all images for a document to be 60% of their original size. I had thought I

Re: Integrating FOP in a Project

2004-07-08 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: java.lang.NoClassDefFoundError: org/apache/fop/apps/Driver ... but i don't understand because i compile my source code including fop.jar (that is in a lib directory in the Apache directory) so would i have declare something in the configuration of Apache/Tomcat ? I'm not