[Interest] Qt5 and (lack of!) font rendering quality (Linux/X11)
René J.V. Bertin
rjvbertin at gmail.com
Tue Oct 21 19:53:51 CEST 2014
On Tuesday October 21 2014 10:37:20 Allan Sandfeld Jensen wrote:
> We can also synthesis non-default stretch.
Any affine transformation should be possible ...
> In Qt 5.4 the font system has been improved to also read autohint and
> lcdfilter settings from fontconfig which we were lacking, and read more
> settings from XSettings. I was under the impression that those that reported
That sounds promising.
> wrong font rendering in Qt 5 were non-KDE users, and the issue was Qt picking
> up non-KDE font settings.
As an aside: the problem with Qt5 (< 5.4 in any case) is that there's no longer a way to specify global defaults, as it used to be possible with QtConfig.
> I would recommend trying a Qt 5.3.2 package again. Or apply this patch to your
AFAIK Kubuntu has 5.3.2 in Project Neon 5. I'll see if I can find a moment while still on my current trip to fetch the source and see what patches it has, but building anything as huge as Qt5 will have to wait until I get home ...
> Qt: https://codereview.qt-project.org/#/c/92167 . This is what fixes selecting
> fonts based on stylename which is easier than using weight, and happens to be
> how the font-selector widget does it, which made it broken before.
Hmmm, is that also how Qt4/OS X determines what font file to load for a given font, by any chance?
René
More information about the Interest
mailing list