Fix Uniscribe clusters with multiple items

This commit is contained in:
Behdad Esfahbod 2012-05-09 19:10:07 +02:00
parent 86e5dd386a
commit dfa0cade7f
1 changed files with 3 additions and 0 deletions

View File

@ -359,6 +359,9 @@ retry:
glyph_props + glyphs_offset,
(int *) &glyphs_len);
for (unsigned int j = chars_offset; j < chars_offset + item_chars_len; j++)
log_clusters[j] += glyphs_offset;
if (unlikely (items[i].a.fNoGlyphIndex))
FAIL ("ScriptShapeOpenType() set fNoGlyphIndex");
if (unlikely (hr == E_OUTOFMEMORY))