sample.zip (22.1 KB)
We are facing some issues while converting some RTF files, when I open the file in any word processing software I see that the content is rendered correctly, 3 pages in total and the content is aligned correctly and all tables printed correctly.
we don’t use any option for the aspose conversion practically we only use the following lines:
try {
Document rtfDocument = new Document(rtfFile.getPath());
rtfDocument.save(pdfFilePath);
} catch (Exception exception) {
throw new PdfConverterException.AsposeConversionException(
String.format("Unable to convert file %s to PDF format",
rtfFile.getName()),
conversionRequestEvent, exception);
}
but the output that aspose is offering is not rendered correctly, it created another page and also created some jump lines and the content of the tables are not printed correctly.
Attached you can find the RTF source file and the PDF output with all our different issues.
Please let us know what is happening with this specific conversion.