You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "Luc Girardin (JIRA)" <ji...@apache.org> on 2013/05/06 14:48:16 UTC

[jira] [Commented] (BATIK-1043) GraphicContext.setRenderingHint() does not accept null as value

    [ https://issues.apache.org/jira/browse/BATIK-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13649706#comment-13649706 ] 

Luc Girardin commented on BATIK-1043:
-------------------------------------

This is related to https://issues.apache.org/jira/browse/XGC-83
                
> GraphicContext.setRenderingHint() does not accept null as value 
> ----------------------------------------------------------------
>
>                 Key: BATIK-1043
>                 URL: https://issues.apache.org/jira/browse/BATIK-1043
>             Project: Batik
>          Issue Type: Bug
>          Components: SVGGraphics2D
>    Affects Versions: 1.8
>            Reporter: Luc Girardin
>
> 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...

--
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: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org