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#

@ravibaburali

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

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