Re: SVG to PDF: Font is not the same in the PDF
Interesting. I didn't know that the PDF transcoder is now included with Batik. Anyway, that version there comes from the redesign. It's not the same code you produce PDF with when you work with FOP 0.20.5*. I can only imagine that something strange happens because you may have both older and newer FOP code in your classpath because in the current CVS code of the PDF transcoder I don't have any problems with fonts smaller than 10pt. If you use FOP only to convert SVG to PDF I suggest you keep watch on what's happening in the redesign. The PDF transcoder is nearing a release and has more features than the SVG support in FOP 0.20.5. And, of course, it would be nice to have some feedback on the code. On 04.04.2003 09:51:51 Hans Stoessel wrote: I've installed the newest version of Batik and this version includes a pdf-transcoder.jar. If this jar is included in my JBuilder project, the error occurs, I mean, the fonts are not the same like in the SVG file. If I removed this jar, it works fine... Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SVG to PDF: Font is not the same in the PDF
I cannot reproduce the problem. Font sizes below 10pt with the Windows Arial font get displayed fine on my machine. I saw, however, that the text got stroked when only running the Batik rasterizer. In my other tests I loaded my userconfig.xml in which case the text got output as text, not as graphics. The text looked good in both cases, though. Try loading the userconfig.xml before you do the first SVG to PDF conversion. See: http://xml.apache.org/fop/embedding.html#Basics If this doesn't help, can you post a little SVG and the resulting PDF to demonstrate? On 02.04.2003 14:53:06 Hans Stoessel wrote: I have a SVG file. In this file I use the font 'Arial' with different font heights. Then, I convert this SVG into PDF, but now I have a problem. The bigger fonts are OK (also Arial in the PDF), but the small (10pt) is another font. snip/ What could be wrong? I use FOP 0.20.5rc2 and Windows 2000. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]