If font catalogue exists (Fedora 11), use it as the initial font path


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3785 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/unix/vncserver b/unix/vncserver
index 873e8db..f22d63b 100755
--- a/unix/vncserver
+++ b/unix/vncserver
@@ -88,6 +88,9 @@
 	$fontPath = "inet/:7100";  # Some Solaris systems require this
     }
 }
+if (-d "/etc/X11/fontpath.d") {
+    $fontPath = "catalogue:/etc/X11/fontpath.d";
+}
 
 @fontpaths = ('/usr/share/X11/fonts', '/usr/share/fonts', '/usr/share/fonts/X11/');
 if (! -l "/usr/lib/X11") {push(@fontpaths, '/usr/lib/X11/fonts');}