summaryrefslogtreecommitdiff
path: root/pango/pango-ot-buffer.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-07-29 18:41:25 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-07-30 15:38:44 -0400
commit7444dad9ea3dde39b5276fef4f844237d1e661b1 (patch)
tree4ca879561d0cb0131e9995cb92919fabd0be6531 /pango/pango-ot-buffer.c
parent7f734d99a5f9cef1362a6f9f0257a683e01ceb48 (diff)
downloadpango-7444dad9ea3dde39b5276fef4f844237d1e661b1.tar.gz
[HB] Move direction to buffer
Diffstat (limited to 'pango/pango-ot-buffer.c')
-rw-r--r--pango/pango-ot-buffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pango-ot-buffer.c b/pango/pango-ot-buffer.c
index a977e7d9..cd654535 100644
--- a/pango/pango-ot-buffer.c
+++ b/pango/pango-ot-buffer.c
@@ -155,6 +155,8 @@ pango_ot_buffer_set_rtl (PangoOTBuffer *buffer,
gboolean rtl)
{
buffer->rtl = rtl != FALSE;
+ hb_buffer_set_direction (buffer->buffer,
+ buffer->rtl ? HB_DIRECTION_RTL : HB_DIRECTION_LTR);
}
/**