The information in this article applies to:
SUMMARY
To create a font that writes in a direction other than left to right, an
application should specify a nonzero lfEscapement in the LOGFONT structure
that is passed to CreateFontIndirect(). This method works under Windows NT
regardless of the graphics mode of the device context.
SetGraphicsMode( hDC, GM_ADVANCED )to set the graphics mode of the device context to GM_ADVANCED. MORE INFORMATIONThe TTFONTS sample program is a good way to quickly and easily see the effects of the lfEscapement and lfOrientation fields. However, TTFONTS does not set the graphics mode of its test window HDC to GM_ADVANCED. As a result, the lfOrientation field apparently is ignored. It is easy to modify the DISPLAY.C module of TTFONTS in order to set the graphics mode of the window HDC to GM_ADVANCED. Additional query words: 3.10 3.50
Keywords : |
Last Reviewed: January 18, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |