home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- 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
- From: nuscss1@vms1.iscs.nus.sg (Vax BULLET-IN-Board SysOps)
- Subject: Window's co-ordinates ?
- Message-ID: <13DEC199204274690@vms1.iscs.nus.sg>
- News-Software: VAX/VMS VNEWS 1.41
- Sender: usenet@nuscc.nus.sg
- Organization: National University of Singapore Dept. of Computer Sc.
- Date: Sun, 13 Dec 1992 02:27:00 GMT
- Lines: 20
-
- Hi Gurus,
-
- I have this app in which some text is positioned and printed
- in a window using the TextOut function. Mapping mode is the
- default MM_TEXT. In normal VGA mode, it
- works flawlessly. BUT, when I switch to SuperVGA with LARGE fonts,
- the text are wrongly positioned ! However, SuperVGA with SMALL fonts
- presents no such problem.
-
- I'm really puzzled at this. Does the way Windows handles coordinates
- differ with different font sizes ? I've always thought that TextOut
- uses the logical coordinates, and therefore, Windows should be able
- to take care of any differences. Apparently I was mistaken.
-
- Any advice/tips/help would be greatly appreciated.
- Thanx.
-
- BTW, I've tried this out on a Paradise SuperVGA and a Taiwanese
- Tseng Labs SuperVGA card, installed the 800x600 large font drivers,
- and both had the same problem.
-