On 15.01.2008, at 23:02, imm wrote: > On 15 Jan 2008, at 21:52, Edzard Egberts wrote: > >> "textsize_" and "labelsize_" methods I never saw when doing this - >> these >> are private things somewhere inside the code? > > Yes, a few widgets have private vars for storing the size internally > - these are all uchars, I think, so for the stated aim of allowing > big font sizes, these would all have to be "upgraded" to shorts (or > bigger!)
Nonono, everything font related (size, height, width, text position, etc.) must always be float or even double! Typesetting is a very important quality issue. With todays font rendering engines, fractional pixel positions are no problem (via antialiasing) and make text a lot more readable. It also allows free scaling of a GUI for high DPI displays. Matthias ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

