This guide instructs you how to enable or disable font antialiasing (smoothing) and hinting. Antialiased fonts appear smooth, without sharp corners, in contrast with un-antialised fonts, which are sharp.
Changelog:
___________________________________27/8/09: after some research, changes.
13/8/09: first version.
BEFORE DOING IT:
- In Puppy, by default, it's turned on for JWM. However, if you want to install XFCE/KDE/GNOME, I *think* it's off by default for them.
- Choose between on and off. You can reverse the changes (delete the created files) and try both modes.
- This is easy. Don't panic.
REQUIREMENTS:
- Linux.
___________________________________
Step 1: for JWM.
Choose between on and off. Turning antialiasing fonts will result in sharp fonts, which may be unreadable on some LCD monitors. Generally, it is recommended that you turn it on for LCD monitors and off for CRT monitors.
(Left: off, right: on, see the difference)
Step 2: copy the code.
On:
Code: Select all
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintfull</const>
</edit>
</match>
Code: Select all
<match target="font">
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintnone</const>
</edit>
</match>
Step 3: for GNOME/XFCE (only if you have any).
Go to the console, and run:
cp /root/.fonts.conf /etc/fonts/local.conf
Enjoy, fellow mates.