[
https://issues.apache.org/jira/browse/BATIK-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicolas Peters updated BATIK-1027:
----------------------------------
Attachment: Java7WithLabelRotationWorkaround.png
We have found a possible workaround. We add a rotate transformation with a very
small value (0.001 in our case) to all text elements. I guess, this somehow
avoids that some kind of optimized rendering is used and now the text elements
are rendered correctly.
> Batik text anti-aliasing is partially broken on Java 1.7
> --------------------------------------------------------
>
> Key: BATIK-1027
> URL: https://issues.apache.org/jira/browse/BATIK-1027
> Project: Batik
> Issue Type: Bug
> Components: GVT Text
> Affects Versions: 1.8
> Environment: Operating System: All
> Platform: All
> Reporter: Joël Bourquard
> Assignee: Batik Developer's Mailing list
> Attachments: all text tags with
> text_rendering=optimizeLegibility.PNG, correctLabelsJava6.png,
> Java7WithLabelRotationWorkaround.png, original.svg, screenshot.png,
> testcase.svg, wrongLabelsJava7.png
>
>
> Text that is rendered on top of a semi-transparent element will be rendered
> incorrectly if the JRE is Java 1.7. On Java 1.6 this issue doesn't occur.
> I have attached a very simple testcase that demonstrates this issue. On Java
> 1.6 the two "Hello World" texts are identical. On Java 1.7 the anti-aliasing
> for the upper text is broken.
> I was also able to reproduce the issue on batik-svn-12-10-01.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]