bidi on Windows and Mac

From: Erik van der Poel (
Date: Thu Dec 16 1999 - 14:31:34 EST


I have a couple of questions about bidi in Windows and Mac APIs.

1. Windows

It is my understanding that ExtTextOut will perform reordering
(reversing the order of glyphs) if you pass character codes. On the
other hand, if you pass glyph codes and specify the ETO_GLYPH_INDEX
flag, then ExtTextOut will *not* perform any reordering. Is this true?
Does it depend on the version of Windows? E.g. Windows NT4 vs Windows
9X, bidi Windows vs non-bidi Windows, etc.

Is there a Windows API that allows you to measure text passed in as
glyph codes? I.e. something like GetTextExtentPoint32, but with glyph
codes, not character codes.

2. Mac

Are there any APIs that allow you to circumvent the reordering normally
performed by the API? E.g. by passing glyph codes, special flags, etc. I
would be interested in the answer for QuickDraw and ATSUI, but also for
QuickDraw GX if you happen to know. (Not that Mozilla can rely on
QuickDraw GX since it's not installed everywhere.) Also, I'm interested
in both measuring text, and drawing it.



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:56 EDT