On 15.01.2008, at 11:49, matthiasm wrote:

> ... But there may be another issue that font sizes are
> somewhere stored or handled as 8 bit only, limiting fonts to a maximum
> height of 255 pixels. This limitation is unfortunatley typical for
> FLTK 1.1 and should not exist in 2.0 - but I have not tested that.
>

Allright, I checked the source code. The limitation is in the  
"labelsize()" function which stores in an unsigned char. You can  
(probably, likely) tickle FLTK to draw in a larger font by writing  
your own "draw()" function for th widget in question. It still does  
not help you if you plan to scale the entire UI, of course. In that  
case, you can change the

uchar Fl_Widget::size;

to int and recompile FLTK (assuming you are going to link statically).

----
http://robowerk.com/


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to