From 989dbd1ee9289bc486018fc53b576ed9dfe29d8c Mon Sep 17 00:00:00 2001 From: DRC Date: Wed, 22 Apr 2009 13:23:17 +0000 Subject: 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 --- unix/vncserver | 3 +++ 1 file changed, 3 insertions(+) (limited to 'unix') diff --git a/unix/vncserver b/unix/vncserver index 873e8db7..f22d63b5 100755 --- a/unix/vncserver +++ b/unix/vncserver @@ -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');} -- cgit v1.2.3