LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   The X server restarted and then the fonts became ugly (https://www.linuxquestions.org/questions/mandriva-30/the-x-server-restarted-and-then-the-fonts-became-ugly-608484/)

BK2 12-21-2007 11:29 PM

The X server restarted and then the fonts became ugly
 
Hi all

There is a problem with my fonts , the system was cool then it crashed and the x-server restarted , when I logged in again the fonts face became too ugly I don't know why , I said maybe the fonts changed automatically but when I checked it I found that it's the same . I changed it to default fonts but it's keep ugly. Is there a chance that maybe a service stopped or something like that ?

http://www.up.5alid.com/up/uploads/750c7dc2d4.png

thanks a lot

Uncle_Theodore 12-21-2007 11:36 PM

Check if /var/log/Xorg.0.log has any errors related to fonts.

BK2 12-22-2007 12:29 AM

Quote:

Originally Posted by Uncle_Theodore (Post 2998666)
Check if /var/log/Xorg.0.log has any errors related to fonts.

no there is nothing interesting about fonts

Code:

cat /var/log/Xorg.0.log | grep font
        catalogue:/etc/X11/fontpath.d
(II) Loading /usr/lib/xorg/modules/fonts//libtype1.so
(II) Loading font Type1
(II) Loading /usr/lib/xorg/modules/fonts//libfreetype.so
(II) Loading font FreeType
(II) Initializing built-in extension XFree86-Bigfont

Is there any error with this configurations ?

and there is something . this error only with my user . when I logged in by another user the fonts looks great.

I think there is something changed in KDE control center

BK2 12-22-2007 01:11 AM

Hello

I found where the problem is
in the home folder I found file named ".fonts.config" . it's had the fonts configurations , I deleted the file then restarted the X server .It's good now

when I restarted the X server a new configuration file appeared . I think it have the default settigns

this is the wrong settings ( I don't knwo where the hell came from ) :

Quote:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hinting" >
<bool>false</bool>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hintstyle" >
<const>hintnone</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match>
<match target="font" >
<test compare="more_eq" name="size" qual="any" >
<double>8</double>
</test>
<test compare="less_eq" name="size" qual="any" >
<double>15</double>
</test>
<edit mode="assign" name="antialias" >
<bool>false</bool>
</edit>
</match>
<match target="font" >
<test compare="more_eq" name="pixelsize" qual="any" >
<double>11</double>
</test>
<test compare="less_eq" name="pixelsize" qual="any" >
<double>20</double>
</test>
<edit mode="assign" name="antialias" >
<bool>false</bool>
</edit>
</match>
</fontconfig>
and this is the right settings . It's created by itself when restarted X server :

Quote:

<?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>
Thank you anyway


All times are GMT -5. The time now is 03:34 AM.