Re: Sawfish v1.3.3 not working properly with ISO-8859 locale

On Mon, Mar 17, 2008 at 11:57 PM, Thierry Godefroy <reserv0 yahoo com> wrote:
> Gabor Z. Papp <gzp <at>> writes:
>  > * Thierry Godefroy <reserv0 <at>>:


>  This would disable all anti-aliasing, which is not what I want (there are still
>  some software which do have a need for anti-aliasing: for example Gimp when
>  writing large scale text in a picture...).

This is what i use for TTFs: (~/.fonts.conf)

 <?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "/etc/fonts/fonts.dtd" >

  <!-- full hint for all fonts -->
  <match target="font" >
    <edit mode="assign" name="hinting" ><bool>true</bool></edit>
  <match target="font" >
    <edit mode="assign" name="hintstyle" ><const>hintfull</const></edit>
  <!-- antialias for all fonts... -->
  <match target="font" >
    <edit mode="assign" name="antialias" ><bool>true</bool></edit>
  <!-- except Microsoft fonts when less or equal 13 DPI -->
  <match target="font" >
    <test name="foundry" qual="any" ><string>Microsoft</string></test>
    <test name="size" compare="less_eq" ><double>13</double></test>
    <edit mode="assign" name="antialias" ><bool>false</bool></edit>
  <!-- configuration for Monotype fonts -->
  <match target="font" >
    <test name="foundry" qual="any" ><string>Monotype</string></test>
    <test name="family" qual="any" >
      <string>Andale Mono</string>
      <string>Courier New</string>
    <test name="size" compare="more_eq" ><double>6</double></test>
    <test name="size" compare="less_eq" ><double>12</double></test>
    <edit mode="assign" name="antialias" ><bool>false</bool></edit>
  <!-- enable antialiasing for all bold fonts -->
  <match target="font" >
    <test name="weight" compare="more_eq" ><int>200</int></test>
    <edit mode="assign" name="antialias" ><bool>true</bool></edit>

It's commented, anyway all fonts are full hinted, AA is disabled for
Microsoft fonts when smaller than 13 DPI, and all bold text is AA
regardless  foundry or size.

On (virtual) terminals and Emacs i use a pixmap font (Terminus).


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]