home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / mswindo / programm / misc / 4181 < prev    next >
Encoding:
Text File  |  1992-12-12  |  1.3 KB  |  32 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!newsserver.technet.sg!nuscc!vms1.iscs.nus.sg!nuscss1
  3. From: nuscss1@vms1.iscs.nus.sg (Vax BULLET-IN-Board SysOps)
  4. Subject: Window's co-ordinates ?
  5. Message-ID: <13DEC199204274690@vms1.iscs.nus.sg>
  6. News-Software: VAX/VMS VNEWS 1.41    
  7. Sender: usenet@nuscc.nus.sg
  8. Organization: National University of Singapore Dept. of Computer Sc.
  9. Date: Sun, 13 Dec 1992 02:27:00 GMT
  10. Lines: 20
  11.  
  12.     Hi Gurus,
  13.  
  14.     I have this app in which some text is positioned and printed
  15.     in a window using the TextOut function.  Mapping mode is the
  16.     default MM_TEXT. In normal VGA mode, it
  17.     works flawlessly. BUT, when I switch to SuperVGA with LARGE fonts,
  18.     the text are wrongly positioned ! However, SuperVGA with SMALL fonts
  19.     presents no such problem. 
  20.  
  21.     I'm really puzzled at this. Does the way Windows handles coordinates
  22.     differ with different font sizes ? I've always thought that TextOut
  23.     uses the logical coordinates, and therefore, Windows should be able
  24.     to take care of any differences. Apparently I was mistaken.
  25.  
  26.     Any advice/tips/help would be greatly appreciated.
  27.     Thanx. 
  28.  
  29.     BTW, I've tried this out on a Paradise SuperVGA and a Taiwanese
  30.     Tseng Labs SuperVGA card, installed the 800x600 large font drivers,
  31.     and both had the same problem. 
  32.