From: Nikolay Sivov Subject: dwrite: Pass sideways run flag to shaping methods Message-Id: <5513DE68.4050102@codeweavers.com> Date: Thu, 26 Mar 2015 13:24:40 +0300 --- From 74fc83b57c89b30604917cb6f3dd1107f976fc3d Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Thu, 26 Mar 2015 13:23:43 +0300 Subject: [PATCH] dwrite: Pass sideways run flag to shaping methods --- dlls/dwrite/layout.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/dwrite/layout.c b/dlls/dwrite/layout.c index 7a43566..054aae7 100644 --- a/dlls/dwrite/layout.c +++ b/dlls/dwrite/layout.c @@ -500,7 +500,7 @@ static HRESULT layout_compute_runs(struct dwrite_textlayout *layout) while (1) { hr = IDWriteTextAnalyzer_GetGlyphs(analyzer, run->descr.string, run->descr.stringLength, - run->run.fontFace, FALSE /* FIXME */, run->run.bidiLevel & 1, &run->sa, run->descr.localeName, + run->run.fontFace, run->run.isSideways, run->run.bidiLevel & 1, &run->sa, run->descr.localeName, NULL /* FIXME */, NULL, NULL, 0, max_count, run->clustermap, text_props, run->glyphs, glyph_props, &run->run.glyphCount); if (hr == E_NOT_SUFFICIENT_BUFFER) { @@ -540,12 +540,12 @@ static HRESULT layout_compute_runs(struct dwrite_textlayout *layout) hr = IDWriteTextAnalyzer_GetGdiCompatibleGlyphPlacements(analyzer, run->descr.string, run->descr.clusterMap, text_props, run->descr.stringLength, run->run.glyphIndices, glyph_props, run->run.glyphCount, run->run.fontFace, run->run.fontEmSize, layout->pixels_per_dip, &layout->transform, layout->use_gdi_natural, - FALSE /* FIXME */, run->run.bidiLevel & 1, &run->sa, run->descr.localeName, NULL, NULL, 0, + run->run.isSideways, run->run.bidiLevel & 1, &run->sa, run->descr.localeName, NULL, NULL, 0, run->advances, run->offsets); else hr = IDWriteTextAnalyzer_GetGlyphPlacements(analyzer, run->descr.string, run->descr.clusterMap, text_props, run->descr.stringLength, run->run.glyphIndices, glyph_props, run->run.glyphCount, run->run.fontFace, - run->run.fontEmSize, FALSE /* FIXME */, run->run.bidiLevel & 1, &run->sa, run->descr.localeName, + run->run.fontEmSize, run->run.isSideways, run->run.bidiLevel & 1, &run->sa, run->descr.localeName, NULL, NULL, 0, run->advances, run->offsets); heap_free(text_props); -- 2.1.4