Author: tkreuzer
Date: Sat Dec 20 15:01:14 2008
New Revision: 38203
URL:
http://svn.reactos.org/svn/reactos?rev=38203&view=rev
Log:
Handle ETO_PDY more correctly (dy values still ignored)
Modified:
trunk/reactos/subsystems/win32/win32k/objects/freetype.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/freetype.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/freetype.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/freetype.c [iso-8859-1] Sat Dec 20
15:01:14 2008
@@ -3669,7 +3669,14 @@
}
else
{
- TextLeft += Dx[i] << 6;
+ if (fuOptions & ETO_PDY)
+ {
+ TextLeft += Dx[i*2] << 6;
+ }
+ else
+ {
+ TextLeft += Dx[i] << 6;
+ }
// DbgPrint("new TextLeft2: %d\n", TextLeft);
}
previous = glyph_index;