[Top][All Lists]
[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 21:53:23 +0100 (CET) |
> So if I do the below:
>
> - enable FT_CONFIG_OPTION_SUBPIXEL_RENDERING in ftoption.h
> - call FT_Library_SetLcdFilter with FT_LCD_FILTER_DEFAULT
> - use FT_RENDER_MODE_LCD when calling FT_Render_Glyph
>
> Then, the result of FT_Render_Glyph will be a 24-bit (8 bits for
> each red,green,blue) color image.
Correct.
> Rendering this as a 24-bit color image will take advantage of
> subpixel rendering and since I called FT_Library_SetLcdFilter it
> will already have been filtered to reduce color fringes.
Yep. However, remember that the filtering stuff is probably patented.
> Is the above correct? Or is there some additional filtering I am
> supposed to do other than whats provided by FT_Library_SetLcdFilter?
An important thing is to apply gamma correction, if necessary. In
particular, black on white needs a different gamma compared to white
on black.
Werner
- Re: [ft] anti-aliasing question, (continued)
- Re: [ft] anti-aliasing question, Dave Calkins, 2010/02/07
- Re: [ft] anti-aliasing question, Werner LEMBERG, 2010/02/07
- Re: [ft] anti-aliasing question, Dave Calkins, 2010/02/07
- Re: [ft] anti-aliasing question, Werner LEMBERG, 2010/02/07
- Re: [ft] anti-aliasing question, Dave Calkins, 2010/02/07
- Re: [ft] anti-aliasing question, Dave Calkins, 2010/02/07
- Re: [ft] anti-aliasing question, Werner LEMBERG, 2010/02/08
- Re: [ft] anti-aliasing question, Dave Calkins, 2010/02/09
- Re: [ft] anti-aliasing question, Werner LEMBERG, 2010/02/09
- Re: [ft] anti-aliasing question, Dave Calkins, 2010/02/09
- Re: [ft] anti-aliasing question,
Werner LEMBERG <=
- Re: [ft] anti-aliasing question, Werner LEMBERG, 2010/02/08
- Re: [ft] anti-aliasing question, Dave Calkins, 2010/02/08
- Re: [ft] anti-aliasing question, Werner LEMBERG, 2010/02/09
- Re: [ft] anti-aliasing question, Dave Calkins, 2010/02/09
- Re: [ft] anti-aliasing question, Dave Calkins, 2010/02/07
- Re: [ft] anti-aliasing question, Werner LEMBERG, 2010/02/07
- Re: [ft] anti-aliasing question, Dave Calkins, 2010/02/07
- Re: [ft] anti-aliasing question, Tor Andersson, 2010/02/07
- Re: [ft] anti-aliasing question, Dave Calkins, 2010/02/06
- Re: [ft] anti-aliasing question, Dave Calkins, 2010/02/07