You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Daniel Lowe (Jira)" <ji...@apache.org> on 2019/09/27 11:11:00 UTC

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

Daniel Lowe created PDFBOX-4661:
-----------------------------------

             Summary: 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.17, 2.0.16
            Reporter: Daniel Lowe
         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