> Im having trouble creating "cleartype" quality fonts. I've read the
> docs and need to know how the freetype buffer is packed so I can
> extract the red,green and blues.
By default, FreeType doesn't do any separation into red, green, and
blue values. It just returns a bit map which has a larger horizontal
(or vertical) resolution, namely three times larger. Filtering
happens only if you call FT_Library_SetLcdFilter.
> The buffer is packed differently the flag "FT_LOAD_TARGET_LCD" is
> set. It states in the documentation that the width of the buffer is
> multiplied by three. How to index that buffer?
Have a look into the file graph/grblit.c of the ft2demos package to
see how to handle such bitmaps.
Werner
_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype