M. Steiger created BATIK-1030:
---------------------------------
Summary: RenderingHints for AntiAliasing not supported
Key: BATIK-1030
URL: https://issues.apache.org/jira/browse/BATIK-1030
Project: Batik
Issue Type: Bug
Components: SVGGraphics2D
Affects Versions: 1.7
Reporter: M. Steiger
I am using the following code snippet in my swing drawing routines:
Object oldHint = g.getRenderingHint(RenderingHints.KEY_ANTIALIASING);
...
g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, oldHint);
However, with Batik's SvgGraphics2D, oldHint is null and setting the hint
"null" causes an exception.
So, I would suggest to initially set RenderingHints.VALUE_ANTIALIAS_DEFAULT in
the constructor.
--
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]