Re: subpixel text rendering on Linux
Jeroen van der Zijp <[email protected]>
| Newsgroups | gmane.comp.lib.fox-toolkit.user |
|---|---|
| Organization | FOX Toolkit |
| Message-ID | <20220929174643.634f2910@leviathan> |
On Thu, 29 Sep 2022 22:15:19 +0200 Francesco Abbate <[email protected]> wrote: >Dear Jeroen, > >I have another question completely unrelated to the previous one. > >I noticed that on Linux the FOX library draws the text using grayscale >rendering irrespective of the text rendering setting of the host system, >for example GNOME. Are you talking about "ClearType" or whatever they're calling it on the linux desktop? I don't know how the font system will react to a change the sub-pixel rendering mode. FYI, I have turned on mine, and also set custom rez so pitch sizes match more closely. >That happens using the Xft option that I use now by default. Its possible that some of these changes only take effect after a reboot; or at least a restart of your desktop. Because I believe glyphs are cached and may need to be regenerated after such a change. >My question is, why is grayscale smoothing always used and is there any way >to align the text rendering with the host system or, in alternative, to >force subpixel smoothing ? You are probably correct, in that FOX does not seem to follow the sub-pixel rendering hint. I don't know if there's a flag for this I need to use to enable it. We're using Xft/fontconfig so I figure it would be on, but maybe I'm wrong about that... >To put this in perspective: the FOX library looks quite fine on Windows >where the text rendering is done like a native application but on Linux the >FOX applications looks out of place and one of the reasons is that text >rendering clashes with those of native applications because of the >grayscale. If anyone has suggestions please let me know... -- JVZ -- +----------------------------------------------------------------------------+ | Copyright (C) 17:30 09/29/2022 Jeroen van der Zijp. All Rights Reserved. | +----------------------------------------------------------------------------+ _______________________________________________ Foxgui-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/foxgui-users
sub-pixel.png
(image/png, 32 KB) - not displayed