Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Debian Linux Help > Enable Smooth Fonts in Debian.

Forgot Password?
 Debian Linux Help   Discussions related to Debian GNU/Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 02-06-2008   #1 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
Thumbs up Enable Smooth Fonts in Debian.

Hi Friends !

I am using Debian unstable for last 3-4 months and couldn't configure fonts properly. Fonts were not smooth, installed msttcorefonts, tweaked font config, anti-aliasing etc.. but result was not good.

I found a font.conf from somewhere over net ( dont remember link ) and it has changed smoothness drastically. I am really impressed with it.

Copy font config, save it as font-conf and replace it with .font.conf of your home folder.
Code:
cd
mv .font.conf font.conf.bak
mv font-conf .font.conf
Restart X Server and see the difference. Its worth to try. If you like it, delete font.conf.bak file.
You can use same config in Ubuntu/Kubuntu too.

font-conf :
Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font" >
  <edit mode="assign" name="autohint" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="rgba" >
   <const>none</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>
</fontconfig>
Enjoy smooooth Fonts !
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First

Last edited by devils casper; 02-10-2008 at 03:33 AM..
devils casper is offline  


Old 02-06-2008   #2 (permalink)
Super Moderator
 
ozar's Avatar
 
Join Date: May 2004
Posts: 12,051
Hey, thanks for the HowTo, casper.

Fonts have always been a very touchy subject under Linux for me, too, and I've hated the results every time right after installing the MS core fonts.

Fortunately, my fonts have looked great under Arch for the last few years, now.
__________________
oz

New Members: * README *
ozar is offline  
Old 02-06-2008   #3 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
Non-smooth fonts irritate me a lot and I was struggling for last 3-4 months. My search for smooth fonts ends here and I am happy now..
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline  
Old 02-10-2008   #4 (permalink)
Just Joined!
 
emerica's Avatar
 
Join Date: Jan 2008
Location: Tampa, FL
Posts: 15
Send a message via AIM to emerica
Wow devils_casper this is a great post! I had to alter your directions a weed bit though. My fontconfig folder is ".fontconfig" not ".font.config". I am using Lenny by the way. But other than that these fonts are smooth! Thanks a lot.
emerica is offline  
Old 02-10-2008   #5 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
Hi emerica !

It was a typo and I have corrected that. Font config filename is .font.conf instead of .font.config. Thanx for pointing it out.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline  
Old 02-10-2008   #6 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,100
It works for Gentoo also, thanks DC!
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is offline  
Old 02-10-2008   #7 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
Quote:
Originally Posted by MikeTbob View Post
It works for Gentoo also, thanks DC!
You are Welcome Mike and thanx for the Info.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline  
Old 03-19-2008   #8 (permalink)
Just Joined!
 
Join Date: Mar 2008
Posts: 9
devils casper, you are a God. Now my Mac friends will wish they had a Debian install.

I have no idea how you figured this out but if you would like to go into details I would be very happy to be your humble student.

Thanks Lex
lindylex is offline  
Old 03-19-2008   #9 (permalink)
Linux Newbie
 
Join Date: Nov 2007
Location: Planet Earth
Posts: 130
Hey man!,

This works fantastic! specially on FireFox.... ...

Thanks a lot!

Hugo
__________________
EOF
hugortega is offline  
Old 03-19-2008   #10 (permalink)
Linux User
 
gruven's Avatar
 
Join Date: Dec 2004
Location: Arkansas
Posts: 439
Send a message via ICQ to gruven Send a message via AIM to gruven Send a message via MSN to gruven Send a message via Yahoo to gruven Send a message via Skype™ to gruven
You can also go into about:config in firefox and do a search for freetype and turn the hinting on.

I haven't had a problem with fonts not being smooth on my debian box. I use the Liberation-ttf fonts from RedHat and in KDE I just turn smoothing on.

Of course, I could have changed something and not realized it because I have had this /home partition for ages.
__________________

Linux User #376741
Preferred Linux Distro: Funtoo
Screenshots
Remember, Ubuntu is A Linux distribution, not THE Linux distribution.

There is no need to login to the GUI as root!
gruven is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 02:34 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2