We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Font doesn't work

I’m trying to use a custom font in a DOCX > PDF but it doesn’t render the font. Do you have examples on how to use custom fonts?

Hi there,


Thanks for your inquiry. You just need to install fonts on the system where you are converting document to Pdf. You can also specify the font’s location before converting document to Pdf. Please refer to the following article. Hope this helps you.
How to Specify True Type Fonts Location

We have tested the scenario using latest version of Aspose.Words for Java 16.12.0 and have not found the shared issue. Please check the attached output Pdf.

Figured it out. the problem was that it was only looking into the system fonts but not the user fonts (in OSX). I was able to add those directories and now it displays perfectly.

Hi there,

Thanks for your feedback. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.