Loading a Font from a font file

The Font.FromFile() static method allows you to instruct DsPdf to use the font loaded from a specific file when rendering text.