Trying to figure out how to render a single character represented by a FT_Bitmap in X

Chris Wilson chris at chris-wilson.co.uk
Sat Feb 16 01:07:01 PST 2013


On Fri, Feb 15, 2013 at 10:17:55PM -0500, joe M wrote:
> Hello,
> 
> I am trying to figure how to print one character from a FT_Bitmap
> (freetype2 bitmap).
> 
> But, I am not able to get the character to display properly. I seem to
> be missing something simple.

Your "bitmap" is likely 8 bits per pixel, not 1. Considering you haven't
told FT how you are going to render it, it may not even be a single
channel...
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the xorg mailing list