mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +00:00
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
1 changed files with 3 additions and 0 deletions
|
@ -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"");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue