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

Free Support Forum - aspose.com

Converting CRLF while exporting to PDF

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);

Best regards,

Hi Alexey,
Thank you for quick reply!
Any estimates when the fix will go to a release?

Hi Alex,
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.
Best regards,

The issues you have found earlier (filed as WORDSNET-5167) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.