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 2019/09/28 11:18:00 UTC

[jira] [Commented] (PDFBOX-4661) Regression No Unicode mapping with Identity-H font

    [ https://issues.apache.org/jira/browse/PDFBOX-4661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16939960#comment-16939960 ] 

Tilman Hausherr commented on PDFBOX-4661:
-----------------------------------------

Very close - rather PDFBOX-4550 or related issues, the ToUnicode stream has this:
{noformat}
<38ff><39ff><c6a9>{noformat}
That is more than 255. PDFBox thinks this is a corrupt stream and aborts.

> Regression No Unicode mapping with Identity-H font
> --------------------------------------------------
>
>                 Key: PDFBOX-4661
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4661
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.16, 2.0.17
>            Reporter: Daniel Lowe
>            Priority: Major
>         Attachments: KR1020067006547.pdf
>
>
> In v2.0.16 or v2.0.17 running the following code. The expected output is obtained in v2.0.15 and earlier.
> PDFTextStripper stripper = new PDFTextStripper();
>  PDDocument doc = PDDocument.load(new File("KR1020067006547.pdf"));
>  stripper.getText(doc);
> results in errors like the following and missing characters
> Sep 27, 2019 11:49:37 AM org.apache.pdfbox.pdmodel.font.PDType0Font toUnicode
> WARNING: No Unicode mapping for CID+17679 (17679) in font LHXXBJ+¹ÙÅÁ-Identity-H
> Sep 27, 2019 11:49:37 AM org.apache.pdfbox.pdmodel.font.PDType0Font toUnicode
> WARNING: No Unicode mapping for CID+16131 (16131) in font LHXXBJ+¹ÙÅÁ-Identity-H
> Sep 27, 2019 11:49:37 AM org.apache.pdfbox.pdmodel.font.PDType0Font toUnicode
> WARNING: No Unicode mapping for CID+14802 (14802) in font LHXXBJ+¹ÙÅÁ-Identity-H
> This change is likely related to PDFBOX-4549



--
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