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,
Hi Fahad,
Is there news about ticket PDFNET-42549? When it can be solved?
Best Regards,
Anna
Hi Valeriy,
Hi, any news on that?
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)
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
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.
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.