FT_Bitmap tempbitmap;
FT_Bitmap_New(&tempbitmap);
FT_Bitmap_Convert( g_Library, &g_Slot->bitmap, &tempbitmap, 1);
 
// at this point tempbitmap.buffer will have a byte per pixel representation
 
FT_Bitmap_Done( g_Library, &tempbitmap );


Date: Wed, 16 Apr 2008 14:22:21 -0500From: [EMAIL PROTECTED]: [EMAIL 
PROTECTED]: Re: [ft] Questions using FT_RENDER_MODE_MONOTom, 
   I tried it out, but the results look almost identical to my original code.  
I have not been able to find any documentation saying how the MONO bits are 
packed in the result bitmap.  My approach will only work if the bits are packed 
as closely as possible.  Do you know if this is the case?  It could be that the 
beginning of each row of the bitmap is byte aligned, or something similar.  
Thanks for the help.

Cheers,
   Graham
_________________________________________________________________
The next generation of Windows Live is here
http://www.windowslive.co.uk/get-live
_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to