Re: [Development] Replacement for QFont::ForceIntegerMetrics in Qt 6?

2023-11-07 Thread Kai Uwe Broulik
Hi, thanks, QFont::PreferFullHinting seems to do the trick. I actually had that set for testing and thought QTextOption::setDesignMetrics(false) was the fix (after reading a bit of QFontEngineFT) but it was the hinting all along :-) Thanks! Cheers Kai Uwe Am 06.11.23 um 12:04 schrieb

Re: [Development] Replacement for QFont::ForceIntegerMetrics in Qt 6?

2023-11-06 Thread Eskil Abrahamsen Blomfeldt via Development
, Graphics The Qt Company Sandakerveien 116 0484 Oslo, Norway eskil.abrahamsen-blomfe...@qt.io http://qt.io From: Development on behalf of Kai Uwe Broulik Sent: Saturday, November 4, 2023 10:50 AM To: development@qt-project.org Subject: [Development] Replacement

[Development] Replacement for QFont::ForceIntegerMetrics in Qt 6?

2023-11-04 Thread Kai Uwe Broulik
Hi everyone, in Qt 5.15 the QFont::ForceIntegerMetrics was deprecated and subsequently removed in Qt 6. The rendering engine in Konsole, KDE’s terminal emulator, relies on the fact that every glyph in the monospace font is rendered at the same width, since sections of different style (e.g.