app_server: Enable the RGB subpixel rendering codepath.

This change will have no effect if your FreeType was compiled without subpixel
rendering support, but since FreeType is now binary compatible between versions
with and without subpixel rendering, all you have to do after this change
is to recompile and reinstall FreeType.
This commit is contained in:
Augustin Cavalier
2017-02-02 19:55:56 -05:00
parent daf431d22f
commit d10e64f851
@@ -17,7 +17,11 @@ enum {
HINTING_MODE_MONOSPACED_ONLY
};
#define AVERAGE_BASED_SUBPIXEL_FILTERING
// Uncommenting the following line will enable the average-based (grayscale)
// subpixel filter, thus locking RGB subpixel font rendering out of the build.
// Unless you have a subpixel-enabled FreeType, there shouldn't be a difference,
// as FreeType returns the grayscale hinting unless compiled otherwise.
//#define AVERAGE_BASED_SUBPIXEL_FILTERING
extern bool gSubpixelAntialiasing;
extern uint8 gDefaultHintingMode;