title: Rotativa for PDF getting System.Exception: QFont::setPixelSize: Pixel size <= 0
body: <p>I am getting </p>
  
  <blockquote>
    <p>System.Exception: QFont::setPixelSize: Pixel size &lt;= 0 </p>
  </blockquote>
  
  <p>while downloading pdf in portrait mode as below:</p>
  
  <pre><code>       var pdf = new Rotativa.ActionAsPdf("PdfPartial", new { id = id, pid = pid })
              {
                  FileName = "AFE.pdf",
                  PageOrientation = Rotativa.Options.Orientation.Portrait,
                  PageSize = Rotativa.Options.Size.A4                   
              };
  </code></pre>
  
  <p>While it's working well with landscape mode as below :</p>
  
  <pre><code>var pdf = new Rotativa.ActionAsPdf("PdfPartial", new { id = id, pid = pid })
                  {
                      FileName = "AFE.pdf",
                      PageOrientation = Rotativa.Options.Orientation.Landscape,
                      PageSize = Rotativa.Options.Size.A4
                  };
  </code></pre>
  
  <p>I have tried by setting properties</p>
  
  <pre><code> PageWidth=670,PageHeight=120
  </code></pre>
  
  <p>It works locally but after publish it doesn't work.I need to download pdf in portrait mode.Is there any fix for above issue?</p>