Radomir Mladenovic created PDFBOX-2746:
------------------------------------------
Summary: 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
Reporter: Radomir Mladenovic
Priority: Blocker
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]