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:
parent
f9746b600a
commit
0e3361464b
|
@ -136,7 +136,7 @@ void
|
||||||
_hb_set_unicode_props (hb_buffer_t *buffer)
|
_hb_set_unicode_props (hb_buffer_t *buffer)
|
||||||
{
|
{
|
||||||
unsigned int count = buffer->len;
|
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);
|
hb_glyph_info_set_unicode_props (&buffer->info[i], buffer->unicode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue