Tuesday, May 19, 2009

Font configuration in Ubuntu Jaunty Jackalope

This is the font configuration that has worked extremely well for me in my Dell Inspiron laptop:

1. Font size of 9 across the board


2. Entries in ~/.fonts.conf file, based on the recommendations from the following post -
http://www.kilobitspersecond.com/2009/04/17/ubuntu-font-hinting-you-a-cautionary-tale/:

<fontconfig>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
<edit mode="assign" name="hintstyle">
<const>hintslight</const>
</edit>
<edit mode="assign" name="lcdfilter">
<const>lcdlegacy</const>
</edit>
<edit mode="assign" name="rgba">
<const>none</const>
</edit>
</match>
</fontconfig>

3. The fonts within firefox looked extremely tiny at the end of this exercise. This was improved by installing Microsoft Core fonts :
sudo apt-get install msttcorefonts gsfonts-x11