title: PDFsharp MigraDoc Fonts not working in Azure Web App
body: <p>VS2017 .NET 4.7</p>
  
  <p>I have written a Web App that creates a PDF, the only related nuget package I have installed is:</p>
  
  <p><strong>PDFsharp-MigrDoc-GDI v1.32.4334</strong></p>
  
  <p>It works fine locally on my development machine.</p>
  
  <p>But when I published it to Azure I get the error:</p>
  
  <p><strong>Font data could not be retrieved.</strong></p>
  
  <p>I have found that I need to include the fonts I use as resources in the code, as they may not be present on Azure.</p>
  
  <p>I have also found this:</p>
  
  <p><a href="https://github.com/empira/PDFsharp/blob/master/src/PdfSharp/Fonts/PlatformFontResolver.cs" rel="nofollow noreferrer">https://github.com/empira/PDFsharp/blob/master/src/PdfSharp/Fonts/PlatformFontResolver.cs</a></p>
  
  <p>But I am starting to get confused.  Which packages do I need?  Do I need PDFsharp, MigraDoc or both?</p>
  
  <p>Any help pointing me in the right direction would help. OR. A simple example "Hello World" PDF (using PDFsharpe/MigraDoc) solution which works on a Azure Web App.</p>
  
  <p>Thanks </p>