Summary: | underscore character not visible with "Bitstream Vera Sans Mono roman" and "dejavu mono" fonts | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Potomac <mister.freeman> |
Component: | application | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | bcook99, christoph, gabrielfernnd, kishore96, postiffm, slave, wvk |
Priority: | NOR | ||
Version: | 18.04.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/ktexteditor/45180eacbf53b568e422d815f5b31bf263597f29 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | bottom of character not visible |
Description
Potomac
2018-02-18 06:25:46 UTC
the bug occurs also with "deja vu mono" font Created attachment 110786 [details]
bottom of character not visible
I made some tests,
the first test :
- I use the "hack" font and font size lesser than 12, the bottom of the characters are not visible
the second test :
- I still use the "hack font" and font size "12", but I have inserted a line break : the bottom of the characters are now visible,
see the screenshot in attachment
(In reply to Potomac from comment #2) > > - I still use the "hack font" and font size "12", but I have inserted a line > break : the bottom of the characters are now visible, > > > see the screenshot in attachment correction : the font size is still lesser than "12", the bug doesn't occur when font size is "12" and greater Exactly the same problem here, using Debian Sid kate 18.04.0. Font is DejaVu Sans Mono Book. Same behaviour occurs under Fedora 28 with KDevelop, specific to mono fonts under 12 points. KDevelop 5.2.3 KDE Frameworks 5.48.0 Qt 5.10.1 (built against 5.10.1) The xcb windowing system That stuff is cut out, only happens at the last line, or? If you have a line below, the cut out parts appear again, like in the screenshot? Git commit 45180eacbf53b568e422d815f5b31bf263597f29 by Christoph Cullmann. Committed on 15/08/2018 at 09:25. Pushed by cullmann into branch 'master'. fix overpainting for _ or letters like j in the last line that was already fixed for all other lines, but I missed the last line special case thanks to Domonik for reminding me what I did at all: 1) setting clip rect to current line 2) paint that one 3) paint the line above to get the overpainted parts M +14 -1 src/view/kateviewinternal.cpp https://commits.kde.org/ktexteditor/45180eacbf53b568e422d815f5b31bf263597f29 *** Bug 393616 has been marked as a duplicate of this bug. *** I'm using KDevelop. Help | About KDevelop | Libraries reports KDE Frameworks 5.51.0, Qt 5.9.7 and the xcb windowing system. Font = Monospace Normal 9. On KDevelop 5.3.0 for Linux, running on VMWare 14.1.5, if I have a line of code like void book_gone(void) and scroll it so it is not visible, then scroll so it is visible, the underscore and bottom of the letter 'g' are invisible. If I mouse over that line or arrow the cursor somewhere near that line, then the underscore and bottom of the 'g' become visible. *** Bug 405969 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 404907 *** This bug still occurs (kind of). I noticed it happens when you have some Asian characters in the line, for example. Try pasting 한국어 or 日本語 and at the same line _, the bottom of the line simply disappears, it seems to be some sort of miscalculation of line height (as these characters are taller). https://imgur.com/a/soELt03 - Same text |