> 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.

Regards,

Greg 


---------------------------------------------------------------------
To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org
For additional commands, e-mail: nanogui-h...@linuxhacker.org

Reply via email to