After installing PDFsharp-MigraDoc 6.1.1 from NuGet code
static ReportTemplateBase()
{
GlobalFontSettings.FontResolver = new NewFontResolver();
}
Throws error
The type or namespace name ‘NewFontResolver’ could not be found (are
you missing a using directive or an assembly reference?)
How to fix it?
Times New Roman and Arial .ttf files are copied to Debian to /usr/share/fonts/winfonts directory. How to use fonts in Debian from this directory for pdf creation.
Font files can copied to other directories if this helps.