forked from AuroraMiddleware/gtk
GdkWin32: Set the "gtk-hint-font-metrics" property
Helps for https://gitlab.gnome.org/GNOME/gtk/-/issues/5257
This commit is contained in:
parent
41f9f1d623
commit
1506de5669
@ -127,6 +127,14 @@ _gdk_win32_get_setting (const char *name,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (strcmp ("gtk-hint-font-metrics", name) == 0)
|
||||||
|
{
|
||||||
|
gboolean hint_font_metrics = TRUE;
|
||||||
|
GDK_NOTE(MISC, g_print("gdk_screen_get_setting(\"%s\") : %s\n", name,
|
||||||
|
hint_font_metrics ? "TRUE" : "FALSE"));
|
||||||
|
g_value_set_boolean (value, hint_font_metrics);
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
else if (strcmp ("gtk-im-module", name) == 0)
|
else if (strcmp ("gtk-im-module", name) == 0)
|
||||||
{
|
{
|
||||||
if (_gdk_input_locale_is_ime)
|
if (_gdk_input_locale_is_ime)
|
||||||
|
Loading…
Reference in New Issue
Block a user