Fix installing font for textdocumentgenerator.

We must set it for QTextDocument::defaultFont not for QPainter::font
because all job that include fonts, done in
QTextDocument->drawContents().