Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 921912 - Last Review: December 3, 2007 - Revision: 1.3
Characters that come after Far Eastern characters are shifted downward when you use the ScaleViewPortExtEx function to change the viewport for a DC
When you use the
ScaleViewPortExtEx function to change the viewport for a device context (DC), characters that come after Far Eastern characters are shifted downward in certain situations.
Note This problem generally occurs when the DC mapping is set to the
MM_ISOTROPIC mapping mode or to the MM_ANISOTROPIC mapping mode.
Graphics Device Interface (GDI) uses matrix and invert
matrix to convert logical points to device points and to convert device points
to logical points. When GDI converts a logical point to a device point and then converts the device point back to a logical point, the logical point is not the same in some cases. When the logical point is not the same, this problem occurs.
To work around this problem, use the
ExtTextOut function to draw text and to enable the ETO_GLYPH_INDEX
flag.
Microsoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section.
For more information about the ETO_GLYPH_INDEX flag for the
ExtTextOut function, visit the following Microsoft Web site:
APPLIES TO
- Microsoft .NET Framework 2.0
- Microsoft .NET Framework 1.1
- Microsoft .NET Framework 1.0
| kbtshoot kbbug kbgdi KB921912 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate