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

Andreas Lehmkühler resolved PDFBOX-2074.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.8.6

Starting with revisions http://svn.apache.org/r1601451 (trunk) and 
http://svn.apache.org/r1601452 (1.8 branch) PDFBox will skip malformed CMap 
entries.

Thanks for the contribution!

> 4-bytes CMap entry causes exception
> -----------------------------------
>
>                 Key: PDFBOX-2074
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2074
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Juraj Lonc
>            Assignee: Andreas Lehmkühler
>             Fix For: 1.8.6, 2.0.0
>
>         Attachments: PDFBOX-2074_CMap.diff, pdf_with_4B_cmap_entry.pdf
>
>
> I have PDF that has CMap entry consisting of 4 bytes. It is just one entry 
> with that size, other entries have 2-bytes.
> Adobe reader has no problems with that, PDFBox throws Exception.
> I think this Exception should not be thrown. It should be skipped or 
> truncated tu 2 bytes and write warning to log.



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

Reply via email to