Hi
I have a c# mvc application that makes use of pdfsharp.
I want to use the "Book Antiqua" font to create a pdf file. I instantiate an XFont object as follows:
Code:
XFont font = new XFont("Book Antiqua", 10, XFontStyle.Regular);
This works fine on my local machine but when i publish to my server, it seems to use the default microsoft sans font.
My server is Windows Server 2008 and it does have Book Antiqua font files (regular, bold, bold/italic and italic) installed. All these files have full control permissions to the "users" group on my server.
Would anyone know how to fix this?
thanks in advance,
Kapetanios