[
https://issues.apache.org/jira/browse/PDFBOX-5305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17432927#comment-17432927
]
Michael Klink commented on PDFBOX-5305:
---------------------------------------
Ah, ok.
Here PDFBox finds fault with the *Metadata* stream of a font having a *Filter*.
This most likely is due to the original version of the PDF specification ISO
19005-1:2005 containing this requirement:
{quote}Metadata object stream dictionaries shall not contain the Filter key.
{quote}
It is at the end of a longer paragraph starting with
{quote}The document catalog dictionary of a conforming file shall contain the
Metadata key. The metadata stream that forms the value of that key shall
conform to XMP Specification.
{quote}
It is not clear here, though, whether the requirement at the end of that
paragraph refers only to Metadata streams in the document catalog or to
arbitrary Metadata streams.
PDFBox validation implements this requirement as referring to _arbitrary
Metadata streams_, in particular also to those of fonts.
Meanwhile, though, that paragraph (actually the whole subclause it is contained
in) has been replaced by the TECHNICAL CORRIGENDUM 2, and in the new form the
requirement in question says:
{quote}The metadata stream dictionary, which is the value of the Metadata key
in the document catalog dictionary, shall not contain the Filter key.
{quote}
Thus, this indeed is a bug, the corrigenda of the specification seem not to
have been (completely) implemented.
> Pdf-A/1b Validation
> -------------------
>
> Key: PDFBOX-5305
> URL: https://issues.apache.org/jira/browse/PDFBOX-5305
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.24
> Reporter: Giuseppe Giordano
> Priority: Major
> Attachments: pdfA.pdf
>
>
> Good Morning,
> I've this PDF/A-1B generated with Adobe Livecycle, but validating it I obtain
> this error:
>
> Error code : 1.2.7 | Dettagli : Body Syntax error, HQDKMD+MyriadPro-Regular:
> Filter specified in font file metadata dictionnary
>
> My code is the same of
> https://pdfbox.apache.org/1.8/cookbook/pdfavalidation.html
> Can you help me?
> Thanks
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]