title: Generate PDF with CSS and Images
body: <p>Using Symfony2.3.4  </p>
  
  <p>I'm generating PDF docs with this bundle: <a href="https://github.com/stedekay/SpraedPDFGeneratorBundle">SpraedPDFGeneratorBundle</a> and this is its main php class(I think):<a href="https://github.com/stedekay/SpraedPDFGeneratorBundle/blob/master/PDFGenerator/PDFGenerator.php">PDFGenerator.php</a></p>
  
  <p>I managed to generate them just fine but I don't know how to set the fontPath parameter for generating a css-modified PDF with some images in it too.
  Here:</p>
  
  <pre><code>///XController.php
  $pdfGenerator = $this-&gt;get('spraed.pdf.generator');
  $pdf = $pdfGenerator-&gt;generatePDF($postData/* , 
  'UTF-8', array(&lt;SOME_PATH_I_GUESS&gt;) */);
  </code></pre>
  
  <p>the first param is the html data to be output to the PDF, the second one I kinda guessed it but I'm not sure and the third is the fontPath. </p>
  
  <p>The image thing is also something I would appreciate tips about...  </p>
  
  <p>Has anyone ever worked with this bundle or some like it; if yes can you please help me?</p>