This bug only happens in MacOSX. It doesn't appear on Linux. I haven't checked Windows, though. In the provided example the staircase effect happens in the wrong direction on MacOSX. The posititve dy values have the effect of shifting the glyphs to the top and not to the bottom as expected. This is a screenshot how it renders on MacOSX: http://www.carto.net/neumann/batiksvgbugs/ multiple_dx_dy_test_in_text_tspan_macosx.png This is the expected rendering as it works on Linux: http://www.carto.net/neumann/batiksvgbugs/multiple_dx_dy_test_in_text_tspan.png This is a very strange bug. Maybe yet another MacOSX, java bug? My Java version on MacOSX10.4 is: java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112) Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing) Thank you for having a look at this problem. Andreas
It is believed that this is a bug in Mac OSX Apparently if you apply a trivial rotation to the element the bug goes away, which makes me think that the problem is in the optimized font renderer.
indeed, I can observe the same behavior. When adding a very small rotation, everything works fine. Are you familiar with bug reporting MacOSX Java bugs? If yes, would you please report this to Apple or Sun or whoever is responsible for Java on MacOSX? I am not familiar and wouldn't know where to bug report this. Thanks a lot!