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

Free Support Forum - aspose.com

Aspose.words for Java: PDF output shows only one FONT always

Hi,

Aspose.words for Java: PDF output shows only one FONT always.

We use the Aspose mailmerge facility to produce PDF output and we notice the resulting PDF always has same font no matter what fonts are selected in the input msword document.

Note: we are using linux environment to run the aspose code and do set the font folder as mentiond below:

FontSettings.setFontsFolder()

Hello
Thanks for your request. Aspose.Words requires all fonts, which are used in the document to be installed in the environment, where you perform conversion. Fonts are read, during converting to PDF, and embedded into the PDF document. If Aspose.Words cannot find some of fonts, it uses another similar font. So please make sure that all fonts which you are using in your document are installed on your PCs.
Best regards,