> Can someone tell me how freetype's monochrome bitmaps are organised
> please.  I'm trying to use FT_RENDER_MODE_MONO to generate a 1-bit
> monochrome bitmap using docs/tutorial/example.c program.  I presume
> 8 bits get packed into one byte of the image-area, but what's the
> bit ordering?  which bit of image[0][0] corresponds to bit 0 if the
> monochrome bitmap?

Please look up the documentation of the FT_Pixel_Mode enumeration.

> Do I need to make use of FT_LOAD_MONOCHROME somewhere?

Yes; you should use the load flags FT_LOAD_MONOCHROME and
FT_LOAD_TARGET_MONO (or FT_RENDER_MODE_MONO if you render the glyph
later).


     Werner


_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to