freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Please explain pixel modes


From: Robert Dailey
Subject: Re: [ft] Please explain pixel modes
Date: Thu, 26 Mar 2009 10:24:41 -0500

Yeah and what you're saying is basically to check if it is FT_PIXEL_MODE_MONO correct?

So that explains the GRAY modes, but what about LCD?

On Thu, Mar 26, 2009 at 10:14 AM, Mickey Gabel <address@hidden> wrote:
Robert Dailey wrote:
Yes I've been using the tutorials exclusively. However, I haven't seen it describe the details of pixel coverage. Perhaps I missed it?

So for aliased text, the only two pixel values I should be seeing for gray are black and white, correct? And for anti-aliased text I should see any range of color? So in essence, the bitmap I get back *is* the alpha channel it seems.


Make sure to check the pixel format of the bitmap you get. Certain fonts contain embedded bitmaps with 1 bit per pixel (you get 8 pixels in one byte, each pixel is either fully on or fully off).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]