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.
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.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.