We have a word document which is being generated with bad formatting in Linux when using Aspose.Words for Java, can you suggest a resolution?
Original document looks like this:
image.png (3.7 KB)
Linux output:
output-linux.pdf (28.5 KB)
Windows output:
output-windows.pdf (49.9 KB)
Please note that Aspose.Words requires TrueType fonts when rendering document to fixed-page formats (JPEG, PNG, PDF or XPS). You need to install fonts that are used in your document on the machine where you are converting documents to PDF. Please refer to the following articles:
Using TrueType Fonts
Manipulating and Substitution TrueType Fonts
this was the problem. Thanks
Thanks for your feedback. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.