RE: Corrupt PDF files?
To change the Drivers class and compile it, you must have Framework (org.apache.avalon.framework) and Logkit (org.apache.log) in your classpath. These JAR libraries are delivered with FOP. -Message d'origine- De : Lewis, Bobby [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 1 mars 2002 17:59 À : '[EMAIL PROTECTED]' Objet : RE: Corrupt PDF files? Good idea, but I tried to look into doing the same in org.apache.fop.apps.Driver. The problem is there are too many classes in there that I don't have (where do org.apache.log and org.apache.avalon come from?) Has anyone tried this with Driver? (Manually editing it to close the stream at the end of the run method)? Bobby Lewis Solutions Architect Aivia 3100 McKinnon Suite 1000 Dallas, TX 75201 -Original Message- From: Solange Desseignes [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 2:59 AM To: [EMAIL PROTECTED] Subject: RE: Corrupt PDF files? I had the same problem, but it was because the OutputStream is not closed in method run() of the class CommandLineStarter of the FOP library. I patched my FOP and closed the OutputStream, and have no more problems... If you use this class try to close the Stream... Solange Desseignes -Message d'origine- De : Lewis, Bobby [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 1 mars 2002 00:53 À : Fop-Dev (E-mail) Objet : Corrupt PDF files? I have a problem that is hard to debug. I am generating PDF files with FOP, and the process is working ok most of the time. Sometimes though, the file becomes corrupt (I'm sending the PDF back to a web browser based on a request a user makes from a JSP). Here's what we just found: we're using an external barcode font (a Code39 font). If we take the font out and don't use it in the PDF, it works fine everytime. Otherwise, it works sometimes. There's no discernible factor as to why it does/does not work, so I'm thinking there's something buggy in FOP. Has anyone had any kind of unpredictable behavior before with FOP when using external fonts? I'm using a TTF, I generated the metric file ok and everything, because the barcode does show up correctly SOMETIMES. Any help is greatly appreciated. Bobby Lewis Solutions Architect Aivia 3100 McKinnon Suite 1000 Dallas, TX 75201 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Corrupt PDF files?
I had the same problem, but it was because the OutputStream is not closed in method run() of the class CommandLineStarter of the FOP library. I patched my FOP and closed the OutputStream, and have no more problems... If you use this class try to close the Stream... Solange Desseignes -Message d'origine- De : Lewis, Bobby [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 1 mars 2002 00:53 À : Fop-Dev (E-mail) Objet : Corrupt PDF files? I have a problem that is hard to debug. I am generating PDF files with FOP, and the process is working ok most of the time. Sometimes though, the file becomes corrupt (I'm sending the PDF back to a web browser based on a request a user makes from a JSP). Here's what we just found: we're using an external barcode font (a Code39 font). If we take the font out and don't use it in the PDF, it works fine everytime. Otherwise, it works sometimes. There's no discernible factor as to why it does/does not work, so I'm thinking there's something buggy in FOP. Has anyone had any kind of unpredictable behavior before with FOP when using external fonts? I'm using a TTF, I generated the metric file ok and everything, because the barcode does show up correctly SOMETIMES. Any help is greatly appreciated. Bobby Lewis Solutions Architect Aivia 3100 McKinnon Suite 1000 Dallas, TX 75201 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
FOP and BATIK
Hi ! I want to put some SVG links in my FO document to convert them in PDF... I use the version 0.20.1 of FOP and I try to use the latest version 1.1.1 of BATIK to convert SVG, but I have some problems... Does FOP 0.20.1 compatible with this version of BATIK ? Does someone know these problems ? Which version of BATIK is compatible with FOP 0.20.0 ? Thanks in advance, Solange Desseignes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
InputStream and OutputStream use in FOP servlet
Hi, I use FOP to generate a PDF file from an XML file With a XSL/FO transformation. The generation is made in a servlet. Actually, I use the method described in the FOP Web site: Driver driver = new Driver(); driver.setRenderer(Driver.RENDER_PDF); InputHandler inputHandler = new XSLTInputHandler(xmlFile, xslFile); XMLReader parser = inputHandler.getParser(); driver.setOutputStream(new FileOutputStream(outFile)); driver.render(parser, inputHandler.getInputSource()); But, I want to use InputStream instead of File for xslFile and xmlFile (to use in war in Tomcat). And, I don't know how do this ! Moreover, I have fonts configuration. For the same reason, I can't use: userConfigFile = new File(userConfig); options = new Options(userConfigFile); Can anybody help me ??? Thanks. Solange Desseignes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Any real-life business use ?
You manage to specify the heigth and the width of an image !!! I don't succeed ! How do you set these parameters ? In which FOP version ? Solange Desseignes -Message d'origine- De : Beer, Christian [mailto:[EMAIL PROTECTED]] Envoyé : lundi 14 janvier 2002 10:15 À : '[EMAIL PROTECTED]' Objet : AW: Any real-life business use ? I implemented a small class, that analyses the jpg header, extracts the dpi value and then sets the width and/or height of that image. -Ursprüngliche Nachricht- Von: Stefan Weber [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 14. Januar 2002 10:09 An: '[EMAIL PROTECTED]' Betreff: RE: Any real-life business use ? what kind workaround for Images are you using? Stefan -Original Message- From: Beer, Christian [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 10:02 AM To: '[EMAIL PROTECTED]' Subject: AW: Any real-life business use ? Hi! We use FOP in a project for our customer. Our applications create letters and postcards. The count of pages differ from 1 to 5 pages. The speed is good. We only had a few problems in the beginning, because some points in the XSL-spec are not or not good enough implemented. I'm looking forward to see what the new design brings for fop (speed and functionality). The only point is, that the image processing is not perfect. The dpi of an image is not processed. But we found a workaround. Christian DIRON Wirtschaftsinformatik GmbH & Co. KG Christian Beer ([EMAIL PROTECTED]) Daimlerweg 39-41Tel. : +49(251)979-200 48163 Muenster Fax : +49(251)979-2020 Germany Email: [EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: Patrick Andries [mailto:[EMAIL PROTECTED]] Gesendet: Sonntag, 13. Januar 2002 23:31 An: [EMAIL PROTECTED] Betreff: Any real-life business use ? Hello everyone, I have busy evaluated the FO technology and I would like to hear from people that are using it for real-life business needs. What kind of documents are they using it with ? What volume ? Embedding it in servlets ? How do they cope with the "speed" ? How do they justify using FO to their bosses ? Anybody with both 3B2 and FO or Compuset and FO experience ? I would love to hear your story. Patrick Andries - ° - ° - ° - ° Tout sur Unicode 3.1 en français : http://hapax.iquebec.com Traduction complète, mise à jour, texte en ligne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] <<<<<<<<<<<<<<<<<<<<<<<<<<< sitewaerts GmbH Hebelstraße 15 D-76133 Karlsruhe Tel: +49 (721) 920 918 0 Fax: +49 (721) 920 918 29 http://www.sitewaerts.de >>>>>>>>>>>>>>>>>>>>>>>>>>> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
NEED HELP !!! : JSP pages display slows down after FOP use
Hi, I have a very strange problem with FOP... I develop a Web application which displays JSP pages and reports generated with FOP. Before generate a report, all my pages are displayed rapidly. But once I generated a report with FOP, the pages and above all the images are very slowly displayed. I have check the memory and it seems to not be the reason... I tried to use OptimizeIt to check the memory and the CPU use, but with this tool there's no more slowing down !!! My configuration is: - Tomcat 3.2.3 as Web server and JSP engine - JVM 1.3.1 - Windows 2000 - 256 Mo RAM - PIII 600 MHz - FOP 0.20.2RC The same PC is use as Web server and client. The slowing down is more important on laptop than on PC with this same configuration !!! Have you heard about this problem before ? PLEASE HELP !!! Thanks. Solange Desseignes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: FOP performance on Win98/JRE 1.3.1
Normally, there's no problem... The Xalan version I used is the 2.2.D11 (the really last is the 2.2.D14). Solange Desseignes -Message d'origine- De : Lukas Pietsch [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 12 décembre 2001 09:52 À : [EMAIL PROTECTED] Objet : Re: FOP performance on Win98/JRE 1.3.1 > I use FOP with Xalan and I have noticed that the performance is really > better with the last version of Xalan (the speed is multiply by 10) !!! That sounds interesting. FOP 0.20.2 is being distributed with a file called xalan-2.0.0.jar. Is it technically okay to just go and grab a newer version of a Xalan jar file somwhere and put it in that directory instead of the old one? Lukas (with some revived hope...) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: FOP performance on Win98/JRE 1.3.1
Hello ! I use FOP with Xalan and I have noticed that the performance is really better with the last version of Xalan (the speed is multiply by 10) !!! Solange Desseignes -Message d'origine- De : IvanLatysh [mailto:[EMAIL PROTECTED]] Envoyé : mardi 11 décembre 2001 18:42 À : [EMAIL PROTECTED] Objet : Re: FOP performance on Win98/JRE 1.3.1 Hello, James! You wrote to <[EMAIL PROTECTED]> on Tue, 11 Dec 2001 17:28:25 +: JR> The performance of FOP needs quite a bit of work. At least thats the JR> impression I get from many people round here. However, its really JR> new software ( hanve version 0.20 I would imagine ), and I think JR> that that probably the coders are working on getting the JR> functionality there before spending time concentrating on the JR> performance. I think performance only question of time. But one more: What about German documentation for some classes. Maybe you guys could notify all developers to use English. Because "I am stack in a middle with you" (c) famous song. I couldn't move from dead point with my application. I do understand that now some thing are not ready yet, but I think you should pay attention to preview panel and print method. And, by the way - great job guys. --- Yours sincerely, Ivan Latysh. [EMAIL PROTECTED] http://ivan.yourmail.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]