Re: Gamma correction
- From: Behdad Esfahbod <behdad behdad org>
- To: Ulrich von Zadow <coder c-base org>
- Cc: gtk-i18n-list gnome org
- Subject: Re: Gamma correction
- Date: Sun, 10 May 2009 08:24:05 -0400
On 05/09/2009 06:52 PM, Ulrich von Zadow wrote:
Hi,
if I render a text using pango_ft2_render_layout() on a bitmap using
ft_pixel_mode_grays, is the output in linear space or gamma-corrected?
Whatever FreeType assumes. Pango doesn't set anything, so the question is
what's the FreeType default gamma. Donno. Perhaps ask on FreeType list?
behdad
The bitmap in question is used as a GL_ALPHA texture later on, so I need
pixel coverage values.
Regards,
Uli
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]