We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

DOC to PDF to PDF\A error


We are using the latest Aspose.Words for .NET (16.12.00). We are generating a PDF from DOC and if required, we also convert the PDF to PDF\A.

Unfortunately, this causes some problems in the file, the letters seem to merge together in some places.

This is the code we use to convert PDF to PDF\A:

var pdfaConvert = new Aspose.Pdf.Document(outStream);
pdfaConvert.Convert(new MemoryStream(), PdfFormat.PDF_A_1B, ConvertErrorAction.Delete);
var pdfaStream = new MemoryStream();

When not converting to PDF\A, the file turns out fine.

I’m also attaching the DOC file and the converted PDF\A file (page one, bottom of page and page two, bottom of page).

Is there any way to prevent this from happening?

Hi Katja,

Thanks for your inquiry. You are facing this issue while saving the output Pdf (generated by Aspose.Words) to PDF/A-1b using Aspose.Pdf. In your case, we suggest you please use Aspose.Words to save Word document to Pdf with compliance PDF/A-1b. Hope this helps you. We have attached the output Pdf with this post for your kind reference.

Document doc = new Document(MyDir + "ORIGINAL_FILE.doc");
PdfSaveOptions options = new PdfSaveOptions();
options.Compliance = PdfCompliance.PdfA1b;
doc.Save(MyDir + @"Out v16.12.0.pdf", options);


Thank you for your answer, the issue is gone.