[EMAIL PROTECTED] wrote:
we switched from jdk1.3.1_11 to j2sdk1.4.2_05 using the same batik1.5.jar on Solaris 5.8. Now the transformed text-images where no specific font is used look different. I thought, when not defining a font, the default will always be "Arial, Helvetica, sans-serif" independently of the jdk.
Text rendering did change with JDK 1.4 and there are a number of cases where this is _really_ noticeable with Batik. I would also strongly encourage upgrading Batik to 1.5.1 (although I don't think this would have a direct bearing on this issue).
Is this a batik issue or can it be, that it has something to do with AWT-Font problems meantioned in the j2sdk1.4.2 bug show?
Example svg: <?xml version="1.0" encoding="ISO-Latin-1"?> <svg:svg height="15px" width="165px" xmlns:iproject="http://iproject/" xmlns:svg="http://www.w3.org/2000/svg"> <svg:rect height="15px" style="fill:#EBEBEB;" width="165px" x="0" y="0"/> <svg:text fill="#000000" font-size="10px" style="shape-rendering:crispEdges;" x="16px" y="10px">Hello World</svg:text></svg:svg>
Thanx in advance for your help Marcus
--------------------------------------------------------------------- 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]
