[
https://issues.apache.org/jira/browse/PDFBOX-2744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14394383#comment-14394383
]
ASF subversion and git services commented on PDFBOX-2744:
---------------------------------------------------------
Commit 1671060 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1671060 ]
PDFBOX-2744: Add validation check for setNonStrokingColor and setStrokingColor;
replace IOException with IllegalStateException and IllegalArgumentException
where appropriate; fix one javadoc error in "setNonStrokingColor(double g)"
> Add validation check for setNonStrokingColor and setStrokingColor
> -----------------------------------------------------------------
>
> Key: PDFBOX-2744
> URL: https://issues.apache.org/jira/browse/PDFBOX-2744
> Project: PDFBox
> Issue Type: Improvement
> Components: Writing
> Affects Versions: 1.8.9, 1.8.10, 2.0.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
>
> Validate parameters -and check that the correct colorspace is active.
> Currently this isn't done, see here, where a user was able to call a method
> meant for DeviceGray although the selected colorspace was Separation:-
> https://mail-archives.apache.org/mod_mbox/pdfbox-users/201504.mbox/%3C551C8867.1000805%40gmail.com%3E
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]