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

Free Support Forum - aspose.com

Text shift when saving RTF file

Text is shifted to the left when Aspose Words saves to another format, almost as if not all spaces are preserved. An example of the shifted text can be seen in shiftIssue.pdf but the same problem occurs when saving to docx and rtf formats.


Additionally when saving to a pdf spaces are added in between words like Acura so that these words cannot be found when trying to search within the pdf. Cutting and pasting some of these words like Acura or Page will show extra space(s) in between letters.


Code used to save
File inFile = new File();

Document doc = new Document(inFile.getAbsolutePath());
doc.save(outFile.getAbsolutePath());


Update:
I’ve noticed the same text shift (as produced by Aspose Words) can be replicated in MS Word when setting Chinese (PRC) as the default language. Possibly other languages do the same.
Hi there,

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

We apologize for your inconvenience.