[Sugar-devel] More information on font scaling problem

Tomeu Vizoso tomeu at sugarlabs.org
Fri Jun 5 11:36:57 EDT 2009


On Fri, Jun 5, 2009 at 17:32, James Simmons<jim.simmons at walgreens.com> wrote:
> Tomeu,
>
> I think I figured this out by looking at the code for sugar.graphics.style.
>  It looks like my Sugar test environment needs to have an environment
> variable SUGAR_SCALING defined and it needs to be given a numeric value.  If
> I *don't* have such a variable then the measurements are suited for an XO.
>  If I *do* have one than the numeric value assigned to SUGAR_SCALING is
> multiplied by my specified font size to get a larger font that looks good on
> sugar-emulator.
>
> I'm guessing that Fedora 10 does not provide this environment variable.   So
> the question is, what value would I specify for this environment variable if
> I specified it?

Oh, I understand now. Yeah, the SUGAR_SCALING env var was only used in
the XO. On non-XOs it wasn't supposed to be needed, but may not be the
case in some screens.

> Now on SoaS,  which should be .84, I'm seeing the same font issue I had with
> sugar-emulator in Fedora 10.  Not only my app has a font which is much too
> small, but Develop has a *really* small font for displaying code, whereas
> the fonts in the rest of the app (where they likely used the default) look
> fine.  I'm not using the very latest SoaS but the one I have is only a few
> weeks old.

Can you try again with the last one? It contains a bugfix related to that.

Thanks,

Tomeu

> James Simmons
>
>
>


More information about the Sugar-devel mailing list