nanogui: Font usage/setup
Subject:
Re: [nanogui] Font usage/setup
From:
"Greg Haerr" ####@####.####
Date:
16 Jan 2006 17:13:01 +0000
Message-Id: <002101c61ac0$16aa9980$6401a8c0@winXP>
> I checked the font_freetype.c code and there (line 352) is a statement:
FIXME: GdArea problem if fg == bg
This certainly would qualify when they are both zero.
I guess the magic is not really when foreground==0 but when
foreground==background (which I never tried other than zero).
The if statement is there to optimize and not draw anything if the
fg and bg colors are the same. The bg was already drawn earlier,
so there wouldn't be any need to draw the fg color.
Start by commenting out the if statement, just leaving the GdArea call.
Let me know if that makes things work.
Regards,
Greg