TerminalPainter: Fix font width on Qt 6
There is no QFont::ForceIntegerMetrics anymore. The only way to achieve the desired effect is to disable "design metrics".
Spent way to long in QFontEngine
and friends, found this was the least invasive change. Not sure about the other drawText
calls, one is for the cursor, one is for some text drawing setting, couldn’t figure out how to test that one.
Anyway:
Top is before, bottom is after