Original Post
The font renderer (freetype) produces 8bit pixmaps. Those should be drawn as antialiased pixmaps using some nice blending onto the background, so I use drawpixels() with format=GL_ALPHA to draw them. Putting glDrawPixels in a display list greatly improves performance. The problem now is, how to make it possible to render the pixmaps using alpha blending and setting a different "font color" than "black"? Solution was to use glPixelTransfer with GL_xxx_BIAS (RED,GREEN and BLUE bias set to the target color and ALPHA_SCALE to set alpha). This makes the code a perfect fit to my application. BUT bias and scale make rendering text very slow (e.g. 250fps with bias and scale, and >999fps without for a 200x300 pixmap with text). Putting the transfer options into the display list did not help. Is there a better way, to draw a single-channel pixmap and still set the color? drawpixels() with GL_ALPHA unfortunatly sets the color to (0,0,0), and ignores the glColor() setting. When using GL_LUMINANCE one can set the color, but will loose the alpha channel. Also I can not see any glBlendFunc() variation to get the required flexibility.