]> source.dussan.org Git - tigervnc.git/commitdiff
If font catalogue exists (Fedora 11), use it as the initial font path
authorDRC <dcommander@users.sourceforge.net>
Wed, 22 Apr 2009 13:23:17 +0000 (13:23 +0000)
committerDRC <dcommander@users.sourceforge.net>
Wed, 22 Apr 2009 13:23:17 +0000 (13:23 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3785 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/vncserver

index 873e8db7055b12b728c2da3a5b877a30df13277d..f22d63b5db42afea232818ae8d06f4b51fc816a4 100755 (executable)
@@ -88,6 +88,9 @@ if (CheckXFS(1)) {
        $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');}