Font not created properly in Azure App service RRS feed

  • Question

  • I tried to create a System.Drawing.Font for “Blackadder ITC” using ASP.NET Web application as Azure App service. It creates “Microsoft Sans Serif” in Azure environment, but working fine in local machine.

    Please refer the below code snippet, which I tried in my web application:

      System.Drawing.Font font = new System.Drawing.Font("Blackadder ITC", 10);
     throw new Exception(font.Name);

    Is there any limitations for using fonts in Azure App service?

    Can you please suggest how to use the above mentioned font (“Blackadder ITC”) in Azure App service? 

    Tuesday, November 20, 2018 9:07 AM

All replies

  • Custom fonts are not supported on general App Service due to Sandbox limitations:

    You may use Windows Containers on App Service which do support fonts:

    Oded Dvoskin

    Tuesday, November 20, 2018 5:26 PM