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 (Resolved) (JIRA)" <ji...@apache.org> on 2012/01/29 10:44:10 UTC

[jira] [Resolved] (PDFBOX-1204) OCR generated PDF/A has problems with preflight validation

     [ https://issues.apache.org/jira/browse/PDFBOX-1204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Leleu resolved PDFBOX-1204.
--------------------------------

    Resolution: Fixed

Hi,

I thank you for the link.
It helped me a lot to find the fix.

As you have said, the problem is the partial font embedded by the OCR process.
When a glyph was used in a text, an exception was thrown when the glyph was missing or when the glyph width was inconsistent. This exception should not be thrown when the Rendering Mode is set to 3. I added this condition. 

I fixed the XMP error too.

Now the boyd.pdf file is considered as a valid PDF/A-1b.


BR,
Eric
                
> OCR generated PDF/A  has problems with preflight validation
> -----------------------------------------------------------
>
>                 Key: PDFBOX-1204
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1204
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 1.7.0
>            Reporter: William Fausser
>            Assignee: Eric Leleu
>         Attachments: boyd.pdf
>
>
> /home/fausser/boyd.pdf is not valid, error(s):
> 2.1.2:Invalid Graphis object, The Info entry of a OutputIntent dictionary is missing
> 3.3.1: Glyph error, CID 95 is missing from the Composite Font format "HiddenHorzOCR"
> 7.2:Error on MetaData, ModificationDate present in the document catalog dictionary doesn't match with XMP information
> Passes as a valid PDF/A with commercial validators Adobe Acrobat 10.x and Callas

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