I have createated a QTextDocument
with a table in it. Now I'm trying to render it into PDF format using QPdfWriter
(Qt 5.2.1). This is how I do it:
QPdfWriter pdfWriter(output);
QPainter painter(&pdfWriter);
doc->drawContents(&painter);
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.