Failed PDF/A-1b validation after conversion

Hello,



We have a PDF file, which we are converting to PDF/A-1b format using Aspose.Pdf.dll of 17.4.0 version.

The result of conversion does not pass validation for compliance with PDF/A-1b in Preflight of Adobe Acrobat Pro 9.5.5.



Please find the source and converted files in attachment.



Thanks in advance.

Valeriy

Hi Valeriy,


Thanks for contacting support.

I have tested the scenario and have managed to reproduce the problem that converted PDF file does not pass validation for compliance with PDFA/A-1b in Preflight of Adobe Acrobat. For the sake of correction, I have logged a ticket PDFNET-42549 in our issue tracking system. We will further look into the details of this problem and will update you on the status of its resolution within this forum thread. Please be patient and spare us little time. We are sorry for this inconvenience.

Best Regards,

Hi Fahad,

Is there news about ticket PDFNET-42549? When it can be solved?

Best Regards,
Anna

Hi Valeriy,


Thank you for the inquiry. The linked ticket ID PDFNET-42549 is pending for the analysis and not resolved yet. Our product team will investigate it as per the development schedule. We will share details when any further update is available.

Hi, any news on that?

@agiannousaki,

I like to inform that issue has been resolved. Can you please check on your end and share feedback with us.

Hello,
I am having a similar issue with some pdfs, not all. They are converted to PDF/A-1b and then are validated, both using aspose.pdf-20.10 java library and the validation fails. This happens only on Linux, on Windows the validation returns success. I have attached the source code in java and a sample pdf whose convertion fails.

ValidatePDFA.zip (692.0 KB)

@agiannousaki

Would you please also share the details of Linux version that you are using i.e. its name and version. We will test the scenario in specific environment and share our feedback with you accordingly.

The Linux version I am using is
SUSE Linux Enterprise Server 10 (x86_64)

Thank you in advance,
Angeliki

@agiannousaki

We have logged an investigation ticket as PDFJAVA-39912 in our issue management system for the sake of analysis. We will further look into ticket details and keep you posted with the status of its resolution. Please be patient and spare us some time.

We are sorry for the inconvenience.

@agiannousaki

We would like to share with you that the earlier logged ticket has been resolved. A PDF/A document must embed all fonts in use and when some of the fonts are absent - the conversion to PDF/A will not be successful. If the conversion was not successful then the validation will fail too. It looks like that in your Linux atmosphere, the fonts that were used in the document are absent. Usually installing basic MS fonts is enough (http://corefonts.sourceforge.net/).

Also, you could add a local font path by using the option: FontRepository.addLocalFontPath(PATH_TO_FOTNS);
Please see “aspose.log” that was created after running the program for more accurate information.

Pay attention that a first argument of the function: doc.validate(filenameAfter, PdfFormat.PDF_A_1B) it is not a PDF file (as in the program), but an XML log with resulting of validation.

If the error persists, please share the output pdf, conversion log, and validation logs.

1 Like