[Sugar-devel] [FEATURE] Fonts-configuration

Art Hunkins abhunkin at uncg.edu
Mon Jan 11 17:08:06 EST 2010


Simple question:

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")
?

Art Hunkins

----- 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, 
>> SoaS
>> 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 
>> to
>> 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 
>> is
>> 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.
>
> Daniel 



More information about the Sugar-devel mailing list