Features/Font configuration: Difference between revisions

No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{GoogleTrans-en}}{{TOCright}}
<noinclude>{{GoogleTrans-en}}{{TOCright}}
[[Category:Feature Page Incomplete]]
[[Category:Feature Accepted 0.88]]
[[Category:Feature|Font configuration]]
[[Category:Feature|Font configuration]]
</noinclude>
</noinclude>
Line 12: Line 12:


== Current status ==
== Current status ==
* Targeted release: (SUGAR_VERSION)
* Targeted release: 0.88
* Last updated: (DATE)
* Last updated: 11.01.2010
* Percentage of completion: 10%
* Percentage of completion: 10%


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
Line 104: Line 106:
== How To Test ==
== How To Test ==
# Set font settings in GConf then launch sugar - do they take effect?
# Set font settings in GConf then launch sugar - do they take effect?
# Go into the control panel and change the font - whole desktop should be instantly updated.
## To set the GConf key manually, use the gconftool-2 command from Terminal (''gconftool-2 --set -t string /desktop/sugar/font/default_face Serif'' and ''gconftool-2 --set -t float /desktop/sugar/font/default_size 16'')
## After setting the key, you need to restart Sugar
# (WARNING: This part of the Feature has not landed yet) Go into the control panel and change the font - whole desktop should be instantly updated.


== User Experience ==
== User Experience ==