title: QTextDocument, QPdfWriter - how to scale output
body: <p>I have createated a <code>QTextDocument</code> with a table in it. Now I'm trying to render it into PDF format using <code>QPdfWriter</code> (Qt 5.2.1). This is how I do it:</p>
  
  <pre><code>QPdfWriter pdfWriter(output);
  QPainter painter(&amp;pdfWriter);
  doc-&gt;drawContents(&amp;painter);
  </code></pre>
  
  <p>It works, but the problem is that the table in PDF is really, really tiny. What can I do to scale it up? I mean to scale up the whole document, not just this table, because I plan to add more contents to the document.</p>