EZFontResolver implements the IFontResolver interface that PDFsharp uses.
In your program, you simply call the AddFont method of EZFontResolver. You simply pass the filename of your font or a byte array containing the font data. Continue reading EZFontResolver: a generic font resolver for PDFsharp and MigraDoc