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

Free Support Forum - aspose.com

Custom Font when generating pdf from html

Hi.

I am using Aspose.Pdf 17 to generate Pdf’s from HTML.

The HTML file has font family specified in the inline CSS.

This font is not being picked up and just turns out to be Times New Roman and the documentation around this is not helpful.

Please can someone advise how to achieve this.

@rthomas95,
Kindly send us your source HTML document and code. We will investigate your test case in our environment and share our findings with you. Your response is awaited.

Best Regards,
Imran Rafique