[Sugar-devel] [FEATURE] Fonts-configuration
Art Hunkins
abhunkin at uncg.edu
Mon Jan 11 17:03:17 EST 2010
So, is there a way to auto-fill *all size* displays (width-wise) just by
using regular pango functionality and querying for width of screen?
Don't you need also to query default font size to be able to do this?
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