You are not logged in.

#1 2011-12-24 01:01:04

Raqua
Member
Registered: 2007-11-24
Posts: 146

[Solved] Font settings reverts with logout

<rant>
I am really sick of font troubles!
</rant>

Ok, now with that of my chest ...  I have hat similar issues couple of time before and it was always a big pain in the ass to solve those.
I am using XFCE. I also have a few KDE apps running. I also use cairo-ubuntu, freetype2-ubuntu, fontconfig-ubuntu and libxft-ubuntu.
All was fine with my fonts until upgrade on 2011/12/22.

Packages that were upgraded:

[2011-12-22 18:51] starting full system upgrade
[2011-12-22 18:54] upgraded unixodbc (2.3.0-2 -> 2.3.1-1)
[2011-12-22 18:54] upgraded apr-util (1.3.12-3 -> 1.3.12-4)
[2011-12-22 18:54] upgraded firefox (9.0-1 -> 9.0.1-1)
[2011-12-22 18:54] upgraded qt (4.7.4-3 -> 4.8.0-2)
[2011-12-22 18:54] installed gperf (3.0.4-4)
[2011-12-22 18:54] installed qtwebkit (2.2.0-3)
[2011-12-22 18:54] upgraded kdelibs (4.7.4-1 -> 4.7.4-2)
[2011-12-22 18:54] upgraded redland (1:1.0.15-1 -> 1:1.0.15-2)
[2011-12-22 18:54] upgraded libreoffice-en-US (3.4.4-3 -> 3.4.4-4)
[2011-12-22 18:55] upgraded libreoffice-common (3.4.4-3 -> 3.4.4-4)
[2011-12-22 18:55] upgraded libreoffice-calc (3.4.4-3 -> 3.4.4-4)
[2011-12-22 18:55] upgraded libreoffice-extension-pdfimport (3.4.4-3 -> 3.4.4-4)
[2011-12-22 18:55] upgraded libreoffice-impress (3.4.4-3 -> 3.4.4-4)
[2011-12-22 18:55] upgraded libreoffice-writer (3.4.4-3 -> 3.4.4-4)
[2011-12-22 18:55] upgraded luminancehdr (2.1.0-5 -> 2.1.0-6)
[2011-12-22 18:55] upgraded pyqt (4.8.6-1 -> 4.8.6-2)
[2011-12-22 18:55] upgraded python2-pyqt (4.8.6-1 -> 4.8.6-2)
[2011-12-22 18:55] upgraded redland-storage-virtuoso (1:1.0.15-1 -> 1:1.0.15-2)
[2011-12-22 18:55] upgraded wine (1.3.35-1 -> 1.3.35-3)

Since then my KDE apps had different fonts. I do regular backups of my configuration and have not found any differences that would look like suspects (I suspect QT/KDE upgrade though) apart from contents of /etc/fonts/conf.d directory.

Currently these configuration files are linked there from conf.avail:

10-antialias.conf
10-hinting.conf
10-hinting-slight.conf
10-sub-pixel-rgb.conf
11-lcd-filter-lcddefault.conf
20-fix-globaladvance.conf
20-unhint-small-dejavu-sans.conf
20-unhint-small-dejavu-sans-mono.conf
20-unhint-small-dejavu-serif.conf
20-unhint-small-vera.conf
30-metric-aliases.conf
30-urw-aliases.conf
31-cantarell.conf
40-nonlatin.conf
45-latin.conf
49-sansserif.conf
50-user.conf
51-local.conf
53-monospace-lcd-filter.conf
57-dejavu-sans.conf
57-dejavu-sans-mono.conf
57-dejavu-serif.conf
60-latin.conf
65-fonts-persian.conf
65-nonlatin.conf
69-unifont.conf
70-no-bitmaps.conf
80-delicious.conf
90-synthetic.conf

Before I had NO links there, which is suspicious. I tried to remove those links but after that all my fonts looked completely terrible.
I tried to fiddle with settings in XFCE and also KDE settings and nothing seemed to help.

Here is the difference - top = GTK, bottom = KDE. I want KDE fonts to look the same was as GTK fonts do.
2h2pcnc.jpg

Last edited by Raqua (2012-04-01 20:01:01)

Offline

#2 2011-12-24 01:05:00

Raqua
Member
Registered: 2007-11-24
Posts: 146

Re: [Solved] Font settings reverts with logout

What caught my interest is that in /etc/fonts, hinting is set to slight. In XFCE I have it set to full. If I set it in /etc/fonts to full, I get no hinting.
If I set my hinting in KDE's system settings to enabled and full, it does not work as well. If I set it to slight the it works and I get the desired fonts look.
But when I log out of DE and log back in, KDE fonts are again bad. It appears to be set to slight in KDE settings. I have to set it to anything else and then back again to slight and prefered font is back until next logout.
What can I do to keep this settings?

Offline

#3 2011-12-27 11:32:48

Raqua
Member
Registered: 2007-11-24
Posts: 146

Re: [Solved] Font settings reverts with logout

I still haven't solved this. hmm
Do any of you KDE users know where I can set this (if it is even possible) by some script at system start ?

Offline

#4 2011-12-27 13:22:24

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [Solved] Font settings reverts with logout

For XFCE, I use my cairo-respect-fontconfig.patch. This has been mentioned many times.

Thankfully, I don't use KDE - I'd suggest to try KDE's bugzilla. Probably something even more bizarre in QT 4.8's font handling. Also see cairo patch for QT 4.8.

Edit: Arch bug.

Last edited by brebs (2011-12-27 17:02:12)

Offline

#5 2012-02-01 21:43:36

Raqua
Member
Registered: 2007-11-24
Posts: 146

Re: [Solved] Font settings reverts with logout

I still have not found any solution for this.
My fonts are ok in XFCE so no patch needed there, just the damned KDE does forget it every time I restart it!
Please someone come up with some kind of solution as my eyes hurt badly and my endless surfing did not revealed anything. sad

Offline

#6 2012-04-01 20:00:35

Raqua
Member
Registered: 2007-11-24
Posts: 146

Re: [Solved] Font settings reverts with logout

Seems to be fixed in qt 4.8.1-1

Offline

Board footer

Powered by FluxBB