Commit 91df67df authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite: Cluster text position is relative to initial run.

parent 4fac292e
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment