Hi, Delete this and it works:
<style type="text/css"><![CDATA[ text { font-family: Arial; } ]]></style> Mit freundlichen Grüßen/Regards Chris Peto Freelance System Development, Resource Solutions Founding Partner, Vectoreal ------------------------------------- Germany Mobile: +49 (0) 173 308 7843 Tel:+49(0) 6103 80 21 98 http://www.resource-solutions.de http://www.vectoreal.com SVG editor: http://www.resource-solutions.de/svgeditor.html mailto:[EMAIL PROTECTED] ------------------------------------ Member of: SPARK - SVG Programmers' Application Resource Kit SVG site: http://www.schemasoft.org/svg/main.svg HTML site: http://www.schemasoft.org/ -----Original Message----- From: Andreas Streichardt [mailto:[EMAIL PROTECTED] Sent: Montag, 25. Oktober 2004 16:07 To: [EMAIL PROTECTED] Subject: Text info gets "lost" during conversion from svg=>pdf Hi! i have a svg which contains normal text. Squiggle displays it fine but my real goal is to convert it into a pdf. So i am trying this: java -jar /home/mop/batik-1.5/extensions/batik-rasterizer-ext.jar -m "application/pdf" 1.svg The normal <text> stuff suddenly appears as times (i think so at least) in the pdf. I defined Arial as the global text font in the <defs> section but specifying it as an attribute doesn't help either. The Arial information simply gets lost during the conversion. My svg looks like that: <svg width="770" height="272" xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink"> <defs> <style type="text/css"><![CDATA[ text { font-family: Arial; } ]]></style> </defs> [...] <text x="5" y="19" style="font-size: 16; fill: #761b1b; font-weight: bold">bla</text> <text x="100" y="100" font-family="Arial">PETER</text> [...] i am using: batik-1.5.1 (tried it using cvs as well) jre 1.5 SuSE linux 8.2 i tried it on windows as well. Any ideas? Did i hit a bug, an unimplemented feature or am i just dumb? ;) Kind regards, Andreas Streichardt --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]