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

Free Support Forum - aspose.com

Using custom font in aspose html to pdf in latest version

I need help to add custom font to HTML test to PDF using Aspose pdf for C#


You can copy font files to a directory, and then add this directory to the font folder list as follows:

// connect custom font directory
FolderFontSource fs = new FolderFontSource(@"path\to\my\folder");