[prev in list] [next in list] [prev in thread] [next in thread] 

List:       batik-dev
Subject:    [jira] [Reopened] (BATIK-1043) GraphicContext.setRenderingHint() does not accept null as value
From:       "Luc Girardin (JIRA)" <jira () apache ! org>
Date:       2013-05-08 7:59:16
Message-ID: JIRA.12646203.1367844350216.286466.1367999956509 () arcas
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/BATIK-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Luc Girardin reopened BATIK-1043:
---------------------------------


Leaving issue open until it has been committed.
                
> 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
> Attachments: batik.patch
> 
> 
> 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic