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

Tilman Hausherr resolved PDFBOX-2191.
-------------------------------------

    Resolution: Fixed

Fixed in rev 1608176 for the trunk.

> Identity function not implemented
> ---------------------------------
>
>                 Key: PDFBOX-2191
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2191
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>             Fix For: 2.0.0
>
>         Attachments: PDFBOX-2191-006816.pdf
>
>
> I get this exception with the attached file:
> {code}
> java.lang.ClassCastException: org.apache.pdfbox.cos.COSName cannot be cast to 
> org.apache.pdfbox.cos.COSDictionary
>         at 
> org.apache.pdfbox.pdmodel.common.function.PDFunction.create(PDFunction.java:137)
>         at 
> org.apache.pdfbox.pdmodel.graphics.color.PDSeparation.<init>(PDSeparation.java:73)
>         at 
> org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace.create(PDColorSpace.java:126)
> {code}
> The cause is this:
> {code}
> 28 0 obj
> [ 
> /Separation /PANTONE#20723 /DeviceGray /Identity 
> ]
> endobj
> {code}
> Although the identity function isn't in the spec for the separation 
> colorspace, it is mentioned elsewhere (TransferFunction) so we need it anyway.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to