I cannot reproduce the result with either 4.6.3 or 4.7.0 on Linux. I substituted 0 for the actual figures and the month number in place of the month name, but otherwise used your code. I also used the print() method of QTextDocument with good results.
Bookmarks