[Fontconfig] Re: Can we get fonts as sharp as Windows?

Mike FABIAN mfabian at suse.de
Fri Feb 16 03:20:36 PST 2007


"Charles A. Landemaine" <landemaine at gmail.com> さんは書きました:

> Thanks Mike, yes, I have color pixels to create rounded corners now, I
> recompiled Freetype2 actually but I see that if I remove this snippet,
> I still have subpixel hinting. Strange. The only way to disable it is
> to unset antialiasing. Is it possible that Freetype has subpixel
> hinting by default when you use antialiasing? I checked out in
> fonts.conf, local.conf and ~/.confs.conf, none of these files have a
> declaration for rgb anymore, but it's still working. Any idea?

Then you probably have an LCD screen which is connected with a digital
cable. In that case rgba=rbg is set automagically by default.

You can switch if of and use grayscale anti-aliasing setting
rgba=none, i.e. by using the following rule in your ~/.fonts.conf:

<match target="font" >
  <edit mode="assign" name="rgba" >
   <const>none</const>
  </edit>
 </match>

Just try what you like better. 

-- 
Mike FABIAN   <mfabian at suse.de>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
I � Unicode


More information about the Fontconfig mailing list