I’m performing HTML to PDF conversion on an Azure Function app running .NET 8 on Linux. The process always fails. The following message appears:
No font was found. To resolve this problem, you can set up your custom se…...Add(new MemoryFontSource(bytes)); But...FontRepository FontRepository.Sources.Add(new MemoryFontSource(fontBytes));...