Hi,
When I published asp.net core web api to azure app service and using PDFSharp, I am getting below error
"Microsoft Azure returns STATUS_ACCESS_DENIED ((NTSTATUS)0xC0000022L) from GetFontData. This is a bug in Azure. You must implement a FontResolver to circumvent this issue."
you have provided solution on
viewtopic.php?f=2&t=4179But I did not understand when and where to call
GlobalFontSettings.FontResolver = new MyFontResolver();
Please help.
/***************************/
I found an error in my code , I forget to register resolver
GlobalFontSettings.FontResolver = new MyFontResolver();
That means we need to register all fonts that we have used to create a PDF file ? Is this correct?
But I have used PdfSharpCore since I am using .net core 6.0 version.
Thanks.