I have a docx document using Lucida Sans Unicode, saved using the “embed fonts in the file” option (only chars in the document).
When I convert this document to PDF on Linux using Apose Words, not all characters show up in the PDF.
On Windows, the resulting PDF is correct, probably because this font is installed in the system.
When I extract the ODTTF font from the docx and de-obfuscate it, I can see it contains the characters used in the document.
When I extract the font from the resulting PDF, some characters are missing.
The result differs between versions of Aspose:
until 19.4 all uppercase are converted ok, lowercase only d and r
from 19.4 all lowercase are converted ok, uppercase only M
Example snippet used for converting:
Document doc = new Document("test.docx"); PdfSaveOptions save_options = new PdfSaveOptions(); doc.save("test.pdf", save_options);
test-documents.zip (246.6 KB)