BUG: Printed Text Is Reflected in GM_ADVANCED Mode (241541)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows NT Server 4.0
  • Microsoft Windows NT Workstation 4.0
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • the operating system: Microsoft Windows XP 64-Bit Edition

This article was previously published under Q241541

SYMPTOMS

On some printers, when you print text in an inverted mapping mode such as MM_HIMETRIC, and when GM_ADVANCED graphics mode is set, the text may appear vertically reflected about the top of the character cells. The same code, when run on a screen device context (DC), produces proper (nonreflected) output.

RESOLUTION

To work around this bug, use a noninverted mapping mode (one in which positive Y is down), or don't use GM_ADVANCED graphics mode.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

The following code reproduces this problem:
	SetMapMode( hDC, MM_LOMETRIC);
	SetViewportOrgEx( hDC, 0, GetDeviceCaps( hDC, VERTSIZE ), NULL );
	SetGraphicsMode( hDC, GM_ADVANCED );
	TextOut( hDC, 10, 50, "Hello", 5 );
				

Modification Type:MinorLast Reviewed:5/17/2006
Keywords:kbDSWGDI2003Swept kbbug kbGDI kbnofix kbWorldTrans KB241541