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 2021/11/26 16:24:00 UTC
[jira] [Resolved] (PDFBOX-5324) support get unicode from embedded TrueTypeFont cmap
[ https://issues.apache.org/jira/browse/PDFBOX-5324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr resolved PDFBOX-5324.
-------------------------------------
Resolution: Fixed
Snapshot available here:
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.25-SNAPSHOT/
Thanks for the report and the patch. I modified it today for a related issue, please comment if you see any troubles. I didn't use the test code, I have added the files to my personal test repository files for text extraction. If I find another file (with no copyright) during our "big" regression tests I'll add it in the public repository.
> support get unicode from embedded TrueTypeFont cmap
> ----------------------------------------------------
>
> Key: PDFBOX-5324
> URL: https://issues.apache.org/jira/browse/PDFBOX-5324
> Project: PDFBox
> Issue Type: Improvement
> Components: Text extraction
> Affects Versions: 2.0.24, 3.0.0 PDFBox
> Reporter: qiang Liu
> Assignee: Tilman Hausherr
> Priority: Major
> Labels: patch
> Fix For: 2.0.25, 3.0.0 PDFBox
>
> Attachments: 0001-support-get-unicode-form-font-cmap.patch, 0002-support-get-unicode-form-font-cmap.patch, fp-jiangshu-public.pdf
>
>
> for some special pdf files like the one I attached, some text is missing from text extraction. after some debug and tests, found out that this can be fixed if we use Cmap from TrueTypeFont too.
> I will submit a patch soon
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org