mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
JRE-15 Greyscale text is too dark comparing with subpixel AA
Adjusted default value for greyscale text rendering in freetype
(cherry picked from commit f80497c4f0)
This commit is contained in:
committed by
alexey.ushakov@jetbrains.com
parent
cc7796b8b2
commit
d5ea87b9de
@@ -775,7 +775,7 @@ static void setDefaultScalerSettings(FTScalerContext *context) {
|
||||
if (context->aaType == TEXT_AA_OFF) {
|
||||
context->loadFlags = FT_LOAD_TARGET_MONO;
|
||||
} else if (context->aaType == TEXT_AA_ON) {
|
||||
context->loadFlags = FT_LOAD_TARGET_LIGHT;
|
||||
context->loadFlags = FT_LOAD_TARGET_NORMAL;
|
||||
} else {
|
||||
context->lcdFilter = FT_LCD_FILTER_LIGHT;
|
||||
if (context->aaType == TEXT_AA_LCD_HRGB ||
|
||||
|
||||
Reference in New Issue
Block a user