I’m creating png documents based on docx templates. After update from 13.3.0 to aspose.words 15.8.0 (current stable version) we are not able anymore to convert more than 1 sequence of white spaces.
i.e: begin white 3 spaces and 8 spaces after it.
will print: begin 3 spaces and 8 spaces after it.
You can observe on attached pngs the price descriptions and burritos/sandwiches. It has white spaces before begin the “real” words char sequence.
This new version contain some feature to “fix” white spaces sequences?
if yes I’ll need a way to disable it.
Let me know if you guys need more info or some examples.
I’ve executed a simple code to reproduce it. You can see it bellow:
License license = new License(); license.setLicense( "Aspose.Words.lic" ); Document doc = new Document("template.docx"); ImageSaveOptions options = new ImageSaveOptions(SaveFormat.PNG); options.setResolution(138); doc.save("result.jpg", options);
Results will be different between aspose versions 15 and 13. Follow the result.jpg images attached with his respective version file description.
During convert process (old version 13) Fonts didn’t work as expected (you can see on attached file) when we migrate from windows to linux env. This was the main motivationto buy a new key and start to use the current version 15 who offers support for Unix based SO fonts and worked as expected although another important feature, write white spaces, stopped to work since then.
- Additional info.
Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-62-generic x86_64)
java version “1.8.0_51”
Java™ SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot™ 64-Bit Server VM (build 25.51-b03, mixed mode)
Let me know if you guys need any extra information.