RE: FOP in production app
Title: RE: FOP in production app We are. We're using it to deliver printed offers to the customer, the size of documents are, however, fairly small. No problems so far. Hans Kappert Co-maker B.V. Postbus 24006 2490 AA 's Gravenhage www.co-maker.nl tel: +31(0)70 - 317 80 40 fax: +31(0)70 - 317 80 42 PLEASE NOTE: The information contained in this electronic mail message is privileged and confidential, and is intended only for use of the addressee. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by reply transmission and delete the message without copying or disclosing it. -Original Message- From: Holk, David A [mailto:[EMAIL PROTECTED]] Sent: maandag 10 maart 2003 18:37 To: '[EMAIL PROTECTED]' Subject: FOP in production app Is anyone using FOP in a production app? Should I expect a commercial product like XEP or XSLFormatter to be more robust in a production application? Any experiences/comments appreciated. David Holk LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FOP in production app
Hi David, For one customer we use FOP in a production environment. For another we use XEP. This choice is made in consultation with our customers with respect to their requirements and the money they want to spend. Cheers, Agnes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SV: FOP in production app
We are using it in production for dynamic pages on the web, for an internal workflow and for printing of parts of thesis and dissertations. Best regards Uwe Klosa __ Electronic Publishing Centre Development UPPSALA UNIVERSITY University Library Tel: +46 (0)18 471 7658 Fax: +46 (0)18 471 3913 Epost: [EMAIL PROTECTED] Homepage: http://publications.uu.se/ -Ursprungligt meddelande- Från: Holk, David A [mailto:[EMAIL PROTECTED] Skickat: den 10 mars 2003 18:37 Till: '[EMAIL PROTECTED]' Ämne: FOP in production app Is anyone using FOP in a production app? Should I expect a commercial product like XEP or XSLFormatter to be more robust in a production application? Any experiences/comments appreciated. David Holk LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SVG to PDF: CMYK conversion / Can't open PDF in Adobe Illustrator
Hi I convert an SVG file into a PDF file using FOP: //-- // Save as PDF //-- boolean saveAsPDF() { try { Configuration.put(strokeSVGText, Boolean.FALSE); // create a JPEG transcoder PDFTranscoder t = new PDFTranscoder(); // set the transcoding hints // create the transcoder input String s = new File(C:\\Temp\\Chart.svg).toURL().toString(); TranscoderInput input = new TranscoderInput(s); // create the transcoder output OutputStream ostream = new FileOutputStream(C:\\Temp\\Chart.pdf); TranscoderOutput output = new TranscoderOutput(ostream); // save the image t.transcode(input, output); // flush and close the stream then exit ostream.flush(); ostream.close(); } catch (FileNotFoundException e) { return false; } catch (IOException e) { return false; } catch (TranscoderException e) { return false; } return true; } The conversion works fine, but I have 2 problems: - The SVG file is in RGB colorspace, the PDF should be in CMYK. How can I convert RGB to CMYK? - I can open the PDF in Adobe Reader, but not in Adobe Illustrator. What could be wrong? Has anybody the same effect? Thanks for help Hans - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP in production app
Le Lundi, 10 mars 2003, à 18:36 Europe/Zurich, Holk, David A a écrit : Is anyone using FOP in a production app? ... Several customers of companies that I'm working with are, daily production of small to medium-sized documents (from a few to 250 pages). Stability is no problem IMHO, you can get good support here (best effort though) assuming you're ready to dig in to analyze possible problems precisely, and you have to limit your XSL-FO documents to what FOP can handle today. If you keep these concerns in mind, using FOP in production is realistic IMHO. -- Bertrand Delacretaz (codeconsult.ch, jfor.org) XML, java, XSLT, Cocoon, FOP, mentoring/programming/teaching - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP in production app
Hi there, I'm using FOP in production and we render up to 5000 in 1 run (once a night), another application makes pdf's continuously during the day (0-1500) and another application is a webapplication and reders dynamic pdf's depending on the clients requests. Non of the machines use more the 85 Meg mem for FOP, although they are all dynamic, and sometimes 1 pdf goes upt to 50 pages.. depending on how you write your application FOP is stable :-] this is a succes Story for our company! greetings Jochen Maes ICT Development KBC Securities (kbcsecurities.com) Havenlaan 12 Avenue du Port SIF 8683 B-1080 Brussels Belgium Tel: +32 2 429 96 81 GSM: +32 496 57 90 99 E-mail : [EMAIL PROTECTED] This message and any attachments hereto are for the named person's use only. It may contain confidential, proprietary or legally privileged information. You may not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. If you have received this e-mail message without being the intended recipient, please notify KBC Securities promptly and delete this e-mail. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of KBC Securities. KBC Securities reserves the right to monitor all e-mail communications through its networks and any messages addressed to, received or sent by KBC Securities or its employees are deemed to be professional in nature. The sender or recipient of any messages to or of KBC Securities agrees that those may be read by other employees of KBC Securities than the stated recipient or sender in order to ensure the continuity of work-related activities and allow supervision thereof. KBC Securities does not accept liability for the correct and complete transmission of the information, nor for any delay or interruption of the transmission, nor for damages arising from the use of, or reliance on, the information. Bertrand DelacretazTo: [EMAIL PROTECTED] [EMAIL PROTECTED]cc: onsult.chSubject: Re: FOP in production app 11/03/2003 09:23 Please respond to fop-user Le Lundi, 10 mars 2003, à 18:36 Europe/Zurich, Holk, David A a écrit : Is anyone using FOP in a production app? ... Several customers of companies that I'm working with are, daily production of small to medium-sized documents (from a few to 250 pages). Stability is no problem IMHO, you can get good support here (best effort though) assuming you're ready to dig in to analyze possible problems precisely, and you have to limit your XSL-FO documents to what FOP can handle today. If you keep these concerns in mind, using FOP in production is realistic IMHO. -- Bertrand Delacretaz (codeconsult.ch, jfor.org) XML, java, XSLT, Cocoon, FOP, mentoring/programming/teaching - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: FOP in production app
Hello David We are using FOP in several productive applications in a insurance environment. Mit freundlichen Grüssen Helmut Gehrer Visana Services AG E-Mail: [EMAIL PROTECTED] URL: www.visana.ch -Ursprüngliche Nachricht- Von: Holk, David A [mailto:[EMAIL PROTECTED] Gesendet: Montag, 10. März 2003 18:37 An: '[EMAIL PROTECTED]' Betreff: FOP in production app Is anyone using FOP in a production app? Should I expect a commercial product like XEP or XSLFormatter to be more robust in a production application? Any experiences/comments appreciated. David Holk LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: AW: left margin different on two printouts...
Hi Clay, Yes, this seems to be the case; FOP does not seem to be the problem. We changed margins to 1,5cm and voila good print on both printers! Thank you very much for helping me locating this issue... Greetings Normen -Ursprüngliche Nachricht- Von: Clay Leeds [mailto:[EMAIL PROTECTED] Gesendet: Montag, 10. März 2003 22:57 An: [EMAIL PROTECTED] Betreff: Re: AW: left margin different on two printouts... Normen, Normen Ruhrus wrote: I ran under 1.4.1_01 and updated to _02. There was no change... I think there must be some difference in drivers of the two printers, that seem to define additionally to the XSL:FO definition of the margins their own (default) margins. I see that this is not 100% FOP question but perhaps someone in here has some experiences with printing to different printers and can share Knowledge!? Greetings Normen If the problem is related to margin-widths, I would set my outer margin (printable-area page margins) generously, and seeing if that makes the pages print. You might have one printer whose printable area requires a 1cm margin, whereas another might require a 1.5cm margin. HTH -Ursprüngliche Nachricht- Von: Clay Leeds [mailto:[EMAIL PROTECTED] Gesendet: Montag, 10. März 2003 22:40 An: [EMAIL PROTECTED] Betreff: Re: left margin different on two printouts... Normen Ruhrus wrote: Hi there, i wrote a servlet that supports pdf streaming to a browser (works fine) and printing (server side) using the awtrenderer. Problem here is, on one printer it looks just fine while on the other one some parts are cut off... Well it looks like that its not the font metric problem. One of the two printers (HP V40) makes a bigger left margin than a Samsung laserprinter, while they are using the 100% same source. Is this a printer driver problem? Is there an explanation / workaround ??? Hope someone can help me out... Thanks in advance Normen Ruhrus (Much of this message mirrors the previous answer I gave, however there is a bit more information below.) In our testing at my company, we've found that the version of Java being used may affect the output. In particular, there was a bug in pre-1.4.x Sun java that had FontMetrics issues. IBM 1.30 java appears to be unaffected by this bug. As a result, we've indicated to our clients that our FOP implementation requires Sun Java 1.4.1+ or IBM Java 1.30+. If you're having problems, see if you can install one of these JAVA upgrades (you shouldn't need to change the server to default to this new version to test. Just open a new terminal window, and set $JAVA_HOME to that new version of JAVA), and then do more testing. If you find it works, that may be the culprit. However, you'll want to test any other applications currently running on your server to make certain nothing breaks with the updated JRE before you implement the change. HTH! -- Clay Leeds - [EMAIL PROTECTED] Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: FOP in production app
Hi David, We are just starting to use FOP for Printing and PDF Streaming issues in A Data Warehouse application. Works good, no big stones in our way, yet :-) Greetings Normen -Ursprüngliche Nachricht- Von: Holk, David A [mailto:[EMAIL PROTECTED] Gesendet: Montag, 10. März 2003 18:37 An: '[EMAIL PROTECTED]' Betreff: FOP in production app Is anyone using FOP in a production app? Should I expect a commercial product like XEP or XSLFormatter to be more robust in a production application? Any experiences/comments appreciated. David Holk LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SVG to PDF: CMYK conversion / Can't open PDF in Adobe Illustrator
Are you working with the PDF transcoder from a released version or from the trunk in CVS? If the former I suggest you update to the one in CVS because it's improved and nearing a release. ...and we could use some testers. :-) On 11.03.2003 09:20:01 Hans Stoessel wrote: I convert an SVG file into a PDF file using FOP: snip/ The conversion works fine, but I have 2 problems: - The SVG file is in RGB colorspace, the PDF should be in CMYK. How can I convert RGB to CMYK? The PDF transcoder contains some code to pass CMYK color to the PDF if it's specified as CMYK in the SVG. If you can convert your SVGs to CMYK colorspace you have some (!) chance of sucess. The PDF transcoder would have to be extended to provide RGB-to-CMYK conversion functions. As another option: there maybe some PDF tool around that can do the conversion for you. - I can open the PDF in Adobe Reader, but not in Adobe Illustrator. What could be wrong? Has anybody the same effect? Don't have Illustrator available. But doing a quick search in the archives I found this: http://marc.theaimsgroup.com/?t=10221860971r=1w=2 If it's something like that and you're not using a current version of FOP you might be able to solve the problem by upgrading because some errors in this area have been fixed. What version do you use? ignore xml:lang=de_CH_LUE Gruess vo Lozärner zo Lozärner! :-)/ignore Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: left margin different on two printouts...
Philip, (just for completeness) when printing from Acrobat Reader 5, you've got to take into account the three checkboxes in the print dialog (in Copies and Adjustments) which can distort your print output by scaling the PDF (the function is dependant on the printable areas supplied by the printer drivers). I guess you know that one, but I can't tell from your mail if you took that into account. On 10.03.2003 22:58:21 Philip Semanchuk wrote: Normen, I am using FOP to produce my PDFs and have had the same problem, but I'm 99% sure it has nothing to do with FOP. My left/right margins are specified at exactly 25mm and they appear correct in the PDF. Here are my left/right margin results from a few printer tests. I did all my printing from Acrobat Reader 5: HP Laserjet 5/5M, from Linux with gimp-print driver: 29/27mm HP 5SiMX from NT4 (driver == ???): 29/27mm Xerox DC460 from NT4 (I think): 25/25mm As you can see some of these are off by 10% which I find annoying. We're trying to squeeze information-rich tables onto our pages and I don't like losing 2-3% of my page width to the printer's whims. But I think if we want to solve our problem we'll need to a) figure it out ourselves or b) take it to a newsgroup like comp.periphs.printers. I think FOP is not the culprit. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: PDF boomarks not created due to location?
The outline extension is documented here: http://xml.apache.org/fop/extensions.html The original file where this is documented is the file xml-fop/src/documentation/content/xdocs/extensions.xml (trunk in CVS). You're invited to provide a patch. Documentation on the XML format used for documentation is available at http://xml.apache.org/forrest On 11.03.2003 00:30:49 Philip Semanchuk wrote: Thanks J. I haven't been able to find any information on this. Is it a feature? Bug? Documented anywhere? It is easy to work around the problem but I want to document this for the programmer who takes over this project after me. Thank you Philip On Mon, 2003-03-10 at 18:20, J.Pietschmann wrote: Philip Semanchuk wrote: I have a problem with FOP extension for PDF bookmarks. It seems that FOP will not generate bookmarks in the PDF if the fox:outline elements come after a page-sequence element. That's correct: since around 0.20.1 bookmarks are only rendered correctly if they preceed the first fo:page-sequence. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
newbie: testing FOP on an existing document
as a beginner to FOP, i'm testing running it on an existing document to see how the PDF output differs from that produced by passivetex. as a testbed, i'm playing with tim waugh's selfdocbookx document, which has a nice working environment, a sample docbook document, and a Makefile to produce HTML, FO or PDF, depending on what you're after (if you're interested, this tarball is at www.cyberelk.net). as a test, i generated the FO file, then produced the final PDF file both using the standard passivetex that his Makefile uses, then using the latest version of FOP. as more than one person has already mentioned, FOP clearly does not handle some of the docbook features in that example. as a learning experience, i'm going to examine what's going on to see where it's failing and see if there are ways around that. if anyone has far too much time on their hands, they're welcome to take a look at the same document and give me advice on why things aren't being rendered properly. i'll be keeping a list. :-) rday - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SVG to PDF: CMYK conversion / Can't open PDF in Adobe Illustrator
Hi Thanks for your answer. Update in CVS: ...I suggest you update to the one in CVS because it's improved and nearing a release. ...and we could use some testers. :-) I have downloaded the latest version and built it. But it doesn't work. The class org.apache.fop.configuration.Configuration is missing. I removed it from my code and tried to transcode the SVG to PDF. But in the method transcode in the class PDFTranscoder the error ClassNotFoundException occured in URLClassLoader. I suppose a class isn't available. CMYK conversion: The PDF transcoder contains some code to pass CMYK color to the PDF if it's specified as CMYK in the SVG. If you can convert your SVGs to CMYK colorspace you have some (!) chance of sucess. I can't convert my SVg to CMYK because SVg doesn't support CMYK, only RGB. Can't open PDF in Adobe Illustrator: But doing a quick search in the archives I found this: http://marc.theaimsgroup.com/?t=10221860971r=1w=2 I have a look in this group and changed PDFStream.java like discribed. But it doesn't work. The PDF transcoder would have to be extended to provide RGB-to-CMYK conversion functions. As another option: there maybe some PDF tool around that can do the conversion for you. Do you know such a tool? Or a lib for Java? ignore xml:lang=de_CH_LUVele Dank ond au e Gruess! :-)/ignore Hans Stössel -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: rendering XML from TIFF
Rick Delpo wrote: Is there a way to parse elements from TIFF format into XML ? OCR -- Oleg Tkachenko Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SVG to PDF: CMYK conversion / Can't open PDF in Adobe Illustrator
On 11.03.2003 12:05:43 Hans Stoessel wrote: Hi Thanks for your answer. Update in CVS: ...I suggest you update to the one in CVS because it's improved and nearing a release. ...and we could use some testers. :-) I have downloaded the latest version and built it. But it doesn't work. The class org.apache.fop.configuration.Configuration is missing. I removed it from my code and tried to transcode the SVG to PDF. But in the method transcode in the class PDFTranscoder the error ClassNotFoundException occured in URLClassLoader. I suppose a class isn't available. Setting the strokeSVGText property is not necessary anymore because the PDF transcoder decides itself if it can use the PDF TextPainter or if the text must be stroked because there is some complex transformation. Can you post a complete stacktrace and maybe a little SVG file that is failing in your application? CMYK conversion: The PDF transcoder contains some code to pass CMYK color to the PDF if it's specified as CMYK in the SVG. If you can convert your SVGs to CMYK colorspace you have some (!) chance of sucess. I can't convert my SVg to CMYK because SVg doesn't support CMYK, only RGB. Learn something new every day. Thanks for pointing this out. Can't open PDF in Adobe Illustrator: But doing a quick search in the archives I found this: http://marc.theaimsgroup.com/?t=10221860971r=1w=2 I have a look in this group and changed PDFStream.java like discribed. But it doesn't work. Can you try to find the smallest SVG example that works with Illustrator (if that exists) and then add features again (text, lines, shapes...) until you experience the bug in Illustrator. That should help narrowing down the problem point. Maybe you could also send the PDF to Adobe support and ask them to analyze what's wrong with it. That feedback could also help us to find the problem. The PDF transcoder would have to be extended to provide RGB-to-CMYK conversion functions. As another option: there maybe some PDF tool around that can do the conversion for you. Do you know such a tool? Or a lib for Java? Searching for pdf rgb cmyk conversion shows quite a few promising links. http://www.pdfstore.com/details.asp?ProdID=215, for example. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SVG to PDF: CMYK conversion / Can't open PDF in Adobe Illustrator
Sorry, attachment forgotten... Hans Jeremias Maerki [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] On 11.03.2003 12:05:43 Hans Stoessel wrote: Hi Thanks for your answer. Update in CVS: ...I suggest you update to the one in CVS because it's improved and nearing a release. ...and we could use some testers. :-) I have downloaded the latest version and built it. But it doesn't work. The class org.apache.fop.configuration.Configuration is missing. I removed it from my code and tried to transcode the SVG to PDF. But in the method transcode in the class PDFTranscoder the error ClassNotFoundException occured in URLClassLoader. I suppose a class isn't available. Setting the strokeSVGText property is not necessary anymore because the PDF transcoder decides itself if it can use the PDF TextPainter or if the text must be stroked because there is some complex transformation. Can you post a complete stacktrace and maybe a little SVG file that is failing in your application? CMYK conversion: The PDF transcoder contains some code to pass CMYK color to the PDF if it's specified as CMYK in the SVG. If you can convert your SVGs to CMYK colorspace you have some (!) chance of sucess. I can't convert my SVg to CMYK because SVg doesn't support CMYK, only RGB. Learn something new every day. Thanks for pointing this out. Can't open PDF in Adobe Illustrator: But doing a quick search in the archives I found this: http://marc.theaimsgroup.com/?t=10221860971r=1w=2 I have a look in this group and changed PDFStream.java like discribed. But it doesn't work. Can you try to find the smallest SVG example that works with Illustrator (if that exists) and then add features again (text, lines, shapes...) until you experience the bug in Illustrator. That should help narrowing down the problem point. Maybe you could also send the PDF to Adobe support and ask them to analyze what's wrong with it. That feedback could also help us to find the problem. The PDF transcoder would have to be extended to provide RGB-to-CMYK conversion functions. As another option: there maybe some PDF tool around that can do the conversion for you. Do you know such a tool? Or a lib for Java? Searching for pdf rgb cmyk conversion shows quite a few promising links. http://www.pdfstore.com/details.asp?ProdID=215, for example. Jeremias Maerki begin 666 Temp.zip [EMAIL PROTECTED](`'5O:RXVC.)'^SL``']!```11F5H;5R;65L9'5N9RYP M9:EO [EMAIL PROTECTED]@E)([EMAIL PROTECTED]C*!=2H4B'3WT-W2W8QT M=\S_1A^?]YSSG._]ONOZ[XN+=:[EMAIL PROTECTED],P,KD7KZL'J M9O;AE\'6=C06$!/([EMAIL PROTECTED]/QAK:FON; %B!DA*($9Q2[SJ2/PC9T-A4U M-;8S,04)* Y.3N:[EMAIL PROTECTED]H4*L,8DC22\O34[^2ZU6D[D9B\/'IW[[ M):WZ09Q\O^K@:2^[B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conversion / Can't open PDF in Adobe Illustrator
That's easy. See below. On 11.03.2003 14:31:19 Hans Stoessel wrote: In the attachment, you'll find a zipfile who contains the following files: test.svg - svg file chart.pdf - created from test.svg, can't open in illustrator, only in Adobe Reader fehlermeldung.pdf - error message if I try to open chart.pdf in adobe illustrator 10 (mac) test big.svg - bigger svg file The problem with the ClassNotFoundException occurs only if I try to convert test big.svg. With test.svg it works. And here the stacktrace: Hit Unbehandelte Exception java.lang.ClassNotFoundException Hit Unbehandelte Exception java.lang.ClassNotFoundException java.lang.NoClassDefFoundError: org/apache/avalon/framework/ValuedEnum That's a class from avalon-framework.jar. Please put it in your classpath. This fact will be documented before we make the initial release of the PDF transcoder. snip/ Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SVG to PDF: CMYK conversion / Can't open PDF in Adobe Illustrator
OK, I can transcode my SVG file now with the new FOP version. The PDF is much bigger than before, but I can't still open it in Adobe Illustrator. With the Reader it works. Hans Jeremias Maerki [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] That's easy. See below. On 11.03.2003 14:31:19 Hans Stoessel wrote: In the attachment, you'll find a zipfile who contains the following files: test.svg - svg file chart.pdf - created from test.svg, can't open in illustrator, only in Adobe Reader fehlermeldung.pdf - error message if I try to open chart.pdf in adobe illustrator 10 (mac) test big.svg - bigger svg file The problem with the ClassNotFoundException occurs only if I try to convert test big.svg. With test.svg it works. And here the stacktrace: Hit Unbehandelte Exception java.lang.ClassNotFoundException Hit Unbehandelte Exception java.lang.ClassNotFoundException java.lang.NoClassDefFoundError: org/apache/avalon/framework/ValuedEnum That's a class from avalon-framework.jar. Please put it in your classpath. This fact will be documented before we make the initial release of the PDF transcoder. snip/ Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SVG to PDF: CMYK conversion / Can't open PDF in Adobe Illustrator
If I convert the SVG file with the version of FOP, the PDF file is much bigger (about 5 times). And a font I use (Arial) in the SVG file is changed in the PDF file. With the version 0.20.5 works this correct. I think I use the old version for the moment... One more question: Can I change the size (widht and height) of the generated PDF file? Thanks and have a nice evening Hans Jeremias Maerki [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] That's easy. See below. On 11.03.2003 14:31:19 Hans Stoessel wrote: In the attachment, you'll find a zipfile who contains the following files: test.svg - svg file chart.pdf - created from test.svg, can't open in illustrator, only in Adobe Reader fehlermeldung.pdf - error message if I try to open chart.pdf in adobe illustrator 10 (mac) test big.svg - bigger svg file The problem with the ClassNotFoundException occurs only if I try to convert test big.svg. With test.svg it works. And here the stacktrace: Hit Unbehandelte Exception java.lang.ClassNotFoundException Hit Unbehandelte Exception java.lang.ClassNotFoundException java.lang.NoClassDefFoundError: org/apache/avalon/framework/ValuedEnum That's a class from avalon-framework.jar. Please put it in your classpath. This fact will be documented before we make the initial release of the PDF transcoder. snip/ Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Distribution of FOP - the different jars
Hello, I have a question mentioned the FOP Release 0.20.5. In this distribution are the following JARS Xerces version 2.2.1, Xalan version 2.4.1 and Batik version 1.5beta4. and avalon-framework-cvs-20020806.jar the original. In this JARS, is there only the needed minimum for FOP or contain this JARS the complete Files as defined in the original. Thanks all, Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
conditional include of fluff material
I have dynamic report, with chapters and pages. Each Chapter begins a new page. This is working in FOP. But if the chapter ends on a page that is more than 1/2 empty, I want to display some filler material (quotes from famous people, images, etc)... Is there a way to do a conditional include of content, the condition being that the page has enough space to fit the content? I don't want the filler material to generated a new page. Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Best Image Format for FOP for printing and viewing?
This is for reports that people can view on-line and to print. So it's not a either view or print situation. It's like I need the best of both worlds. I need to have print quality and view quality in the same document. I am trying to get quality images in FOP, but have not been pleased with jpeg,png formats. If I use SVG, the print quality seems better, the on screen display is awful. What have people been doing to achieve a superior image quality in a PDF document with FOP for printing. Another thought was to try to create my images much bigger, than to scale them down to fit in the pdf. Any thoughts would be appreciated. Thank you. I will share my results on how I achieve this with the group when I hit the right answer. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Best Image Format for FOP for printing and viewing?
SVG is the best for printing It is a vector graphic and will sustain it's quality throughout... However, the source MUST be from a vector based application such as Adobe Illustrator. SVG's can import other raster images inside of an SVG and are NOT vector based. Therefore you must sustain the vector characteristics of the image throughout the rendering process Pete From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Best Image Format for FOP for printing and viewing? Date: Tue, 11 Mar 2003 12:31:40 -0500 (EST) This is for reports that people can view on-line and to print. So it's not a either "view or print" situation. It's like I need the best of both worlds. I need to have print quality and view quality in the same document. I am trying to get quality images in FOP, but have not been pleased with jpeg,png formats. If I use SVG, the print quality seems better, the on screen display is awful. What have people been doing to achieve a superior image quality in a PDF document with FOP for printing. Another thought was to try to create my images much bigger, than to scale them down to fit in the pdf. Any thoughts would be appreciated. Thank you. I will share my results on how I achieve this with the group when I hit the right answer. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Tired of spam? Get advanced junk mail protection with MSN 8. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Question about Word character encoding.
Hi, I have a little query : I am looking for a table with the hexadecimal code for the MS Word specific characters (eg: ... or the ' character). I am coding a java class that will clean the Word input to avoid FOP to render specific character as #. eg : if (c == 0x85) { stBuffer.append(...); } else { stBuffer.append(c); } I looked over the web using google and didn't find it ... I began the work with an hexadecimal editor, but a such table would be really usefull ! =) The best would be a existing class, but I don't think it exists yet. If someone need a such class, I'll send mine here once I will have finished to code it. Thanks, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FOP in production app
Hi ! We are using fop 0.20.5 in client/server app (300 users, calls are synchronised) and in our websites (servlet embedded, synchronised too) running on tomcat 3.23 app server. We only use FOP for generating PDF dynamic catalogs (example here http://www.tatouage.fr/temp/fop_user_example.pdf). We just got some out of memory problem on the biggest document with lot of images, but we ran out of it by adding some memory to the serv, and we recently decided to use a dedicated server for fo rendering. I never used XEP or other concurrent, so I can't tell you about that. But we are really happy with FOP and never got any problem with it in production app. Cheers, Simon -Original Message- From: Holk, David A [mailto:[EMAIL PROTECTED] Sent: maandag 10 maart 2003 18:37 To: '[EMAIL PROTECTED]' Subject: FOP in production app Is anyone using FOP in a production app? Should I expect a commercial product like XEP or XSLFormatter to be more robust in a production application? Any experiences/comments appreciated. David Holk
Re: Distribution of FOP - the different jars
Zmitko, Jan wrote: I have a question mentioned the FOP Release 0.20.5. In this distribution are the following JARS Xerces version 2.2.1, Xalan version 2.4.1 and Batik version 1.5beta4. and avalon-framework-cvs-20020806.jar the original. In this JARS, is there only the needed minimum for FOP or contain this JARS the complete Files as defined in the original. AFAIK these jars are unmodified from either a binary distribution or from an unmodified source compile. OTOH the ant.jar has the style task added. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: conditional include of fluff material
[EMAIL PROTECTED] wrote: This is working in FOP. But if the chapter ends on a page that is more than 1/2 empty, I want to display some filler material (quotes from famous people, images, etc)... Is there a way to do a conditional include of content, the condition being that the page has enough space to fit the content? Check the spec: http://www.w3.org/TR/xsl/ Let me know if you find something interesting... The other usual answers: 1. Try to estimate whether there will be space left while doing XSLT and add the fluff there. 2. Try tricks with markers and/or footnotes. The latter might actually work due to a bug in FOP (footnotes at the end of a page sequences are discarded if they don't fit on the last page). J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: PDF boomarks not created due to location?
Thank you very much Jeremias. The documentation that I have not been able to find is something that states whether this feature is WAD (working as designed) or if it is just a known quirk/bug. If patches are welcome then I guess it is the latter. =) Thanks again Philip On Tue, 2003-03-11 at 04:43, Jeremias Maerki wrote: The outline extension is documented here: http://xml.apache.org/fop/extensions.html The original file where this is documented is the file xml-fop/src/documentation/content/xdocs/extensions.xml (trunk in CVS). You're invited to provide a patch. Documentation on the XML format used for documentation is available at http://xml.apache.org/forrest On 11.03.2003 00:30:49 Philip Semanchuk wrote: Thanks J. I haven't been able to find any information on this. Is it a feature? Bug? Documented anywhere? It is easy to work around the problem but I want to document this for the programmer who takes over this project after me. Thank you Philip On Mon, 2003-03-10 at 18:20, J.Pietschmann wrote: Philip Semanchuk wrote: I have a problem with FOP extension for PDF bookmarks. It seems that FOP will not generate bookmarks in the PDF if the fox:outline elements come after a page-sequence element. That's correct: since around 0.20.1 bookmarks are only rendered correctly if they preceed the first fo:page-sequence. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: left margin different on two printouts...
I had not taken that into account and that was indeed the problem. That's two problems you've fixed for me today, Jeremias! Any chance you want to make it three and fix this file I/O bug I've got in my Java code? =) If you want to email me your SnailMail address, I'll send you a thank-you postcard. P On Tue, 2003-03-11 at 04:36, Jeremias Maerki wrote: Philip, (just for completeness) when printing from Acrobat Reader 5, you've got to take into account the three checkboxes in the print dialog (in Copies and Adjustments) which can distort your print output by scaling the PDF (the function is dependant on the printable areas supplied by the printer drivers). I guess you know that one, but I can't tell from your mail if you took that into account. On 10.03.2003 22:58:21 Philip Semanchuk wrote: Normen, I am using FOP to produce my PDFs and have had the same problem, but I'm 99% sure it has nothing to do with FOP. My left/right margins are specified at exactly 25mm and they appear correct in the PDF. Here are my left/right margin results from a few printer tests. I did all my printing from Acrobat Reader 5: HP Laserjet 5/5M, from Linux with gimp-print driver: 29/27mm HP 5SiMX from NT4 (driver == ???): 29/27mm Xerox DC460 from NT4 (I think): 25/25mm As you can see some of these are off by 10% which I find annoying. We're trying to squeeze information-rich tables onto our pages and I don't like losing 2-3% of my page width to the printer's whims. But I think if we want to solve our problem we'll need to a) figure it out ourselves or b) take it to a newsgroup like comp.periphs.printers. I think FOP is not the culprit. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
can FOP generate .fo from the original XML?
from its command-line options, it appears that FOP can take the original XML and XSL and go straight to PDF. can i have it just generate the .fo file instead? as far as i can see, the -fo option is strictly for referring to the .fo input file. is this correct? rday - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
embedded svg with blank anchor elements causes NullPointerException in 1.0Dev
Hi, The following document processes without error with 0.20.5rc2 but causes a java.lang.NullPointerException with 1.0Dev. I narrowed it down to the fact that the a has 'null' content. Should I submit a bug or is this bad XSL:FO? Thanks, Bruce ?xml version=1.0 encoding=utf-8 ? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master master-name=simple page-height=12cm page-width=20cm margin-top=.5cm margin-bottom=.5cm margin-left=.5cm margin-right=.5cm fo:region-body margin-top=.5cm / fo:region-before extent=.5cm / fo:region-after extent=.5cm / /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=simple fo:flow flow-name=xsl-region-body fo:block font-size=12pt font-family=sans-serif line-height=15pt space-after.optimum=3pt text-align=justify Embedded SVG fo:instream-foreign-object svg xmlns=http://www.w3.org/2000/svg; width=20 height=20 a g /g /a /svg /fo:instream-foreign-object /fo:block /fo:flow /fo:page-sequence /fo:root - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]