W3C home > Mailing lists > Public > www-svg@w3.org > May 2003

Re: Incompatibility between the Adobe SVG Viewer and Apache's Batik (and how to resolve it)

From: Jim Ley <jim@jibbering.com>
Date: Sat, 17 May 2003 09:57:18 -0000
To: www-svg@w3.org
Message-ID: <ba50ue$468$1@main.gmane.org>


"Shlomi Fish" <shlomif@vipe.stud.technion.ac.il> wrote in message
news:Pine.LNX.4.33L2.0305170949360.8972-100000@vipe.technion.ac.il...
> As can be seen there, the SVG is displayed differently with the Adobe SVG
> viewer and the Apache Batik one. In Adobe the text "STOP" is vertically
> aligned to the sign in the center and in Batik it is aligned more to the
> top. This SVG is taken from the book "SVG Programming: The Graphical Web"
> where it comes as the first example.
>
> I am using Batik-1.5 Beta. What can I do to resolve it?

The dominant-baseline attribute is handled differently in the two browsers,
I've not checked the spec enough to see which is correct, however removing
the attribute (which is presumably not necessary for the simple sign) will
give you identical rendering.

Jim,
Received on Saturday, 17 May 2003 05:57:20 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:25 GMT