2013-08-19 15:14:20 +00:00
|
|
|
diff --git a/lib/gvc/gvconfig.c b/lib/gvc/gvconfig.c
|
|
|
|
index dc3d578..0562ae8 100644
|
|
|
|
--- a/lib/gvc/gvconfig.c
|
|
|
|
+++ b/lib/gvc/gvconfig.c
|
|
|
|
@@ -507,6 +507,7 @@ void gvconfig(GVC_t * gvc, boolean rescan)
|
2011-01-06 23:04:57 +00:00
|
|
|
libdir = gvconfig_libdir(gvc);
|
|
|
|
rc = stat(libdir, &libdir_st);
|
|
|
|
if (rc == -1) {
|
|
|
|
+ gvtextlayout_select(gvc); /* choose best available textlayout plugin immediately */
|
|
|
|
/* if we fail to stat it then it probably doesn't exist so just fail silently */
|
|
|
|
return;
|
|
|
|
}
|
2013-08-19 15:14:20 +00:00
|
|
|
@@ -521,6 +522,7 @@ void gvconfig(GVC_t * gvc, boolean rescan)
|
2011-01-06 23:04:57 +00:00
|
|
|
if (rescan) {
|
|
|
|
config_rescan(gvc, gvc->config_path);
|
|
|
|
gvc->config_found = TRUE;
|
|
|
|
+ gvtextlayout_select(gvc); /* choose best available textlayout plugin immediately */
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2013-08-19 15:14:20 +00:00
|
|
|
@@ -528,6 +530,7 @@ void gvconfig(GVC_t * gvc, boolean rescan)
|
2011-01-06 23:04:57 +00:00
|
|
|
|
|
|
|
rc = stat(gvc->config_path, &config_st);
|
|
|
|
if (rc == -1) {
|
|
|
|
+ gvtextlayout_select(gvc); /* choose best available textlayout plugin immediately */
|
|
|
|
/* silently return without setting gvc->config_found = TRUE */
|
|
|
|
return;
|
|
|
|
}
|