mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-17 06:49:42 +01:00
IDEA-155347 On Ubuntu with High DPI tooltip font is too thick when the tooltip is fading in and out
Handled missing FC_RGBA_NONE value (cherry picked from commit44fcbdabf8) (cherry picked from commita9ca78b413)
This commit is contained in:
committed by
Maxim Kartashev
parent
0f144a449c
commit
02f6e1b897
@@ -974,7 +974,8 @@ static int setupFTContext(JNIEnv *env, jobject font2D, FTScalerInfo *scalerInfo,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (fcRGBA == FC_RGBA_UNKNOWN) {
|
if (fcRGBA == FC_RGBA_UNKNOWN || fcRGBA == FC_RGBA_NONE) {
|
||||||
|
|
||||||
if (context->aaType == TEXT_AA_LCD_HRGB ||
|
if (context->aaType == TEXT_AA_LCD_HRGB ||
|
||||||
context->aaType == TEXT_AA_LCD_HBGR) {
|
context->aaType == TEXT_AA_LCD_HBGR) {
|
||||||
setupLoadRenderFlags(context, fcHintStyle, fcAutohint, fcAutohintSet,
|
setupLoadRenderFlags(context, fcHintStyle, fcAutohint, fcAutohintSet,
|
||||||
|
|||||||
Reference in New Issue
Block a user