Fix bug with not setting Unicode props of the first character

Fixes Mongolian shaping issue:
https://bugs.freedesktop.org/show_bug.cgi?id=45695
This commit is contained in:
Behdad Esfahbod 2012-04-12 10:06:52 -04:00
parent f9746b600a
commit 0e3361464b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}