You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (Jira)" <ji...@apache.org> on 2019/12/25 11:18:00 UTC

[jira] [Resolved] (PDFBOX-4720) cmap entries "<0000> <0000>" are cut

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

Andreas Lehmkühler resolved PDFBOX-4720.
----------------------------------------
    Fix Version/s: 3.0.0 PDFBox
                   2.0.19
       Resolution: Fixed

[~tilman] Thanks fpr the analysis

> cmap entries "<0000> <FFFF> <0000>" are cut
> -------------------------------------------
>
>                 Key: PDFBOX-4720
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4720
>             Project: PDFBox
>          Issue Type: Bug
>          Components: FontBox, Text extraction
>    Affects Versions: 2.0.17
>            Reporter: Tilman Hausherr
>            Assignee: Andreas Lehmkühler
>            Priority: Major
>              Labels: regression
>             Fix For: 2.0.19, 3.0.0 PDFBox
>
>         Attachments: OLZD4CBMION7ZUV3M62BYWWIQJIS3IA3-reduced.pdf, OLZD4CBMION7ZUV3M62BYWWIQJIS3IA3.pdf
>
>
> Parts of the text extraction is lost in the attached files because of the ToUnicode stream. Entries like
> {code:java}
> <0000> <FFFF> <0000> {code}
> are cut at 256 elements, likely from PDFBOX-4661 and previous ones. While such an entry is incorrect, I think it should still be accepted when it's exactly that one.
> Several such files have popped up in the last regression tests; I analysed only this one but it explains why I saw so many "foreign" differences: the ascii codes are OK, but not the "very special" characters.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org