[Sugar-devel] More information on font scaling problem

Aleksey Lim alsroot at member.fsf.org
Sat Jun 6 04:46:09 EDT 2009


On Fri, Jun 05, 2009 at 05:30:13PM +0200, Tomeu Vizoso wrote:
> On Fri, Jun 5, 2009 at 17:11, James Simmons<jim.simmons at walgreens.com> wrote:
> > Tomeu,
> >
> > The thing is, in the code below I *am* using style.zoom.  It seems to have
> > no effect at all.
> 
> What I would have supposed that would work is using in 0.84 a fixed
> font size of 10 and on the XO style.zoom(X). I didn't wanted to imply
> that X could be 10, I think we were using a smaller font size in the
> Sugar UI.
> 
> Maybe Aleksey could add a zoom() function to sugar.port that on 0.82
> would do some scaling based on the screen resolution and on 0.84 would
> return the value unchanged?

done,
http://people.sugarlabs.org/~alsroot/sugar-port/port.style-module.html

-- 
Aleksey


More information about the Sugar-devel mailing list