> -----Original Message----- > From: g...@censoft.com > Sent: Mon, 8 Jun 2009 23:14:14 -0600 > To: e...@inbox.com, nanogui@linuxhacker.org > Subject: Re: [nanogui] Freetype2 library > >> I thought I added this to freetype 1. If UseBackground is TRUE, >> then the bounding box for the text is cleared first, before the >> text bitmap is drawn. > >> I don't see this in freetype1 code either. Perhaps a patch not merged? >> Should this be something freetype2_drawtext takes care of, or should the >> background be set before the >> bitmap is created? > > Look at the GdArea call and comments above it in > font_freetype.c::drawchar(). > It appears there may be a bug in GdArea if fg == bg.
What source are you referencing? I'm using the cvs source and no comments are above it. Also, what PSD device is DrawAreaInternal using? If any of the screen device draw functions are NULL, what's the default? ____________________________________________________________ Receive Notifications of Incoming Messages Easily monitor multiple email accounts & access them with a click. Visit http://www.inbox.com/notifier and check it out! --------------------------------------------------------------------- To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org For additional commands, e-mail: nanogui-h...@linuxhacker.org