[prev in list] [next in list] [prev in thread] [next in thread] 

List:       batik-dev
Subject:    Re: font problem when changing to jdk1.4
From:       Thomas DeWeese <Thomas.DeWeese () Kodak ! com>
Date:       2004-08-26 0:57:03
Message-ID: 412D355F.9080904 () Kodak ! com
[Download RAW message or body]

marcus.kalthoff@email.de 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: batik-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-dev-help@xml.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic