PDA

View Full Version : Spurious fonts change



letrec
Nov 1st 2011, 02:29 PM
Hi,

After updating Kubuntu from 11.04 to 11.10 I started to encounter spurious system wide fonts change. It happens on a fresh 11.10 installation as well. It seems to occur after changing system settings (not font related). I fix it by rm .fonts.conf, but it's quite annoying and it took me quite a while to figure it out.
This is how the config looks like after being created at random moment:

<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="rgba">
<const>none</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hintstyle">
<const>hintmedium</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
</match>
</fontconfig>

I'd consider it as a bug.

oshunluvr
Nov 1st 2011, 02:55 PM
What's it look like when it goes haywire?

letrec
Nov 1st 2011, 03:27 PM
From left to right normal and the broken Dolphins.
http://static.inky.ws/image/778/image.jpg

oshunluvr
Nov 1st 2011, 04:49 PM
Sorry, I meant the .fonts.conf file

letrec
Nov 1st 2011, 04:54 PM
It's in my very first message, sorry for not being clear enough.
Here it is again:

<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="rgba">
<const>none</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hintstyle">
<const>hintmedium</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
</match>
</fontconfig>

oshunluvr
Nov 1st 2011, 05:31 PM
So it looks the same before and after the fonts change but deleting it corrects the problem?

letrec
Nov 1st 2011, 11:32 PM
I'm not sure how it was looking before the problem appeared, maybe it didn't exist at all, but deleting it fixes the issue.