usp10: Don't invert the y-offsets in RTL mode.

This commit is contained in:
Huw Davies 2013-01-14 13:17:15 +00:00 committed by Alexandre Julliard
parent ca5ded2873
commit a66efc2631
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}
}