Sanel Zukan ha scritto: >> Hi all, >> How can I set a "global" font for an application? (Currently using fltk >> 1.1.7). >> >> Thanks in advance, >> Pas. >> > > Hoping Fl::set_font() can do the job, calling before show(). > > Actually Fl::set_font(FL_HELVETICA, "font name") is better, since > FL_HELVETICA face is used as default one. > > Or if you want to use one of predefined (courier,times), you can use it > with Fl::set_font(FL_HELVETICA, FL_COURIER). > > -- > Sanel > _______________________________________________ > fltk mailing list > [email protected] > http://lists.easysw.com/mailman/listinfo/fltk > . > > Ok, but for font's size? Under winXP the font appears too big...
Thanks again, Pas. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

