CheckIsScript(argc,argv); /* Will run the script and exit if it is a script */
/* If there is no UI, there is always a script */
/* and we will never return from the above */
-#ifdef FONTFORGE_CAN_USE_GDK
- gdk_init(&argc, &argv);
- gdk_set_allowed_backends("win32,quartz,x11");
-#endif
if ( load_prefs==NULL ||
(strcasecmp(load_prefs,"Always")!=0 && /* Already loaded */
strcasecmp(load_prefs,"Never")!=0 ))
}
#endif
}
-
+#ifdef FONTFORGE_CAN_USE_GDK
+ gdk_init(&argc, &argv);
+ gdk_set_allowed_backends("win32,quartz,x11");
+#endif
ensureDotFontForgeIsSetup();
#if defined(__MINGW32__) && !defined(_NO_LIBCAIRO)
//Load any custom fonts for the user interface