I have added a print preview feature to my program. The problem is, it does not display the preview document well on screen resolutions above 1920 x 1080. Example: preview [https://i.stack.imgur.com/nLxKG.png] Code: QFont docFont; docFont.setPointSize(14); QTextDocument *textDoc = new QTextDocument(this); textDoc->setDefaultFont(docFont); textDoc->setPlainText(getHardwareData()); During a debugging process I have found the [...] read more