I have a little issue with saving the document to PDF. I build an Aspose model document and save it in both Word and PDF. Word document looks fine while in PDF caret returns appear to be as missing characters(squares). Meanwhile if I save the docx into PDF using Word output document looks just perfect. Also, it looks like the leading space is missed in Aspose produced PDF though it probably appears to be so because of wrong layout caused by squares. Attached are output word document, output PDF document and PDF produced by Word from docx document.
Thank you for reporting this problem to us, I managed to reproduce it on my side. Your request has been linked to the appropriate issue. We will let you know once it is resolved.
As a temporary workaround, you can remove LineFeed characters from your document. For example, see the following code:
Document doc = new Document(@"Test001\in.docx"); doc.Range.Replace(ControlChar.LineFeed, "", false, false); doc.Save(@"Test001\out.pdf");
Thank you for quick reply!
Any estimates when the fix will go to a release?
Thanks for your request. Unfortunately, I cannot provide you an estimate right now. Our developers will analyze the issue and we get back to you with more details.