TextOut() Is Different in Hebrew and Arabic Windows

Last reviewed: January 15, 1998
Article ID: Q139968
3.10 3.11 WINDOWS kbprg

The information in this article applies to:

  • Microsoft Windows Software Development Kit (SDK) versions 3.1, 3.11

The TextOut() function under Hebrew and Arabic versions of Windows 3.1 and Windows for Workgroups 3.11 is different from the TextOut() function under the U.S. version. The Arabic and Hebrew version of TextOut() has additional layout and shaping features to support bidirectional text. Arabic and Hebrew text is rearraged for right-to-left reading before being displayed.

The RawTextOut() function, which is an API available only in the Hebrew and Arabic versions of Windows version 3.1 and Windows for Workgroups version 3.11, is identical to the U.S. version of TextOut().

RawTextOut() should be used if the string must be displayed exactly as it is specified without being shaped and rearranged to fit the Hebrew and Arabic right-to-left reading order.


Additional reference words: 3.10 ME Middle East string layout
KBCategory: kbprg
KBSubcategory: KBIntlDev
Keywords : kbIntlDev kbprg
Version : 3.10 3.11
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 15, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.