[prev in list] [next in list] [prev in thread] [next in thread]
List: tigervnc-commits
Subject: [Tigervnc-commits] SF.net SVN: tigervnc:[3935]
From: ossman_ () users ! sourceforge ! net
Date: 2009-12-29 16:07:39
Message-ID: E1NPebj-0005P8-SM () 3kljzd1 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Revision: 3935
http://tigervnc.svn.sourceforge.net/tigervnc/?rev=3935&view=rev
Author: ossman_
Date: 2009-12-29 16:07:39 +0000 (Tue, 29 Dec 2009)
Log Message:
-----------
Change the default DPI to 96 as that is what most other systems use and we
want fonts to look the same in Xvnc.
Modified Paths:
--------------
trunk/unix/xserver/hw/vnc/xvnc.cc
Modified: trunk/unix/xserver/hw/vnc/xvnc.cc
===================================================================
--- trunk/unix/xserver/hw/vnc/xvnc.cc 2009-12-23 09:51:37 UTC (rev 3934)
+++ trunk/unix/xserver/hw/vnc/xvnc.cc 2009-12-29 16:07:39 UTC (rev 3935)
@@ -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;
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Tigervnc-commits mailing list
Tigervnc-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic