nanogui: Freetype2 library


Previous by date: 9 Jun 2009 05:14:23 -0000 Re: Freetype2 library, Junior
Next by date: 9 Jun 2009 05:14:23 -0000 Re: Freetype2 library, Junior
Previous in thread: 9 Jun 2009 05:14:23 -0000 Re: Freetype2 library, Junior
Next in thread: 9 Jun 2009 05:14:23 -0000 Re: Freetype2 library, Junior

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 


Previous by date: 9 Jun 2009 05:14:23 -0000 Re: Freetype2 library, Junior
Next by date: 9 Jun 2009 05:14:23 -0000 Re: Freetype2 library, Junior
Previous in thread: 9 Jun 2009 05:14:23 -0000 Re: Freetype2 library, Junior
Next in thread: 9 Jun 2009 05:14:23 -0000 Re: Freetype2 library, Junior


Powered by ezmlm-browse 0.20.