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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user