---
 cde/programs/dtlogin/config/_common.ksh.src |   25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/cde/programs/dtlogin/config/_common.ksh.src 
b/cde/programs/dtlogin/config/_common.ksh.src
index b3b73ea..6386d13 100644
--- a/cde/programs/dtlogin/config/_common.ksh.src
+++ b/cde/programs/dtlogin/config/_common.ksh.src
@@ -472,7 +472,7 @@ SetKeyboardMap()
 #endif
 #endif
 
-#if defined(CSRG_BASED) || defined(linux)
+#if defined(linux)
 #ifdef cpp_Xsetup
     if [ "$DTXSERVERLOCATION" != "remote" ]; then
       fontpath=
@@ -495,3 +495,26 @@ SetKeyboardMap()
 #endif
 #endif
 
+#if defined(CSRG_BASED)
+#ifdef cpp_Xsetup
+    if [ "$DTXSERVERLOCATION" != "remote" ]; then
+      fontpath=
+      FONTLIB=/usr/local/lib/X11/fonts
+      for i in misc 75dpi 100dpi Speedo Type1 PJE
+      do
+        if [ -f $FONTLIB/$i/fonts.dir ];  then
+            if [ ! -z "$fontpath" ]; then
+               fontpath=$fontpath,$FONTLIB/$i/
+            else
+               fontpath=$FONTLIB/$i/
+            fi
+        fi
+      done
+
+      if [ ! -z "$fontpath" ]; then
+        $XDIR/xset fp+ $fontpath
+      fi
+    fi
+#endif
+#endif
+
-- 
1.7.9.2


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to