Adding this patch:

--- xc/programs/Xserver/hw/xfree86/common/xf86Priv.h    2004-08-31 
15:50:38.000000000 +1000
+++ xc/programs/Xserver/hw/xfree86/common/xf86Priv.h    2004-08-31 
15:49:51.000000000 +1000
@@ -98,7 +98,7 @@
 #define DEFAULT_LOG_VERBOSE    3
 #endif
 #ifndef DEFAULT_DPI
-#define DEFAULT_DPI            75
+#define DEFAULT_DPI            100
 #endif
 
 #define DEFAULT_UNRESOLVED     TRUE


And removing the '-dpi 100' parts from 905_debian_xdm.diff:

--- debian/patches/905_debian_xdm.diff  2004-08-31 15:54:15.000000000 +1000
+++ debian/patches/905_debian_xdm.diff~ 2004-08-31 15:53:46.000000000 +1000
@@ -12,7 +12,8 @@
 * config/Xres.cpp: report OS name in greeter widget
 * config/Xserv.ws.cpp:
     - add comments to help local admins
-    - run local server with TCP listening turned off for security
+    - run local server with DPI setting forced to 100 and TCP listening
+      turned off for security
 * config/Xsession: replace guts with simple call to Debian's Xsession
   script
 * config/xdm-conf.cpp:
@@ -117,7 +118,7 @@
 +XCOMM Examples for multiple local X displays:
 +XCOMM :0 local BINDIR/X :0 vt9 -depth 15 -nolisten tcp
 +XCOMM :1 local BINDIR/X :1 vt10 -depth 8 -nolisten tcp
-+:0 local BINDIR/X DEFAULTVT -nolisten tcp
++:0 local BINDIR/X DEFAULTVT -dpi 100 -nolisten tcp
 diff -urN xc/programs/xdm~/config/Xsession xc/programs/xdm/config/Xsession
 --- xc/programs/xdm~/config/Xsession   2001-01-17 18:45:24.000000000 -0500
 +++ xc/programs/xdm/config/Xsession    2003-02-23 18:29:33.000000000 -0500


Should give the desired behaviour, ie:
- Use -dpi arg if given by user modifying conffile
- Use DisplaySize if given in XF86Config-4
- Use DCC if available
- Fallback to 100dpi

-- 
 - Gus

Reply via email to