Hi, David!
Thanks for the feedback.
DavidM wrote:
Your suggestion works locally. I installed the Font Awesome font on my PC and when I run my webapp locally (localhost) the migradoc document rendered as a pdf includes the Font Awesome icons.
Good sign. It shows the font is in a supported format.
DavidM wrote:
The Font Awesome font is installed on the Server and IIS AppPool for the app and IIS IUSRS has read/execute permissions to the font file.
PDFsharp does not read the file directly, so access for IIS IUSRS should not be required.
It most likely is a matter of permissions/privileges. If you create an AppPool with "Local System" the app should run on the server. This is just meant as a test and not recommended for production use.
I have no idea which privileges will be needed by the AppPool to make it run with minimum privileges.
Using the WPF build and the IFontResolver is my recommendation to work around this privileges issue. Make sure that your IFontResolver supports all fonts needed by your documents.