On Thu, 10 Feb 2005 19:25:57 -0500 cga <cga2001@xxxxxxxxxxxx> wrote: > What I meant was that the extra features provided by fontconfig (aa.. > auto-hinting..) add more variables to the text rendering equation and it > has now become almost impossible to tweak fonts w/o access to an > interactive tool such as the one provided by the gnome & kde desktops. It's really not that bad. I don't have the full Gnome, just the lib packages needed to make GTK apps work. I have KDE because it's monolitic and you get everything anyway. So I didn't do anything with Gnome, except edit my ~/.gtkrc-2.0 and ~/.gtkrc and specify the font I want (my favorite is also Verdana): # gtk 2 - ~/.gtkrc-2.0 style "default" { font_name = "Verdana 10" } # gtk 1 - ~/.gtkrc style "default" { font = "-*-verdana-medium-r-*-*-12-*-*-*-*-*-iso8859-2" } For KDE I ran kcontrol, went to font settings, chose Verdana all over the place, checked "use antialiasing" and chose a range to exclude. Here's my ~/.fonts.conf. It will tweak various hinting and anti-aliasing global values, as well as DPI. It will disable anti-aliasing betwen 9-16 pixels and 8-14 points. Adjust as needed. After you do the above, the only place you need to keep up anymore is just ~/.fonts.conf. You can do interesting stuff, like adjust your DPI, tweak fonts individually or alias ugly fonts to good looking ones. <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <match target="pattern" > <edit mode="assign" name="antialias" > <bool>true</bool> </edit> <edit mode="assign" name="hinting" > <bool>true</bool> </edit> <edit mode="assign" name="autohint" > <bool>false</bool> </edit> <edit mode="assign" name="dpi" > <int>83</int> </edit> </match> <match target="font" > <test compare="more" name="pixelsize" qual="any" > <double>9</double> </test> <test compare="less" name="pixelsize" qual="any" > <double>16</double> </test> <edit mode="assign" name="antialias" > <bool>false</bool> </edit> </match> <match target="font" > <test compare="more" name="size" qual="any" > <double>8</double> </test> <test compare="less" name="size" qual="any" > <double>14</double> </test> <edit mode="assign" name="antialias" > <bool>false</bool> </edit> </match> </fontconfig> -- Ciprian Popovici