pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Leleu (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-1236) Glyph Error in PDF/A that passes comercial validators
Date Fri, 02 Mar 2012 08:27:54 GMT

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

Eric Leleu commented on PDFBOX-1236:


Here is a quick feedback about this issue.

I think the problem comes from the management of the "toUnicode" CMap.

According to the code, this CMap seems to override the Encoding CMap. 
Because the toUnicode doesn't contain the character code and that the Encoding entry is overrode,
the PDFont returns an invalid CID.

I have commented the "toUnicode" CMap initialization and the PDF is considered as a valid

I need to read the PDF Reference about the CID lookup to propose a fix. 
I hope to have enough time this week end to work on it.

> Glyph Error in PDF/A that passes comercial validators
> -----------------------------------------------------
>                 Key: PDFBOX-1236
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1236
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 1.7.0
>         Environment: RedHat
>            Reporter: William Fausser
>            Assignee: Eric Leleu
>         Attachments: CCREADMEPDFA.pdf
> home/fausser/CCREADMEPDFA.pdf is not valid, error(s)  :
> 3.3.1: Glyph error, CID 515 can't be found in the cidToGid map

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


View raw message