Override direction in Uniscribe backend
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 8 Jun 2012 13:26:17 +0000 (09:26 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 8 Jun 2012 13:26:17 +0000 (09:26 -0400)
Matches OT backend now.

src/hb-uniscribe.cc

index 18648a8..2edc178 100644 (file)
@@ -309,7 +309,7 @@ retry:
   *(uint32_t*)&bidi_control |= 1<<24;
 
   bidi_state.uBidiLevel = HB_DIRECTION_IS_FORWARD (buffer->props.direction) ? 0 : 1;
-//  bidi_state.fOverrideDirection = 1;
+  bidi_state.fOverrideDirection = 1;
 
   hr = ScriptItemizeOpenType (wchars,
                              chars_len,