dwrite: Fix clustermap shifting for effective run.
This commit is contained in:
parent
872e569744
commit
9148e87291
|
@ -972,7 +972,7 @@ static HRESULT layout_add_effective_run(struct dwrite_textlayout *layout, const
|
|||
|
||||
/* cluster map needs to be shifted */
|
||||
for (i = 0; i < length; i++)
|
||||
run->clustermap[i] = r->u.regular.clustermap[start] - start;
|
||||
run->clustermap[i] = r->u.regular.clustermap[start + i] - r->u.regular.clustermap[start];
|
||||
|
||||
list_add_tail(&layout->eruns, &run->entry);
|
||||
|
||||
|
|
Loading…
Reference in New Issue