You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "William Fausser (Created) (JIRA)" <ji...@apache.org> on 2012/03/06 12:48:57 UTC

[jira] [Created] (PDFBOX-1245) blahPDFA.pdf returns Invalid Font definition and others, validates with commercial converters

blahPDFA.pdf returns Invalid Font definition and others, validates with commercial converters
---------------------------------------------------------------------------------------------

                 Key: PDFBOX-1245
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1245
             Project: PDFBox
          Issue Type: Bug
          Components: Preflight
    Affects Versions: 1.7.0
         Environment: Linux
            Reporter: William Fausser


home/fausser/blahPDFA.pdf is not valid, error(s):
3.1.2 : Invalid Font definition, The FontName in font descriptor isn't the same as the BaseFont in the Font dictionary
2.3.2 : Unexpected key in Graphic object definition, Unexpected value 'COSName{RelativeColorimetric}' for ri operand.
7.1 : Error on MetaData, Unexpected property definition in one of PDF/A Extension schemas description


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

        

[jira] [Updated] (PDFBOX-1245) blahPDFA.pdf returns Invalid Font definition and others, validates with commercial converters

Posted by "Eric Leleu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Leleu updated PDFBOX-1245:
-------------------------------

    Attachment: preflight_FontName_RI.patch

Patch for errors : 3.1.2 & 2.3.2
                
> blahPDFA.pdf returns Invalid Font definition and others, validates with commercial converters
> ---------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-1245
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1245
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 1.7.0
>         Environment: Linux
>            Reporter: William Fausser
>         Attachments: blahPDFA.pdf, preflight_FontName_RI.patch
>
>
> home/fausser/blahPDFA.pdf is not valid, error(s):
> 3.1.2 : Invalid Font definition, The FontName in font descriptor isn't the same as the BaseFont in the Font dictionary
> 2.3.2 : Unexpected key in Graphic object definition, Unexpected value 'COSName{RelativeColorimetric}' for ri operand.
> 7.1 : Error on MetaData, Unexpected property definition in one of PDF/A Extension schemas description

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

        

[jira] [Commented] (PDFBOX-1245) blahPDFA.pdf returns Invalid Font definition and others, validates with commercial converters

Posted by "Eric Leleu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227247#comment-13227247 ] 

Eric Leleu commented on PDFBOX-1245:
------------------------------------

Hi, 

I have attached a patch for the preflight module to fix errors on the font validation and the graphic object definition.
The Metadata issue is the same problem than the issue PDFBOX-1251, but I have no fix for now.


BR,
Eric
                
> blahPDFA.pdf returns Invalid Font definition and others, validates with commercial converters
> ---------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-1245
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1245
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 1.7.0
>         Environment: Linux
>            Reporter: William Fausser
>         Attachments: blahPDFA.pdf, preflight_FontName_RI.patch
>
>
> home/fausser/blahPDFA.pdf is not valid, error(s):
> 3.1.2 : Invalid Font definition, The FontName in font descriptor isn't the same as the BaseFont in the Font dictionary
> 2.3.2 : Unexpected key in Graphic object definition, Unexpected value 'COSName{RelativeColorimetric}' for ri operand.
> 7.1 : Error on MetaData, Unexpected property definition in one of PDF/A Extension schemas description

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

        

[jira] [Resolved] (PDFBOX-1245) blahPDFA.pdf returns Invalid Font definition and others, validates with commercial converters

Posted by "Eric Leleu (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Leleu resolved PDFBOX-1245.
--------------------------------

    Resolution: Fixed

[PDFBOX-1245 & PDFBOX-1251]
- Ignore the FontName comparison (it is a recommendation of the PDFReference, not a requirement of the PDF/A specification)
- Fix a cast problem to check the RenderingIntent
- Manage an additional format to describe a complexType in a PDFAExtensionSchema
                
> blahPDFA.pdf returns Invalid Font definition and others, validates with commercial converters
> ---------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-1245
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1245
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 1.7.0
>         Environment: Linux
>            Reporter: William Fausser
>         Attachments: blahPDFA.pdf, preflight_FontName_RI.patch
>
>
> home/fausser/blahPDFA.pdf is not valid, error(s):
> 3.1.2 : Invalid Font definition, The FontName in font descriptor isn't the same as the BaseFont in the Font dictionary
> 2.3.2 : Unexpected key in Graphic object definition, Unexpected value 'COSName{RelativeColorimetric}' for ri operand.
> 7.1 : Error on MetaData, Unexpected property definition in one of PDF/A Extension schemas description

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

        

[jira] [Updated] (PDFBOX-1245) blahPDFA.pdf returns Invalid Font definition and others, validates with commercial converters

Posted by "William Fausser (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Fausser updated PDFBOX-1245:
------------------------------------

    Attachment: blahPDFA.pdf
    
> blahPDFA.pdf returns Invalid Font definition and others, validates with commercial converters
> ---------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-1245
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1245
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 1.7.0
>         Environment: Linux
>            Reporter: William Fausser
>         Attachments: blahPDFA.pdf
>
>
> home/fausser/blahPDFA.pdf is not valid, error(s):
> 3.1.2 : Invalid Font definition, The FontName in font descriptor isn't the same as the BaseFont in the Font dictionary
> 2.3.2 : Unexpected key in Graphic object definition, Unexpected value 'COSName{RelativeColorimetric}' for ri operand.
> 7.1 : Error on MetaData, Unexpected property definition in one of PDF/A Extension schemas description

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