I am currently using the Syncfusion.Pdf library to convert existing PDF documents to the PDF/A-2b standard using the ConvertToPDFA(PdfConformanceLevel.Pdf_A2B) method.
However, I am facing an issue with validation. When I check the loadedDocument.Conformance property after saving, it returns Pdf_A2B. But when I test the same file in external industry-standard validators (such as Xodo or VeraPDF), the file fails compliance with the following error:
"The font program is not embedded"
It seems that loadedDocument.Conformance only checks the metadata flag, but does not perform a structural analysis of the generated file.
Which specific class or tool should I use to perform a full ISO-compliant validation (Preflight) within my C# code to ensure the file is 100% compliant?