[
https://issues.apache.org/jira/browse/PDFBOX-2746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated PDFBOX-2746:
------------------------------------
Affects Version/s: 2.0.0
> PDPageContentStream.saveGraphicsState() saves wrong nonStrokingColor and
> throws an exception
> --------------------------------------------------------------------------------------------
>
> Key: PDFBOX-2746
> URL: https://issues.apache.org/jira/browse/PDFBOX-2746
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: Radomir Mladenovic
> Priority: Blocker
> Fix For: 2.0.0
>
>
> Method PDPageContentStream.saveGraphicsState() has the following code:
> {quote}
> if (!nonStrokingColorSpaceStack.isEmpty())
> \{
> nonStrokingColorSpaceStack.push(strokingColorSpaceStack.peek());
> }
> {quote}
> Notice peek of *strokingColorSpaceStack* instead of
> *nonStrokingColorSpaceStack*. Needless to say it also throws an exception if
> strokingColorSpaceStack was not set.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]