mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-08 04:00:44 +00:00
Improve qdebug statement identifying printer font
This commit is contained in:
parent
6a4c947569
commit
1b87dda460
@ -1272,7 +1272,7 @@ void Statistics::printReport(QWidget * parent) {
|
|||||||
QFont font = QFont("Helvetica");
|
QFont font = QFont("Helvetica");
|
||||||
font.setPointSize(10 * (printArea.width()/1200.0)); // Scale the font
|
font.setPointSize(10 * (printArea.width()/1200.0)); // Scale the font
|
||||||
doc.setDefaultFont(font);
|
doc.setDefaultFont(font);
|
||||||
qDebug() << "selected printer font is" << doc.defaultFont();
|
qDebug() << "Printer font set to" << font << "and printer default font is now" << doc.defaultFont();
|
||||||
|
|
||||||
doc.setHtml(htmlReportHeaderPrint + htmlUsage + htmlMachineSettings + htmlMachines + htmlReportFooter);
|
doc.setHtml(htmlReportHeaderPrint + htmlUsage + htmlMachineSettings + htmlMachines + htmlReportFooter);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user