Module: wine Branch: master Commit: 93a21a8b57cd67d021ee2a73655f152c5e9010cb URL: http://source.winehq.org/git/wine.git/?a=commit;h=93a21a8b57cd67d021ee2a7365...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Thu Mar 26 13:23:43 2015 +0300
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);