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 03-19-2008   #11 (permalink)
hugortega
Just Joined!
 
Join Date: Nov 2007
Location: Planet Earth
Posts: 68
Actually, I have that firefox flag activated, also the KDE smoothing font option, but with this config I can select some fonts that didn't look very well before, even GTK-based applications looks better than two days ago (and also, I have the gnome smooth-font flags activated) ...

This option is a nice global improvement.

Hugo
__________________
EOF
hugortega is offline  
Old 03-24-2008   #12 (permalink)
John A
Just Joined!
 
Join Date: Mar 2008
Location: Canada
Posts: 42
Here's the .font.conf file I use. It's not that much different than the one originally posted, but it has a few differences: it replaces the Helvetica font with 'sans-serif', because it's not a true type font, which looks bad. Also, it turns off autohinting on bold fonts as those tend to get too wide (particularly on web pages).

Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Disable sub-pixel rendering.
 X detects it anyway, and if you set this as well, it just looks really horrible  -->
<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>hintfull</const>
	</edit>
 </match>

<!-- The first part of the 'magic.'
 This makes the fonts start to look nice,
 but some of the shapes will be distorted, so hinting is needed still -->
 <match target="font" >
	<edit mode="assign" name="antialias">
	 <bool>true</bool>
	</edit>
 </match>

<!-- Autohinter is not turned on automatically.
 Only disable this if you have recompiled Freetype with the bytecode interpreter,
 which is run automatically.<br />  -->
 <match target="pattern" >
	<edit mode="assign" name="autohint">
	 <bool>true</bool>
	</edit>
 </match>
 <match target="font">
		 <test name="weight" compare="more">
				 <const>medium</const>
		 </test>
		 <edit name="autohint" mode="assign">
				 <bool>false</bool>
		 </edit>
 </match>
<!-- Helvetica is a non true type font, and will look bad.
 This replaces it with whatever is the default sans-serif font -->
 <match target="pattern" name="family" >
	<test name="family" qual="any" >
	 <string>Helvetica</string>
	</test>
	<edit mode="assign" name="family" >
	 <string>sans-serif</string>
	</edit>
 </match>
 <dir>~/.fonts</dir>
</fontconfig>
This is based off the .font.conf file provided here:
Problem with Linux and LCD monitor?? - LinuxQuestions.org
__________________
Tuxation
John A 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 03:13 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