Re: Export Document doesn't work when the project is hosted inside Azure cloud
Posted: Tue Oct 23, 2018 7:50 pm
Hello, Jansen.
It seems that the issue is connected with getting font file on Azure.
We have created the FontInfoCreator utility.
This project creates a font info file for the PDF export that allows using the fonts on Azure Web Sites and other servers that have a restriction on access to GDI+.
To use the font info file you should add the information about the necessary fonts to FontsInfoStore with the following:
Stimulsoft.Report.Export.FontsInfoStore.LoadFontInfoToStore("Arial", "Arial.fiz");
This utility allows of getting these files data for the export without the need to use GDI.
Thank you.
It seems that the issue is connected with getting font file on Azure.
We have created the FontInfoCreator utility.
This project creates a font info file for the PDF export that allows using the fonts on Azure Web Sites and other servers that have a restriction on access to GDI+.
To use the font info file you should add the information about the necessary fonts to FontsInfoStore with the following:
Stimulsoft.Report.Export.FontsInfoStore.LoadFontInfoToStore("Arial", "Arial.fiz");
This utility allows of getting these files data for the export without the need to use GDI.
Thank you.