freetype
[Top][All Lists]
Advanced

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

Re: [ft] anti-aliasing question


From: Werner LEMBERG
Subject: Re: [ft] anti-aliasing question
Date: Tue, 09 Feb 2010 15:44:59 +0100 (CET)

> In order for sub-pixel rendering to work, if I understand what I
> read in that link correctly, the R, G, and B values will not be
> equal, since they're providing the sub-pixels on an LCD screen.

Correct.

> The comment indicates the enabling this flag activates sub-pixel
> rendering, yet it later says that with this option on R=G=B.

Ah, bad wording.  It means exactly the opposite.  In git, I've just
changed it to the following:

  [...]

  This macro has no impact on the FreeType API, only on its
  _implementation_.  For example, using FT_RENDER_MODE_LCD when
  calling FT_Render_Glyph still generates a bitmap that is 3 times
  wider than the original size in case this macro isn't defined;
  however, each triplet of subpixels has R=G=B.


    Werner




reply via email to

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