PDF Font Location

Hi there. I have been following steps to embed missing fonts into a PDF document. I have it working correctly, but I need my fonts to pull from a file directory and not the Windows font folder. I see the java method called setLocalFontPaths… but I cannot find the .NET equivalent. Can you please point me to the documentation on how to set the font path in .NET?

Thank you so much!

@Robert343

You may please try using the below code snippet in order to add new font source folder in the FontRepository Font Sources:

FontRepository.Sources.Add(new FolderFontSource("FontFolderPath\\")); 
1 Like