Re: [g-a-devel]hard coded font sizes



Bill Haneman <bill haneman sun com> writes: 
> "foo" didn't confuse me, but I am surprised if "xx-large" gives
> you a true relative size, I wouldn't expect it to.  Do you mean
> to say that "large" will be different sizes depending on your 
> gtkrc theme?
> 
> If not, "xx-large" is still considered hard-coding of the size,
> you should use only "smaller" and/or "larger".
> 

xx-large means "larger", it is relative to the default font. It scales
by the PANGO_SCALE_XX_LARGE factor.

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]