Bug 375986 - different font rendering
Summary: different font rendering
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasma-nm
Classification: Plasma
Component: editor (show other bugs)
Version: 5.9.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-04 06:23 UTC by Naufal Fachrian
Modified: 2017-10-18 10:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
this is how it look. (390.48 KB, image/png)
2017-02-04 06:23 UTC, Naufal Fachrian
Details
also this (427.09 KB, image/png)
2017-02-04 06:25 UTC, Naufal Fachrian
Details
Proposed patch (1.68 KB, patch)
2017-02-08 06:45 UTC, Jan Grulich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Naufal Fachrian 2017-02-04 06:23:03 UTC
Created attachment 103814 [details]
this is how it look.

There are different font rendering between left pane and right pane. The right one was better. Sorry if my words couldn't describe what the bug is, but please look at the attachment.
Comment 1 Naufal Fachrian 2017-02-04 06:25:59 UTC
Created attachment 103815 [details]
also this
Comment 2 Naufal Fachrian 2017-02-04 06:32:11 UTC
Some information that might be useful. It was a fresh install from openSUSE Tumbleweed.

Fontconfig version is 2.7 but I set the interpreter to version 35. Changing back to 40 not helped at all. Anti aliasing is On, sub pixel rendering is RGB, hinting style is full.
Comment 3 Jan Grulich 2017-02-07 08:03:34 UTC
The difference between left and right part is that the left one is written in QML, while the other is still QWidget based. I guess QML uses different font rendering method/technique or whatever, which is something I really know nothing about and I'm not sure I can do anything about it. In my case both parts have same font rendering as I can tell.
Comment 4 Christoph Feck 2017-02-07 22:32:37 UTC
Jan, It is possible to force native font rendering (i.e. same as in QWidgets) in QtQuick based texts. See http://blog.qt.io/blog/2012/08/08/native-looking-text-in-qml-2/

If this does not help, please ask on the plasma-devel mailing list.
Comment 5 Jan Grulich 2017-02-08 06:45:47 UTC
Created attachment 103897 [details]
Proposed patch

Can you please try attached patch?
Comment 6 Jan Grulich 2017-10-02 08:44:05 UTC
Ping? Nobody else has complained about this problem. Also looking again at your screenshot I don't see any difference in font rendering. The reason why left side looks different compared to the right side in your first screenshot is that apparently both your connections are connected and in that case bold font is used and the description below uses different color. I'm going to close this issue now as I don't see any problem.
Comment 7 Christoph Feck 2017-10-18 10:56:50 UTC
The difference between the leftmost list and the rightmost settings page is obvious. I suggest to apply the patch; most (if not all) Plasma texts use native rendering.