> > Kevin Cockrell wrote: > > > gl_font(FL_HELVETICA, 18); > > > > > > But I can't seem to get anything to affect the size of the font.
<snip> > The fltk GL font support, depends on being able to access the X "core" fonts > for GL windows when using XFT. But with versions of XFT later than version 2, > the support for mapping "core" fonts was basically removed from XFT... > > So... versions of fltk using XFT on platforms with XFT > 2.0, (which is most > linux boxes these days) end up falling back to a default "safe" font option, > as they fail to access the font you ask for. > Well, I've hacked (err, I mean carefully crafted, of course) a mod into my fltk-118-utf8 patch to make the XFT build at least try to honour gl_font() size requests... The net effect is that you *should* get the size you ask for now - you almost certainly will not get the face you asked for, but it's a start! Anyway, the revised tarball is here: http://www.imm.uklinux.net/fltk/fltk118-utf8-2007-10-03.tar.bz2 Ought to work OK.... I hope! -- Ian _______________________________________________ fltk-opengl mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-opengl
