[kompare] [Bug 481778] Text in lines is cut in half, only lower half of the line text is visible when font size less than 14

John Zaitseff bugzilla_noreply at kde.org
Fri May 2 04:54:42 BST 2025


https://bugs.kde.org/show_bug.cgi?id=481778

--- Comment #15 from John Zaitseff <j.zaitseff at zap.org.au> ---
Temporary workaround: open ~/.config/komparerc and change the line

    TextFont=Hack,15,-1,5,400,0,0,0,0,0,0,0,0,0,0,1

(or whatever it is) to something like

    TextFont=Hack,15,25,5,400,0,0,0,1,0,0,0,0,0,0

That is, change the Pixel Size parameter from "-1" to "25".  This seems to fix
the problem for me, mostly (the lines look a bit too cramped together).  Some
playing around may be necessary for other fonts / point sizes.  See
https://doc.qt.io/qt-6/qfont.html#toString for documentation on the string
parameters.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kompare-devel mailing list