LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-21-2007, 11:29 PM   #1
BK2
LQ Newbie
 
Registered: Aug 2007
Posts: 23

Rep: Reputation: 15
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
 
Old 12-21-2007, 11:36 PM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 71
Check if /var/log/Xorg.0.log has any errors related to fonts.
 
Old 12-22-2007, 12:29 AM   #3
BK2
LQ Newbie
 
Registered: Aug 2007
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Uncle_Theodore View Post
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

Last edited by BK2; 12-22-2007 at 12:32 AM.
 
Old 12-22-2007, 01:11 AM   #4
BK2
LQ Newbie
 
Registered: Aug 2007
Posts: 23

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ugly fonts - help krizzz Slackware 29 11-21-2006 10:07 PM
Ugly fonts? MATJA_KAE_92 Mandriva 12 10-08-2004 05:08 PM
Fonts really ugly saiz66 Slackware 3 06-19-2004 09:25 PM
Open Office fonts look ugly (and print ugly too) TheOneAndOnlySM Linux - Software 6 10-17-2003 07:12 PM
Ugly fonts Paul E Slackware 6 04-12-2003 09:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration