nanogui: Re: FLTK font question
Subject:
Fw: [nanogui] FLTK font question
From:
"Georg Potthast" ####@####.####
Date:
1 Jul 2011 21:50:57 -0000
Message-Id: <007401cc3838$f3b34d40$6800a8c0@SCHREIBTISCHGP>
Hi,
I guess I found a bug with NXLIB: if you call xlistfonts with the pattern
"fixed" NXLIB will return zero, i.e. it did not find that font.
To work around that I patched in FLTK 1.3.0 the file fl_font_x.cxx. In the
"Fl_Fontdesc built_in_table" I removed the entries for helvetica and
replaced those with dejavu fonts. I still do not get different sized fonts
but at least I get some text on the screen.
Georg