We are using a Linux machine with Java 1.8.161 and aspose Words 19.2 (also tried the more recent 19.11) to convert docx documents to PDF. The font used is arial.
The problem we have is with the docx default Word bulleted list.
This list is not converting properly on the Linux machine, on a development Macbook it is not working properly either. On a Windows development machine everything is fine.
Guided by https://docs.aspose.com/display/wordsjava/True+Type+Fonts#TrueTypeFonts-HowAspose.WordsUsesTrueTypeFonts we have installed the msttcorefonts and even moved all the files from c:/Windows/fonts from a working development laptop to the Linux machine.
When we removed all the files in /usr/share/font/msttcore exceptions where thrown, that is how we determined that those files were used. We moved the Windows fonts manually to that location.
The first time we noticed the bulleted list error is when we upgraded from 14.8.0-jdk16 to 19.2
I will attach 3 files in a ZIP: The input .docx file, the macbook out PDF and linux out PDF when running below code:
Document doc = new Document(dir + "example_document.docx"); doc.save(dir + "out.pdf");
bulleted_list_examples.zip (45.4 KB)
Hopefully you can advice me how to fix this problem,