Bug 41451 - wrong behavior of multiple dy attributes in tspan element, only MacOSX
Summary: wrong behavior of multiple dy attributes in tspan element, only MacOSX
Alias: None
Product: Batik - Now in Jira
Classification: Unclassified
Component: GVT Text (show other bugs)
Version: 1.8
Hardware: Other Mac OS X 10.4
: P2 normal
Target Milestone: ---
Assignee: Batik Developer's Mailing list
URL: http://www.carto.net/neumann/batiksvg...
Depends on:
Reported: 2007-01-24 06:35 UTC by Andreas Neumann
Modified: 2007-01-27 03:16 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Neumann 2007-01-24 06:35:28 UTC
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:

This is the expected rendering as it works on Linux:

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.

Comment 1 Thomas Deweese 2007-01-26 17:25:50 UTC
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.
Comment 2 Andreas Neumann 2007-01-27 03:16:34 UTC
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 

Thanks a lot!