You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Eric Leleu (Commented) (JIRA)" <ji...@apache.org> on 2012/03/02 09:27:54 UTC

[jira] [Commented] (PDFBOX-1236) Glyph Error in PDF/A that passes comercial validators

    [ 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:
------------------------------------

Hi,

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 PDF/A.

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.

BR,
Eric
                
> 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