Peppermint | Linux OS Community Forum
 
It is currently Mon Dec 18, 2017 4:13 pm

All times are UTC - 5 hours [ DST ]





Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Antialiased Fonts
PostPosted: Thu Jul 08, 2010 8:36 pm 
Offline
User avatar

Joined: Tue May 25, 2010 9:00 am
Posts: 744
Location: Atlanta Ga
Courtesy of our very own Joutlan.

Class: Adding anti-aliasing script for fonts
Difficulty: Piece of cake
Time: Couple minutes at most
Desirability: Making Fonts Prettier

This is a script used to Anti-Alias fonts. Create a file '.fonts.conf' in your home directory. This can be done from your favorite text editor, I used the following command in a terminal.

Code:
leafpad ~/.fonts.conf


Once you have this file open add the script below to the file

Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<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>
<match target="font" >
  <edit mode="assign" name="rgba" >
   <const>rgb</const>
  </edit>
</match>
<match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
</match>
</fontconfig>


Once you have added this save the file and you are done. Your ability to notice the different may be subject to how good your eye sight is, but you now should have better looking fonts.

_________________
Peppermint Forums Moderator
Asus Eee PC | Pmint2 | Win XP | Arch (Fluxbox)
Toshiba Sat. P15 | Testing Machine
Custom AMD Desktop | Pmint2 64-bit | Win 7
My Site | Google+| Facebook | Twitter: @eng1nerd


Top
 Profile  
 
 

Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Powered by php B.B. © 2000, 2002, 2005, 2007 php B.B. Group
Template made by DEVPPL