From 0e3361464b00b76aa7375515163e0710a691db0c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 12 Apr 2012 10:06:52 -0400 Subject: [PATCH] Fix bug with not setting Unicode props of the first character Fixes Mongolian shaping issue: https://bugs.freedesktop.org/show_bug.cgi?id=45695 --- src/hb-ot-shape.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc index 34c0d52f5..92481ed69 100644 --- a/src/hb-ot-shape.cc +++ b/src/hb-ot-shape.cc @@ -136,7 +136,7 @@ void _hb_set_unicode_props (hb_buffer_t *buffer) { unsigned int count = buffer->len; - for (unsigned int i = 1; i < count; i++) + for (unsigned int i = 0; i < count; i++) hb_glyph_info_set_unicode_props (&buffer->info[i], buffer->unicode); }