>>          Fl::set_font(FL_COURIER, 
>> "-*-courier-medium-r-*-*-18-*-*-*-*-*-*-*");
> 
> Wow! This is great!                               
> 
> Just a question, if i copy that statement on my source it render the correct 
> face but it does not scale very well,
> in fact it seems that it does not scale at all! :-)

        That's probably because in my example I pasted a selection
        that included the pixel size (-18-) in the font name.

        If you change the '18' to '*' then it should wildcard
        the size so that FLTK can control the sizes.

        Or you can probably use the more generic 'postscript' names
        as well; I don't have a full understanding of what Fl::set_font()
        does behind the scenes to lookup font names. Other folks here may
        chime in with more info on that..
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to