[Sugar-devel] [FEATURE] Fonts-configuration
abhunkin at uncg.edu
Mon Jan 11 17:08:06 EST 2010
When you talk of setting the default font in Gconf, is this the font type
and size you can retrieve with:
settings = gtk.settings_get_default()
font_name = settings.get_property("gtk-font-name")
----- Original Message -----
From: "Daniel Drake" <dsd at laptop.org>
To: "Art Hunkins" <abhunkin at uncg.edu>
Cc: "Simon Schampijer" <simon at schampijer.de>;
<sugar-devel at lists.sugarlabs.org>
Sent: Monday, January 11, 2010 2:17 PM
Subject: Re: [Sugar-devel] [FEATURE] Fonts-configuration
> 2010/1/11 Art Hunkins <abhunkin at uncg.edu>:
>> My code, given in full below, does this - for XO1/1.5, SoaS Strawberry,
>> Blueberry (and hopefully future incarnations of Fedora SoaS), as well as
>> potential future non-Fedora SoaSes. It works fine and has been tested on
>> varying systems except for XO1.5 and non-Fedora SoaSes (obviously - and I
>> may be way off base here; I've assumed a similar set of font conditions
>> SoaS Blueberry).
> Your code does not adhere to my suggested guidelines, which state that
> if filling a specific area is required then you should dynamically
> figure out the font size using regular pango functionality. See the
> Measure activity for an example.
>> My only concern is whether my code will still work once the proposed UI
>> implemented. I'd appreciate any and all insight to this end.
> I'd say your code is unlikely to continue working well in the future
> regardless of whether this feature is implemented. I also think that
> it won't even work very well at the moment, e.g. you seem to assume
> that all blueberry users have identical displays.
More information about the Sugar-devel