I am having trouble when converting PowerPoint files to a valid, PDF/A 1B compliant PDF.
I am using Aspose.Slides 126.96.36.199. The conversion and validation is performed with the following code:
var presentation = new Aspose.Slides.Presentation(@“test.pptx”);
Aspose.Slides.Export.PdfOptions opt = new Aspose.Slides.Export.PdfOptions();
opt.Compliance = Aspose.Slides.Export.PdfCompliance.PdfA1b;
presentation.Save(@“testpptx.pdf”, Aspose.Slides.Export.SaveFormat.Pdf, opt);
var logStream = new MemoryStream();
var pdfDoc = new Aspose.Pdf.Document(@“testpptx.pdf”);
var isValid = pdfDoc.Validate(logStream, PdfFormat.PDF_A_1B);
The validation returns the value false, and the file log.txt contains the following error:
CIDSet is missing or incomplete in font 'FAAAAJ+Calibri-Light’
Adobe Preflight agrees that the product of conversion (please find attached testpptx.pdf) is not PDF/A 1B compliant. I am also attaching the source file test.pptx.
Is there a bug in Aspose.Slides, or is there a problem with my code? Please let me know. Thank you.
Hello. I would like to know if this issue has been resolved or not?
I have observed your comments. I regret to inform that issue specified here is not resolved yet. We will share details regarding ETA for this issue soon. I request for your patience.
With the latest version of Aspose.Slides for .NET 20.4, you can now have PDF/A-1a compliance support available in API for exporting to PDF. Please read the possible compliance options from this API reference guide link. The following article suggest how to set compliance in PDF.