PRB: Device and TrueType Fonts Rotate InconsistentlyLast reviewed: November 2, 1995Article ID: Q82932 |
The information in this article applies to:
SYMPTOMSIn an application for the Microsoft Windows graphical environment that uses a mapping mode other than MM_TEXT and a text alignment other than the default (TA_LEFT, TA_TOP), device fonts and TrueType fonts rotate in the opposite directions. Device fonts may exhibit other unusual behaviors. Differences in rotated text may appear on the screen or in printed output.
RESOLUTIONTo create a font that rotates based on the coordinate system in which the font is used, the application must set the CLIP_LH_ANGLES (0x10) bit in the lfClipPrecision field of the LOGFONT data structure. This technique is backward-compatible with Windows 3.0 because the CLIP_LH_ANGLES bit is ignored in version 3.0.
|
Additional reference words: 3.00 3.10 3.50 4.00 95
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |