mirror of https://github.com/GNOME/gimp.git
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:
parent
73ea5464ef
commit
e93e7a124c
|
@ -601,6 +601,9 @@ main (int argc,
|
||||||
gimp_init_signal_handlers (&backtrace_file);
|
gimp_init_signal_handlers (&backtrace_file);
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
|
/* Enable Anti-Aliasing*/
|
||||||
|
g_setenv ("PANGOCAIRO_BACKEND", "fc", TRUE);
|
||||||
|
|
||||||
/* Reduce risks */
|
/* Reduce risks */
|
||||||
SetDllDirectoryW (L"");
|
SetDllDirectoryW (L"");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue