Re: Gamma correction

On 05/09/2009 06:52 PM, Ulrich von Zadow wrote:

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?


The bitmap in question is used as a GL_ALPHA texture later on, so I need
pixel coverage values.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]