- Improve glyph guard from r42749: allow displaying glyphs if the application knows...
authorGregor Schneider <grschneider@gmail.com>
Tue, 18 Aug 2009 19:51:32 +0000 (19:51 +0000)
committerGregor Schneider <grschneider@gmail.com>
Tue, 18 Aug 2009 19:51:32 +0000 (19:51 +0000)
- Some rendering engines (like FF3) do the conversion without using GetCharacterPlacementA/W

svn path=/trunk/; revision=42773

reactos/subsystems/win32/win32k/objects/freetype.c

index 7a5ae4c..727e239 100644 (file)
@@ -3695,7 +3695,10 @@ NtGdiExtTextOutW(
     }
 
     /* FIXME: remove this as soon as GetCharacterPlacementA/W work properly */
-    fuOptions &= ~ETO_GLYPH_INDEX;
+    if ((fuOptions & ETO_GLYPH_INDEX) && (fuOptions != (ETO_GLYPH_INDEX | ETO_PDY)))
+    {
+        fuOptions &= ~ETO_GLYPH_INDEX;
+    }
 
     /* Finally call the internal routine */
     Result = GreExtTextOutW(hDC,