Features/Font configuration: Difference between revisions

 
Line 21: Line 21:
* sugar.activity.activity sets the default GTK+ font based on them.
* sugar.activity.activity sets the default GTK+ font based on them.


Next steps:
Next steps (implemented in [http://git.sugarlabs.org/projects/sugar-settings-manager sugar-settings-manager]) :
* Implement an xsettings daemon (hopefully in-process).
* Implement an xsettings daemon (hopefully in-process).
** This will eliminate the need to manually set GTK+ fonts in sugar-session and sugar.activity.activity, since GTK+ init routines will contact the settings daemon and learn of the settings.
** This will eliminate the need to manually set GTK+ fonts in sugar-session and sugar.activity.activity, since GTK+ init routines will contact the settings daemon and learn of the settings.
** It will also mean that activities that are not based on sugar.activity.activity have an easy way to find out the font settings, and all GTK+ apps will "just work"
** It will also mean that activities that are not based on sugar.activity.activity have an easy way to find out the font settings, and all GTK+ apps will "just work"
TODO
* Deprecate FONT settings in sugar.graphics.style
* Deprecate FONT settings in sugar.graphics.style
* Add user interface
* Add user interface