Sunday, April 15, 2007

Fonts in Ubuntu

If you want to make your fonts look smoother, try to gvim /home/yourname/.fonts.conf and add these lines below:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
</fontconfig>

Save the file, logout and login again.

===================================================
To use true type fonts:
mkdir /usr/share/fonts/truetype/myfonts
then cp *.ttf /usr/share/fonts/trutype/myfonts
logout and login to use the new installed true type fonts.

0 Comments:

Post a Comment

<< Home