nanogui: Freetype2 library
Subject:
Re: [nanogui] Freetype2 library
From:
Junior ####@####.####
Date:
8 Jun 2009 23:18:32 -0000
Message-Id: <663BD526D80.00000373ejr@inbox.com>
> -----Original Message-----
> From: ####@####.####
> Sent: Sat, 6 Jun 2009 20:22:31 -0600
> To: ####@####.#### ####@####.####
> 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?