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 2011/01/16 17:14:45 UTC
[jira] Resolved: (PDFBOX-941) extracting Japanese characters gives
garbage
[ https://issues.apache.org/jira/browse/PDFBOX-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler resolved PDFBOX-941.
---------------------------------------
Resolution: Fixed
Fix Version/s: 1.5.0
Assignee: Andreas Lehmkühler
I added the missing ToUnicode mappings from Adobe. They got lost after the reorganisation of those files (see PDFBOX-494).
I downloaded the mapping files from http://opensource.adobe.com/wiki/display/pdfmapping/Downloads. They are licensed under the same terms than the other cmap files.
Furthermore I improved the encoding of Type0 fonts.
Both the text extraction and the rendering now work fine with revision 1059595
> extracting Japanese characters gives garbage
> --------------------------------------------
>
> Key: PDFBOX-941
> URL: https://issues.apache.org/jira/browse/PDFBOX-941
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Affects Versions: 1.4.0
> Environment: java 1.6 on CentOS 64bit Linux and MacOSX 10.6
> Reporter: Liang Qu
> Assignee: Andreas Lehmkühler
> Fix For: 1.5.0
>
> Attachments: 1010gaiyou.pdf
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> when extracting text from this pdf file, I got this exception, and the text extracted was gibberish.
> 44 [main] ERROR org.apache.pdfbox.pdmodel.font.PDFont - Error: Could not parse predefined CMAP file for 'Adobe-Japan1-UCS2'
> PDFBox 1.2.1 worked fine with the same file, I wonder why 1.4.0 could not.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.