Details
-
Bug
-
Status: Reopened
-
Major
-
Resolution: Unresolved
-
1.8
-
None
-
None
Description
A common behaviour is to call Graphics2D.setRenderingHint(key, value) with a null value to reset it to the default. However, the current implementation in org.apache.batik.ext.awt.g2d.GraphicContext does not accept null as value and throws a IllegalArgumentException.
One can find multiple people having been faced with this issue, e.g.:
https://issues.apache.org/jira/browse/BATIK-1030
https://java.net/jira/browse/SVGSALAMANDER-4
http://sourceforge.net/mailarchive/message.php?msg_id=30140056
http://osgeo-org.1560.x6.nabble.com/SVG-export-error-td4320781.html
...
A patch will follow...
Attachments
Attachments
Issue Links
- is related to
-
XGC-83 GraphicContext.setRenderingHint() does not accept null as value
- Reopened
- relates to
-
XGC-83 GraphicContext.setRenderingHint() does not accept null as value
- Reopened
- supercedes
-
BATIK-1030 RenderingHints for AntiAliasing not supported
- Open