Created attachment 125732 [details] UTF-8 text file that showcases the wrong behavior Kate renders the Unicode character "combining diaeresis" over the wrong letter. It should be rendered over the letter before the combining character but is rendered over the letter after the combining character. STEPS TO REPRODUCE 1. Open the attached text file in Kate OBSERVED RESULT Kate will render the diaeresis (dots) over the the b (like this: ub̈er) EXPECTED RESULT The diaeresis should be rendered over the u (like this: über). SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.17.5 KDE Frameworks Version: 5.66.0 Qt Version: 5.14.1 Kernel Version: 5.5.2-arch1-1 OS Type: 64-bit Processors: 6 × AMD FX(tm)-6300 Six-Core Processor Memory: 15,6 GiB
Cannot reproduce on openSUSE Krypton.
I investigated this further and it does only happen when I select the font "hack", not when other fonts are selected. However in Libreoffice the text is displayed correctly, even when using hack as a font. The text is displayed bugged as well on my laptop when using "monospace" as font family in the bug tracker. As such I'm not too sure anymore if this is actually a kate specific bug.
I reported a similar issue a few years ago (see issue 345930), which appeared since Qt5 (it was not present in Qt4). This issue is mostly visible when using monospace fonts like DejaVu Sans Mono or Hack. The problem is upstream in Qt (see QTBUG-48726, still unresolved).
*** This bug has been marked as a duplicate of bug 345930 ***