Fix Uniscribe clusters with multiple items
This commit is contained in:
parent
86e5dd386a
commit
dfa0cade7f
|
@ -359,6 +359,9 @@ retry:
|
||||||
glyph_props + glyphs_offset,
|
glyph_props + glyphs_offset,
|
||||||
(int *) &glyphs_len);
|
(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))
|
if (unlikely (items[i].a.fNoGlyphIndex))
|
||||||
FAIL ("ScriptShapeOpenType() set fNoGlyphIndex");
|
FAIL ("ScriptShapeOpenType() set fNoGlyphIndex");
|
||||||
if (unlikely (hr == E_OUTOFMEMORY))
|
if (unlikely (hr == E_OUTOFMEMORY))
|
||||||
|
|
Loading…
Reference in New Issue