Bug 372690 - Font blurry in text editor
Summary: Font blurry in text editor
Status: RESOLVED INTENTIONAL
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: 16.08
Platform: openSUSE Linux
: NOR grave
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-20 08:51 UTC by Teunizz
Modified: 2017-06-25 11:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of Kate to show the blurry font. (220.37 KB, image/png)
2016-11-20 08:51 UTC, Teunizz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Teunizz 2016-11-20 08:51:46 UTC
Created attachment 102327 [details]
Screenshot of Kate to show the blurry font.

The font in the text editor is blurry, see attached pic.
The font in Kate's menu is fine.

OS is openSuse Leap 42.2.
Comment 1 Dominik Haumann 2016-11-21 21:38:19 UTC
Is it because of the font size?
Did you try other fonts?

Could you please copy & paste the text you see in Kate into the area where you currently have "The Quick Brown Fox jumps...." and make a screenshot again?
Comment 2 Teunizz 2016-11-22 08:36:26 UTC
I was about to write a comment because I just managed to solve the problem but I believe there's still some kind of bug.

The problem is, Kate (the editor, the menu is fine) is not honouring the anti-aliasing settings for the font as set in Plasma 5 settings. Instead, it's using the systems anti-aliasing settings, in my case: Yast -> System -> Fonts.
By changing the settings there, I was able to solve the problem.

If it's technically not possible to let Kate use the Plasma 5 settings for anti-aliasing (in the text editor, the menu's are fine), shouldn't be there an advise in Kate's font setting about how/where to change anti-aliasing?
Comment 3 Christoph Cullmann 2017-06-25 11:42:23 UTC
Hmm, Kate doesn't do anything special for the settings, it relies on Qt to use the right ones.

If the plasma 5 settings are not taken, this looks more like a distro issue.

As there is no code path in KTextEditor beside just plain "let Qt render the stuff", could you report this issue to your distro?