dwrite: Cluster text position is relative to initial run.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4fac292ee8
commit
91df67df0c
|
@ -601,7 +601,7 @@ static inline void init_cluster_metrics(const struct dwrite_textlayout *layout,
|
|||
}
|
||||
metrics->length = length;
|
||||
|
||||
position = stop_position;
|
||||
position = run->descr.textPosition + stop_position;
|
||||
if (stop_glyph == run->glyphcount)
|
||||
breakcondition = get_effective_breakpoint(layout, stop_position).breakConditionAfter;
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue