Improve text quality of UI on Windows

When using the default pangocairo backend (win32),
AA is not enabled.

Switching to the FontConfig backend fixes the problem.
This commit is contained in:
Idriss Fekir 2023-08-22 22:10:53 +01:00 committed by Jacob Boerema
parent 73ea5464ef
commit e93e7a124c
1 changed files with 3 additions and 0 deletions

View File

@ -601,6 +601,9 @@ main (int argc,
gimp_init_signal_handlers (&backtrace_file);
#ifdef G_OS_WIN32
/* Enable Anti-Aliasing*/
g_setenv ("PANGOCAIRO_BACKEND", "fc", TRUE);
/* Reduce risks */
SetDllDirectoryW (L"");