[ https://issues.apache.org/jira/browse/PDFBOX-2621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14286698#comment-14286698 ]
John Hewson commented on PDFBOX-2621: ------------------------------------- This fixes the ICCProfile. The Maven config for the examples had the resources being filtered, which means they are treated as text files. We don't wan't that. > Files created with CreatePDFA.java are not PDF/A-1b > --------------------------------------------------- > > Key: PDFBOX-2621 > URL: https://issues.apache.org/jira/browse/PDFBOX-2621 > Project: PDFBox > Issue Type: Bug > Components: Utilities, Writing > Affects Versions: 1.8.8, 1.8.9, 2.0.0 > Reporter: Tilman Hausherr > Priority: Blocker > Labels: fail > Fix For: 1.8.9, 2.0.0 > > Attachments: PDFBOX-PDFA.pdf > > > Reported first by Julien on the user mailing list: > {quote} > The file/tmp/test.pdf is not valid, error(s) : > 7.1 : Error on MetaData, xmp should start with a processing instruction > {quote} > It is even worse in 2.0: > {quote} > 2.1.4 : Invalid graphics object, DestOutputProfile isn't a valid ICCProfile: > Invalid ICC Profile Data > 3.1.5 : Invalid Font definition, ArialMT: Symbolic TrueType font has more > than one 'cmap' entry > 3.1.5 : Invalid Font definition, ArialMT: The Encoding should be missing for > the Symbolic TTF > 7.1 : Error on MetaData, xmp should start with a processing instruction > {quote} -- This message was sent by Atlassian JIRA (v6.3.4#6332)