Re: Gamma correction



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]