XSETTINGS registry
Owen Taylor
otaylor at redhat.com
Mon Nov 17 18:24:46 EET 2003
On Mon, 2003-11-17 at 06:15, Thomas Leonard wrote:
> On Fri, Nov 14, 2003 at 10:24:29PM +0100, Matthias Clasen wrote:
> [ extra XSettings ]
> > Ok, you were right here, but running xsettings-client on a Gnome 2.4
> > system reveals a number of additional xsettings related to font
> > rendering which originate from the gnome-settings-daemon:
> >
> > Xft/RGBA enum, one of "rgb", "bgr", "vbgr", "vrgb"
> > Xft/Hinting boolean
> > Xft/HintStyle enum, one of "hintnone", "hintslight",
> > "hintmedium", "hintfull"
> > Xft/DPI, int
> > Xft/Antialias, boolean
> >
> > Maybe these should be added to the registry ?
>
> Go ahead. Where are they used? Does GTK do anything with them, or do they
> only have an affect within GNOME?
They are used only Red Hat patches for GTK+/Pango ... but now that the
HintStyle setting has landed in upstream fontconfig, there is no reason
that the Red Hat patches can't be landed into GTK+/Pango.
The settings above are XSETTINGS version of the X resources that
Xft reads normally ... the reason for putting them into XSETTINGS is
that we can do change-on-the-fly updates.
[
It would be nice to do this at the Xft layer, but there are various
issues that make doing it without toolkit cooperation hard:
- Need for Xft to get the events, and track the XSETTINGS window
- Need to queue redraws and resizes of widget elements
- Need to abandon any caches of open fonts
]
Regards,
Owen
More information about the xdg
mailing list