[
https://issues.apache.org/jira/browse/PDFBOX-940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128901#comment-13128901
]
Arjohn Kampman commented on PDFBOX-940:
---------------------------------------
I'm also seeing "Could not parse predefined CMAP file for 'Adobe-Identity-UCS'"
error message on some files. Debugging this error with the current trunk
(r1184806), I noticed that PDCIDFont.determineEncoding() starts with a
cidSystemInfo value "Adobe-UCS-0" and replaces this with "Adobe-Identity-UCS"
in the else-if-statement. This triggers the error message because there is no
such cmap file.
However, considering that the first if-statement maps any cidSystemInfo values
containing "Identity" to "Identity-H", I'm wondering: should "Adobe-UCS-0" be
mapped to "Identity-H" rather than "Adobe-Identity-UCS"?
> [pdmodel.font.PDFont] Error: Could not parse predefined CMAP file for
> 'PDFXC-Indentity0-0'
> -------------------------------------------------------------------------------------------
>
> Key: PDFBOX-940
> URL: https://issues.apache.org/jira/browse/PDFBOX-940
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.4.0
> Environment: Tomcat 6.0.18, windows server 2003, pdfbox-1.4.0.jar
> Reporter: krishna
> Attachments: gen_preview1.png, oob_pdf.pdf, pdf fonts.JPG, pdf
> fonts1.JPG, pdf fonts2.JPG, pdf properties1.JPG, pdf properties2.JPG, pdf
> properties3.JPG
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Hi,
> when i am trying to upload a pdf document the following error is thrown in
> the tomcat.. i am using pdfbox-1.4.0.jar..
> 17:29:33,465 ERROR [pdmodel.font.PDFont] Error: Could not parse predefined
> CMAP file for 'PDFXC-Indentity0-0'
> please find the solution
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira