You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2015/04/04 22:08:33 UTC

[jira] [Updated] (PDFBOX-2746) PDPageContentStream.saveGraphicsState() saves wrong nonStrokingColor and throws an exception

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