I am evaluating your Document conversion and PDF capabilities and have come across an issue trying to convert an email to pdf and then onto pdf/a.
The final pdf/a-2b file fails the conformance check in acrobat pro dc.pdfa.PNG (41.4 KB)
Is there anything that can be done to solve the glyph issue? It is still using the arial font when I have tried to substitute it with ArialMT but that does not seem to work either.
The code i am using is
var fileInfoSourcePdf = new FileInfo(@“C:\Docs\Test Email.pdf”);
var fileInfoFinalPdfA = fileInfoSourcePdf.AppendToFileName("_PdfA2B");
var logFile = fileInfoSourcePdf.AppendToFileName("_Log").ChangeExtension(“xml”);
FontRepository.Substitutions.Add(new SimpleFontSubstitution(“Arial”, “ArialMT”));
Aspose.Pdf.Document doc = new Aspose.Pdf.Document(fileInfoSourcePdf.FullName);
doc.Convert(logFile.FullName, PdfFormat.PDF_A_2B, ConvertErrorAction.Delete);
doc.Save(fileInfoFinalPdfA.FullName);
Test Email.zip (366.6 KB)