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

Free Support Forum - aspose.com

Does anyone successfully set the font in a pdf?


I believe this should be a common requirement in pdf creation:

I need to set the font type of text in a pdf file.

Unfortunately, this doesn’t work for me and the aspose support already opened an issue on it.

I cannot imagine that nobody using aspose.pdf uses different font types.

Could anyone provide a working example?

Thank you a lot!

Best regards,


Hello Juergen,

In recent release versions of Aspose.Pdf similar issues related to fonts have been resolved. Many customers use different font files while generating PDF documents and have reported some issues while using them. However, can you please share the code snippet and the resource font file so that we can test the scenario at our end. We apologize for your inconvenience.