Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!rutgers!mcnc!decvax!testmax!evans From: evans@testmax.ZK3.DEC.COM (Marc Evans Ultrix Q/A) Newsgroups: comp.windows.x Subject: Re: DisplayHeightMM/Xqvss Keywords: Xqvss R4 Server returns incorrect Display Height?? Message-ID: <6547@decvax.dec.com> Date: 5 Feb 90 14:29:09 GMT References: <2550@gmu90x.gmu.edu> Sender: news@decvax.dec.com Reply-To: evans@decvax.DEC.COM Distribution: na Organization: Synergytics Lines: 32 Path: testmax!evans Newsgroups: comp.windows.x Distribution: na References: <2550@gmu90x.gmu.edu> From: evans@testmax.ZK3.DEC.COM (Marc Evans Ultrix Q/A) Reply-To: evans@decvax.DEC.COM Organization: Synergytics Subject: Re: DisplayHeightMM/Xqvss Keywords: Xqvss R4 Server returns incorrect Display Height?? In article <2550@gmu90x.gmu.edu>, rauletta@gmu90x.gmu.edu (rauletta) writes: > > Abstract: Xqvss R4 server (cc & gcc) returns incorrect display size > in millimeters. > > The result when a new note is opened is the following: > > hpixel 864 wpixel 1024 hmm 10972 wmm 13004 hpi 2 wpi 2 > > Any suggestions? Where do I look in the server? > The code works correctly against the R3 server. > From what I can tell, the problem is someplace in ddx/dec/qvss/qvss_io.c and/or ddx/mfb/mfbscrinit.c. The function mfbScreenInit is called from the function qvssScreenInit. This particular code happens to be surrounded by some #ifdefs, which if not properly defined may be causing the problem. I suggest that you look closely at qvss_io.c around line 360 to determine if you are compiling with the necessary configuration parameters. ========================================================================== Marc Evans - WB1GRH - evans@decvax.DEC.COM | Synergytics (603)893-8481 Unix/X-window Software Contractor | 3 Koper Ln, Pelham, NH 03076 ==========================================================================