Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QPrinter is outputing the wrong symbol
blaisesegbeaya last edited by
I am using QPrinter to print a QString qs(10, QChar(205)) to my HP LaserJet 1320 printer. What was printed was a string of accentuated letter Í, despite the fact that QFont ("PC-8") was selected into QPainter, before QPainter::drawText was called.
qDebug() << qs prints the right symbols on the screen.
I do not know what I am doing wrong.
Any help is appreciated.