locked
WIn8 graphics issue RRS feed

  • Question

  • I have detected a graphics issue with Windows 8 Developer preview on a Shuttle Touchscreen PC. I was running the astronomy software "Eye&Telescope" that was first released in 2002 by a friend of mine and runs on Win98, NT, 2000, Vista and Windows 7. It's written in Visual C++ 6.0, using MFC. The software displays star charts among other things (see www.eyeandtelescope.com for more info).

    On the Windows 8 machine, graphics are distorted in a strange manner. What I find from comparison with other machines/Windows versions points to an issue with GDI mapping modes: Eye&Telescope uses the MM_HIMETRIC mapping mode and the window/viewport dimensions queried with GetDeviceCaps.

    Symptoms: the star map shows no stars -> the ellipses (CDC.Ellipse() function is used) drawn are apparently smaller than one pixel, resulting in no display. The font used to display the constellation name is so tiny that no letters can be recognized, only a few pixels appear.

    However, if the star chart is viewed in print preview, things are OK. Are there known issues with GDI functions in Windows 8?

    Peter

    Thursday, February 23, 2012 4:54 PM

All replies