nanogui: Freetype2 library
Subject:
Re: [nanogui] Freetype2 library
From:
"Greg Haerr" ####@####.####
Date:
9 Jun 2009 05:14:23 -0000
Message-Id: <02da01c9e8c1$231f0f20$6464a8c0@winXP>
> 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