Change the default DPI to 96 as that is what most other systems use and we
want fonts to look the same in Xvnc.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3935 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/unix/xserver/hw/vnc/xvnc.cc b/unix/xserver/hw/vnc/xvnc.cc
index 36d1e6b..1fe3473 100644
--- a/unix/xserver/hw/vnc/xvnc.cc
+++ b/unix/xserver/hw/vnc/xvnc.cc
@@ -1096,11 +1096,14 @@
 vfbScreenInit(int index, ScreenPtr pScreen, int argc, char **argv)
 {
     vfbScreenInfoPtr pvfb = &vfbScreens[index];
-    int dpi = 100;
+    int dpi;
     int ret;
     void *pbits;
 
-    if (monitorResolution) dpi = monitorResolution;
+    /* 96 is the default used by most other systems */
+    dpi = 96;
+    if (monitorResolution)
+        dpi = monitorResolution;
 
     pbits = vfbAllocateFramebufferMemory(&pvfb->fb);
     if (!pbits) return FALSE;