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.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Debian Linux Help
Reload this Page Enable Smooth Fonts in Debian.
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Debian Linux Help Discussions related to Debian GNU/Linux.

Closed Thread
 
Thread Tools Display Modes
Old 02-06-2008   #1 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 17,320
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 !
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.


Last edited by devils casper : 02-10-2008 at 02:33 AM.
devils casper is offline  
Old 02-06-2008   #2 (permalink)
ozar
Super Moderator
 
Join Date: May 2004
Location: Arch Linux
Posts: 8,239
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 Users: * FAQ *

ozar is offline  
Old 02-06-2008   #3 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 17,320
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..
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline  
Old 02-10-2008   #4 (permalink)
emerica
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)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 17,320
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.
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline  
Old 02-10-2008   #6 (permalink)
MikeTbob
Linux Guru
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Cowtown, Texas
Posts: 2,222
It works for Gentoo also, thanks DC!
__________________
Linux user #286065
Distro:Gentoo + KDE-3.5.9
MikeTbob is offline  
Old 02-10-2008   #7 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 17,320
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.
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline  
Old 03-19-2008   #8 (permalink)
lindylex
Just Joined!
 
Join Date: Mar 2008
Posts: 7
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)
hugortega
Just Joined!
 
Join Date: Nov 2007
Location: Planet Earth
Posts: 68
Hey man!,

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

Thanks a lot!

Hugo
__________________
EOF
hugortega is offline  
Old 03-19-2008   #10 (permalink)
gruven
Linux User
 
gruven's Avatar
 
Join Date: Dec 2004
Location: Arkansas
Posts: 341
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.
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian: Week #2 Own1n Debian Linux Help 10 11-06-2006 07:38 AM
debian corrupt grub - error 15 - i want to free the debian space gores Debian Linux Help 3 09-04-2006 04:33 AM
Linux... Why?? coasttech Linux Newbie 64 04-24-2005 01:34 PM
ERROR analysis , system hang on walking The Linux Kernel 1 04-04-2005 10:55 PM
Debian has no network, Knoppix does timmyson Linux Networking 1 12-22-2004 08:10 PM


All times are GMT. The time now is 10:33 PM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0