nanogui: Re: FLTK font question
Subject:
Re: [nanogui] FLTK font question
From:
"Greg Haerr" ####@####.####
Date:
7 Jul 2011 19:25:44 -0000
Message-Id: <417B5558CD29446796C0B7F40F17349B@winXP>
: 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.
Yes, that was changed in an earlier NXLIB version.
:
: 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.
Instead of recompiling, use a fonts.alias file for the fonts
listed in fl_font_x.cxx that are aliased to font files that exist
on your target system.
Regards,
Greg