Have Pdf-DefaultFontFamily='Arial Unicode MS' set in <ExportSettings>.
Works fine when exporting on local machine. When I deploy and run from azure website, export appears to be in Times New Roman.
Any suggestions?
Regards
Glenn
3 Answers, 1 is accepted
0
Daniel
Telerik team
answered on 10 Apr 2014, 10:40 AM
Hello Glenn,
In order to use a given font it should be installed on the server. If it is not, the PDF engine will fallback to the default one. This is why it works on your machine and not on the Azure hosting.
Regards,
Daniel
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
Thanks. Yes it seems Azure Websites is the issue. I tried changing just to plain 'Arial' thinking that maybe a more standard web safe type font might work, but I still end up with Times New Roman. I have searched to try and find a way to include a font on the server via publishing the website but can't find anything that helps. Any idea how to include a font when publishing an aspx project to Azure Websites?
0
Daniel
Telerik team
answered on 30 Apr 2014, 11:21 AM
Hello Glenn,
I'm not aware of any suitable workaround. I would recommend that you contact Azure technical support and ask them whether there is something you can do in this case or at least you can ask them to provide a list of the supported fonts so that you can decide which one to use.
Regards,
Daniel
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.