Skip to content

Disable word mode by default

Matan Ziv-Av requested to merge matan/konsole:default-no-word-mode into master

There seems to be some regressions in Qt6 font rendering for monospace fonts:\

  • https://bugs.kde.org/show_bug.cgi?id=483292 seems to me to be the result of bold font having different width than the regular variant, even when the font is monospace. In Qt5, the bold variant had the same width. I don;t see a simple solution for this.\
  • https://bugs.kde.org/show_bug.cgi?id=494788 seems to me to be the result of non integer font metrics. We could changing all font handling (including rendering) from integer arithmetics to float. This is not a trivial task, unfortunately.

    Luckily, we were ready and have a solution: render each character in its cell, instead of letting Qt render strings of characters.

    When I added the single cell rendering, I left it off by default, because it was the original konsole behaviour (though that changed many years ago), it allows for ligatures, and it might have some performance issues.

I also revert !911 (merged) - disabling forcing of full hinting. Hinting does not really solve the problem of non-integer metrics, and disabling word mode fixes the problems described in that merge request.

CCBUG: 483292

CCBUG: 494788

Merge request reports

Loading