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

Free Support Forum - aspose.com

Convert RTF to PDF scrambles up document

Hello,


When converting a rtf document to pdf using Aspose Words the resulting pdf document is scrambled up.
Converting the same rtf document with itext or Word all goes well.

Using Aspose.Words 15.5.

I use following instructions:

Stream s = new MemoryStream(sourceDoc);
Document pdfDoc = new Document(s);
MemoryStream ms = new MemoryStream();
var saveOptions = new PdfSaveOptions {PageCount = pdfDoc.PageCount };
pdfDoc.Save(ms, saveOptions);

Attached the rtf, the pdf converted with Aspose, the pdf converted with itext and the pdf converted with Word.

Hope this can be fixed.
Greetings,
PP

Hi Patrick,

Thanks for your inquiry. I
have tested the scenario and have managed to reproduce the same issue at
my side. For the sake of correction, I have logged this problem in our
issue tracking system as WORDSNET-12084. I have linked this forum thread
to the same issue and you will be notified via this forum thread once
this issue is resolved.

We apologize for your inconvenience.

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


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

Hello,


I tried the fix (now using version 15.8).
The result is better, but still not ok.
I attached the resulting pdf.
Can this case be reopened and fixed completely?

Greetings,
PP

Hi Patrick,

Thanks for your inquiry. I have tested the scenario and output looks good to me. Could you please share the screenshots of problematic sections of output document? We will then provide you more information on this.

Please note that Aspose.Words mimics the same behavior as MS Word does. If you convert your document to Pdf using MS Word, you will get the same output.