Huw Davies : usp10: Don't invert the y-offsets in RTL mode.
Module: wine Branch: master Commit: a66efc263187851e9e88bc45b04afcf053290cb8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a66efc263187851e9e88bc45b0... Author: Huw Davies <huw(a)codeweavers.com> Date: Mon Jan 14 13:17:15 2013 +0000 usp10: Don't invert the y-offsets in RTL mode. --- dlls/usp10/usp10.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c index b25e956..23ba4f5 100644 --- a/dlls/usp10/usp10.c +++ b/dlls/usp10/usp10.c @@ -3282,15 +3282,15 @@ HRESULT WINAPI ScriptTextOut(const HDC hdc, SCRIPT_CACHE *psc, int x, int y, UIN if (i == 0) { x += pGoffset[orig_index].du * dir; - y += pGoffset[orig_index].dv * dir; + y += pGoffset[orig_index].dv; } else { lpDx[(i - 1) * 2] += pGoffset[orig_index].du * dir; - lpDx[(i - 1) * 2 + 1] += pGoffset[orig_index].dv * dir; + lpDx[(i - 1) * 2 + 1] += pGoffset[orig_index].dv; } lpDx[i * 2] -= pGoffset[orig_index].du * dir; - lpDx[i * 2 + 1] -= pGoffset[orig_index].dv * dir; + lpDx[i * 2 + 1] -= pGoffset[orig_index].dv; } }
participants (1)
-
Alexandre Julliard