You should do it by yourself, the freetype only support subpixel...

2010/11/22 <[email protected]>

>  I had to include the "ftlcdfil.h" file from my main project.  I was
> expecting the FT_CONFIG_OPTION_SUBPIXEL_RENDERING macro to enable inclusion
> of the file in the FreeType source, but apparently it doesn't so that
> automatically.
>
>
> Best Regards,
>
> Josh Klint
> CEO
> Leadwerks Software
>
> ----- Original Message -----
> *From:* [email protected]
> *To:* [email protected]
> *Sent:* Saturday, November 20, 2010 9:46 PM
> *Subject:* Clear Type
>
> I have succesfully implemented FreeType, but have yet to get Clear Type
> rendering to work.
>
> I uncommented this line in "ftoption.h":
>
> #define
> FT_CONFIG_OPTION_SUBPIXEL_RENDERING
>
> Then I rebuilt the library and recompiled my project.  However, I get an
> error saying the identifier "FT_Library_SetLcdFilter" is not found when I
> add this line:
>
> FT_Library_SetLcdFilter(library, FT_LCD_FILTER_DEFAULT);
>
> I am using Visual Studio 2008.  Any idea what's wrong?
>
> Thanks!
>
>
>
> Best Regards,
>
> Josh Klint
> CEO
> Leadwerks Software
>
> _______________________________________________
> Freetype-devel mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/freetype-devel
>
>
_______________________________________________
Freetype-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to