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> papp.hu> writes:
>
>  > * Thierry Godefroy <reserv0 <at> yahoo.com>:

[...]

>  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" >
<fontconfig>
  <dir>~/.fonts</dir>

  <!-- full hint for all fonts -->
  <match target="font" >
    <edit mode="assign" name="hinting" ><bool>true</bool></edit>
  </match>
  <match target="font" >
    <edit mode="assign" name="hintstyle" ><const>hintfull</const></edit>
  </match>
  <!-- antialias for all fonts... -->
  <match target="font" >
    <edit mode="assign" name="antialias" ><bool>true</bool></edit>
  </match>
  <!-- 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>
  </match>
  <!-- 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>
    <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>
  </match>
  <!-- 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>
  </match>
</fontconfig>

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).


-- 
Andrea


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