Gamma correction


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?

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



Any technology distinguishable from magic is insufficiently advanced.

Ulrich von Zadow | +49-172-7872715
Jabber: coder c-base org
Skype: uzadow

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