title: Cannot print Asp.net MVC 5.2.2 view in Rotativa.MVC 2.0.3
body: <p>I have a Asp.net MVC 5.2.2 web application where i have Rotativa.MVC 2.0.3 installed via nuget package. I am using Visual Studio Community 2013 Update 4 on Windows 8.1 Pro 64-bit/8GB Ram.</p>
  
  <p>My view displays data from SQL Server Database and in addition to that it also displays some data in graphs using amcharts 3.13.3.</p>
  
  <p>I get the following error when i call the action from the view:</p>
  
  <blockquote>
    <p>[Exception: QFont::setPixelSize: Pixel size &lt;= 0 (0)
       QFont::setPixelSize: Pixel size &lt;= 0 (0)
       QFont::setPixelSize: Pixel size &lt;= 0 (0)</p>
  </blockquote>
  
  <p>When i add CustomSwitches = "--grayscale" it works because it prints it in black/white but I need it to work with color.</p>
  
  <p>Below is the action i am calling from the view:</p>
  
  <pre><code>    public ActionResult PrintSummary()
      {
          string fileName = "PrintSummary_" + DateTime.Now.ToString("yyyyMMddHHmmss") + ".pdf";
          var rotativaOptions = new Rotativa.Core.DriverOptions() { CustomSwitches = "" };
          return new ActionAsPdf("Print", new { fromPrintpdf = "numbers i pass in"})
          {
              FileName = fileName,
              RotativaOptions = rotativaOptions
          };
      }
  </code></pre>