Bug 360555

Summary: Highlighting of spelling errors not shown with some font families when used at smaller sizes.
Product: [Frameworks and Libraries] frameworks-ktexteditor Reporter: Paul <pip.kde>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 5.19.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Paul 2016-03-15 12:45:59 UTC
The "Underline" highlighting of spelling errors is not shown when using smaller sizes of some font families.

For example to correctly show the highlighting:

Liberation Mono requires size ≥14
Ubuntu Mono requires size ≥11

Whilst:

DejaVu Sans Mono (Book) and Droid Mono only requires size ≥5

There is some discussion of this on the openSUSE forum:
https://forums.opensuse.org/showthread.php/514262-Kwrite-automatic-spell-checker-not-highlighting?p=2758809#post2758809
Comment 1 Dominik Haumann 2016-03-24 16:32:38 UTC
Known issue: since the painting is line-based fonts whose characters exceed the lower or upper bound of their own line height draw in the area of neighboring lines. When neighboring lines are drawn, these parts are lost. Mostly a problem in the fonts, but then again, would be nice, if Kate could handle it correctly.

*** This bug has been marked as a duplicate of bug 335079 ***