From: Nikolay Sivov Subject: [PATCH 2/2] dwrite: Reset calculated text height before updating it Message-Id: <55964148.4090402@codeweavers.com> Date: Fri, 03 Jul 2015 11:01:12 +0300 --- From 828449c6f3c46c9dd137eab5d5c716f10847e916 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Thu, 2 Jul 2015 12:05:25 +0300 Subject: [PATCH 2/2] dwrite: Reset calculated text height before updating it --- dlls/dwrite/layout.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/dwrite/layout.c b/dlls/dwrite/layout.c index fbd7df0..980eff5 100644 --- a/dlls/dwrite/layout.c +++ b/dlls/dwrite/layout.c @@ -1215,6 +1215,7 @@ static HRESULT layout_compute_effective_runs(struct dwrite_textlayout *layout) layout->metrics.left = layout->metrics.top = 0.0; layout->metrics.maxBidiReorderingDepth = 1; /* FIXME */ layout->metrics.lineCount = layout->line_count; + layout->metrics.height = 0.0; /* Now all line info is here, update effective runs positions in flow direction */ erun = layout_get_next_erun(layout, NULL); -- 2.1.4