I am trying to convert word to pdf using groupdocs-conversion 24.6
In final pdf solid bullets for list are getting converted to box
Convert Using Groupdocs List.pdf (27.8 KB)
headers-text-list-table-link.docx (15.7 KB)
I am trying to convert word to pdf using groupdocs-conversion 24.6
In final pdf solid bullets for list are getting converted to box
Convert Using Groupdocs List.pdf (27.8 KB)
headers-text-list-table-link.docx (15.7 KB)
Please share which OS you’re running the application and version of Java that you’re using.
I am using java version 11.0.15
OS → Darwin Kernel Version 23.6.0
Thank you for the feedback. I have reported this issue in our internal bug-tracker. The issue ID is TOTALJAVA-192. As soon as we have any updates we’ll let you know.
Unfortunately, we do not have updates for this issue. Let me check with the development team for the plans for this issue.
We have reproduced this issue on our side. We found that it works well on Windows OS but does not work properly on Linux and macOS. The issue is going to be passed to the development team for further investigation.
This bullet symbol requires the symbol.ttf font, which is absent on Linux.
So create a folder for additional fonts in the Linux filesystem and copy this font file there.
On the Java side you should specify the font folder.
WordProcessingLoadOptions loadOptions = new WordProcessingLoadOptions();
loadOptions.setPreserveDocumentStructure(true);
ConverterSettings converterSettings = new ConverterSettings();
converterSettings.setFontDirectories(Arrays.asList("your font folder"));
Converter converter = new Converter("headers-text-list-table.docx", loadOptions, converterSettings);
PdfConvertOptions pdfConvertOptions = new PdfConvertOptions();
FileOutputStream fileOutputStream = new FileOutputStream("output.pdf");
converter.convert(() -> fileOutputStream, pdfConvertOptions);
converter.close();
symbol.7z (42.6 KB)
See the attached archive with the ttf file
@vsevolod.orefin We have symbola.ttf file. While running on linux the conversion is correct.
TestDocument-5.pdf (19.7 KB)
Can you please confirm symbola.ttf will also resolve this issue?
Yes @vsevolod.orefin Please confirm from your end once. It will be really helpful. Thank you.
OS used to get correct conversion is rhel Linux