This is a migrated thread and some comments may be shown as answers.

Pdf-DefaultFontFamily='Arial Unicode MS' only working on local machine

3 Answers 314 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Glenn
Top achievements
Rank 1
Glenn asked on 08 Apr 2014, 07:41 AM
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

Sort by
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.

 
0
Glenn
Top achievements
Rank 1
answered on 29 Apr 2014, 10:17 PM
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.

 
Tags
Grid
Asked by
Glenn
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Glenn
Top achievements
Rank 1
Share this question
or