No matter what I try, I cannot modify the base font size from the programmed defaults. What is the proper way given:
Qt Code:
QTextDocument document; .arg("1") .arg("2") .arg("3") .arg("4"); //1 document.setHtml(allText); //2 document.print(&printer);To copy to clipboard, switch view to plain text mode
Calling setDefaultFont() at location #1 or #2 have no effect for me. I've also tried using a textedit and setFontPointSize(). I wish to provide the base font,a nd let the document modify it from there, as it uses relative sizing and other styles.
Bookmarks