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=102218609700001&r=1&w=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]
