>> What is the format of the bitmap memory when FT_PIXEL_MODE_LCD is
>> in place?  The docs say 8-bit, but it being 3x as wide suggests
>> maybe 1 byte for each color component?
>
> Also, whats the difference between having
> FT_CONFIG_OPTION_SUBPIXEL_RENDERING turned on or off wrt the format
> of the bitmap in memory?

The format is the same.  Using an LCD rendering mode triples the
horizontal buffer length.

> The header says R=G=B as opposed to what?

If this flag isn't set, you'll get, for example, instead of a 5-pixel
buffer (without LCD rendering)

  ABCDE

a buffer which triples each pixel value:

  AAABBBCCCDDDEEE

According to the information in the web, patents on the ClearType idea
itself aren't valid due to prior art.  However, patents on the LCD
colour filtering used in Windows are definitely valid (well, if you
live in a country where software patents are valid).


    Werner


_______________________________________________
Freetype mailing list
Freetype@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to