> -----Original Message----- > From: g...@censoft.com > Sent: Sat, 6 Jun 2009 20:22:31 -0600 > To: e...@inbox.com, nanogui@linuxhacker.org > Subject: Re: [nanogui] Freetype2 library > >> After some tests I realize drawing the text in opaque mode is really >> what >> I need. >> does anyone know how to draw TTF fonts opaque? > > 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? --------------------------------------------------------------------- To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org For additional commands, e-mail: nanogui-h...@linuxhacker.org