Hi Carl,

> Could you look into that and see what they come up with for
> configuration, if anything?

sure---and by chance this was a really easy task :). I just looked at the qt 
article I mentioned before again:

                
http://labs.trolltech.com/blogs/2008/09/01/subpixel-antialiasing-on-x11/

"Josh" asks in the comments:
>> Thanks, this is exciting work. How can I try different settings for
>> subpixel antialiasing, hinting, etc. Is this something I set in X, or can
>> Qt override various settings? I have an old legacy font that I have to use
>> for a project that doesn’t look great, but would like to be able to play
>> with the settings to see how I can improve its look. Thanks, any input
>> would be appreciated. Josh

The author of the article ansewers: 
> Qt reads the system settings and does not allow you to override
> these. Hinting options should be accessible from your font configuration
> dialog. For more options (including the filtering settings) you should use
> font config. Font config should let you use different settings for specific
> fonts: http://fontconfig.org/fontconfig-user.html

On http://fontconfig.org/fontconfig-user.html you find the option:
        
                        lcdfilter       Int     Type of LCD filter

It can have the following values:

  lcdnone         lcdfilter       0
  lcddefault      lcdfilter       1
  lcdlight        lcdfilter       2
  lcdlegacy       lcdfilter       3

I guess, this is it---isn't it?




BTW: see the last comment there: 
> On Debian system I’ve had to patch libfreetype6, libcairo2, libxft2 (...)
> to get smooth fonts in all GTK based apps (I rarely use
> Firefox, Gimp or Synaptic from GTK based apps). What I like about Qt font
> rendering is that I don’t need all this patching to be done. I’ve got nice
> looking fonts from the very beginning
;-)



> This is from the value you set for the "rgba" parameter in fontconfig.
> When you set "rgb" there you're saying that you have sub-pixels in the
> order of red, then green, then blue horizontally. If you happened to
> have a reversed display devide, then you would set "bgr" there instead.
> And if you have a device rotated so that the sub-pixels are vertical
> rather than horizontal, then you can use "vrgb" or "vbgr".

Yes, I get that---by the way: Is there ANY display out there that has bgr, 
vrgb, or vbgr? 

But how does the filter know, where the font sits on the display. Meaning: 
whether the upper left of the "A" it has to render is under a red pixel or a 
blue pixel, and so on?

Greetz, micu
--
GnuPG:          https://www1.inf.tu-dresden.de/~s3418892/micuintus.asc
Fingerprint:    1A15 A480 1F8B 07F6 9D12 3426 CEFE 7455 E4CB 4E80

<<</>>

https://wiki.c3d2.de/Benutzer:Micuintus



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to