This commit is contained in:
Claudio Schaad 2025-09-06 13:58:26 +02:00
parent 2e5497ac59
commit e31e48ac42

View file

@ -14,8 +14,9 @@ namespace ShiftScheduler.Services
static PdfExportService() static PdfExportService()
{ {
QuestPDF.Settings.License = LicenseType.Community; QuestPDF.Settings.License = LicenseType.Community;
QuestPDF.Settings.FontDiscoveryPaths.Clear(); //QuestPDF.Settings.FontDiscoveryPaths.Clear();
QuestPDF.Settings.FontDiscoveryPaths.Add("fonts"); QuestPDF.Settings.FontDiscoveryPaths.Add("fonts");
QuestPDF.Settings.FontDiscoveryPaths.Add("LatoFont");
} }
public byte[] GenerateMonthlySchedulePdf(List<ShiftWithTransport> shiftsWithTransport) public byte[] GenerateMonthlySchedulePdf(List<ShiftWithTransport> shiftsWithTransport)