Bug 41451 - wrong behavior of multiple dy attributes in tspan element, only MacOSX
wrong behavior of multiple dy attributes in tspan element, only MacOSX
Status: ASSIGNED
Product: Batik - Now in Jira
Classification: Unclassified
Component: GVT Text
1.8
Other Mac OS X 10.4
: P2 normal
: ---
Assigned To: Batik Developer's Mailing list
http://www.carto.net/neumann/batiksvg...
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2007-01-24 06:35 UTC by Andreas Neumann
Modified: 2007-01-27 03:16 UTC (History)
0 users



Attachments

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:
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
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 
this.

Thanks a lot!