![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Gee! These Aren't Roasted!
![]() Join Date: Oct 2004
Beans: 165
|
HOWTO: Disable antialiasing for some font-sizes
This will work to disable antialiasing for fonts that are using a size less than 9 or 10.
In windows, some font sizes (I think from 6 to With this, webpages using small fonts (8pt) will look clearer. Of course, all fonts in your system with that size will look without antialiasing. Edit your /etc/fonts/local.conf with root priviledges (sudo nano /etc/fonts/local.conf). I think you can also create a file in your home directory called ./fonts.com, but I'm not sure of this. Add the following to that file (inside the XML tree) Code:
<match target="pattern">
<test qual="any" name="size" compare="less">
<double>10</double>
</test>
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="pattern">
<test qual="any" name="pixelsize" compare="less">
<double>14</double>
</test>
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
</match>
Fonts equal or smaller than 9-10px (I'm still not sure: try changing the values between the <double> labels.) should show without any antialising. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|