Commit 18b0ca3f authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite: Fix strikethrough baseline origin.

parent 1a8e957b
......@@ -3002,8 +3002,8 @@ static HRESULT WINAPI dwritetextlayout_Draw(IDWriteTextLayout2 *iface,
LIST_FOR_EACH_ENTRY(s, &This->strikethrough, struct layout_strikethrough, entry) {
IDWriteTextRenderer_DrawStrikethrough(renderer,
context,
s->run->origin_x,
SNAP_COORD(s->run->origin_y),
s->run->origin_x + run->align_dx + origin_x,
SNAP_COORD(s->run->origin_y + origin_y),
&s->s,
s->run->effect);
}
......
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