Created attachment 167832 [details] Screenshot when using WenQuanYi Micro Hei Mono font *** If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** SUMMARY Some bold mono fonts are actually "bolder" than normal fonts. Though reported in Plasma 6, this can be observed on Plasma 5 if you use Wayland. Cannot be observed on X11. Konsole does also have this problem. STEPS TO REPRODUCE 1. Open Kate 2. Select some bold mono fonts as editor font (Not all, the fonts I know can reproduce are WenQuanYi Micro Hei Mono and WenQuanYi Zen Hei Mono.) 3. You may see that words highlighted as bold are "bolder", or wider than the others. OBSERVED RESULT words highlighted as bold are "bolder", or wider than the others. EXPECTED RESULT All words should be of the same width. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Archlinux 6.8.1-arch1-1 (64 bit) KDE Plasma Version: 6.0.2 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 ADDITIONAL INFORMATION DroidSansMono Nerd Fonts seem to have problems too. When using DroidSansMono Nerd Font and DroidSansMono Nerd Font Mono, the highlighted words have no visual difference than the others. When using DroidSansMono Nerd Fond Proto the highlighted words are wider. Other mono fonts seems to be correct. When "Show mono fonts only" is on, WenQuanYi fonts are not shown. But DroidSansMono Nerd Fonts are shown.
Have you some scale factor set for the display?
(In reply to Christoph Cullmann from comment #1) > Have you some scale factor set for the display? 2 monitor, one for 150% and one for 135%. Both can reproduce this.
https://invent.kde.org/frameworks/ktexteditor/-/commit/2ab959985587e1f55fd669a3001bb48d2816c382 perhaps this fixes it, if not, one must report it upstream to Qt, as I see no way that we can alter that in the KDE stack.