src/win32/win32dep.c

changeset 4411
24b56b115e9d
parent 4406
a7d91dbcdae8
child 4535
9b3bdd5d6653
--- a/src/win32/win32dep.c	Sat Jan 25 21:09:54 2003 +0000
+++ b/src/win32/win32dep.c	Sat Jan 25 21:23:02 2003 +0000
@@ -269,15 +269,21 @@
 	locale = g_win32_getlocale();
 	debug_printf("Language profile used: %s\n", locale);
 
-	/*
-	 *  Aspell config
-	 */
-	/* Set LANG env var */
+	/* Aspell config */
 	sprintf(newenv, "LANG=%s", locale);
 	if(putenv(newenv)<0)
 		debug_printf("putenv failed\n");
 	g_free(locale);
 
+	/* Disable PANGO UNISCRIBE (for GTK 2.2.0). This may not be necessary in the
+	   future because there will most likely be a check to see if we need this,
+	   but for now we need to set this in order to avoid poor performance for some 
+	   windows machines.
+	*/
+	sprintf(newenv, "PANGO_WIN32_NO_UNISCRIBE=1");
+	if(putenv(newenv)<0)
+		debug_printf("putenv failed\n");
+
 	/*
 	 *  IdleTracker Initialization
 	 */

mercurial