I am using the code below to convert a PowerPoint presentation to PDF/A. Verifying the end-results in Adobe Preflight shows the error: “CIDset in subset font is incompatible”
using (var sourceStream = new MemoryStream(sourceBytes))
{
using (var asposePresentation = loadOptions == null
? new Aspose.Slides.Presentation(sourceStream)
: new Aspose.Slides.Presentation(sourceStream, loadOptions))
{
using (var destinationStream = new MemoryStream())
{
var pdfOptions = new Aspose.Slides.Export.PdfOptions
{
Compliance = Aspose.Slides.Export.PdfCompliance.PdfA1b,
EmbedFullFonts = true,
EmbedTrueTypeFontsForASCII = true,
SaveMetafilesAsPng = true,
ShowHiddenSlides = true,
TextCompression = Aspose.Slides.Export.PdfTextCompression.None
};
asposePresentation.Save(destinationStream, Aspose.Slides.Export.SaveFormat.Pdf, pdfOptions);
return destinationStream.ToArray();
}
}
}
Please see attachment for the source and destination files, along with a screenshot of Preflight report.
Files.zip (174.2 KB)