gdi32: Revert an unrelated part of 028617b90ba586bdb30723c700eea888c159ada7.

Dmitry Timoshkov dmitry at codeweavers.com
Fri Feb 27 03:57:39 CST 2009


It was not a very nice idea to break bitmap fonts which request a custom
width (therefore a transformation) in a patch that pretended to do something
unrelated.
---
 dlls/gdi32/freetype.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 6ca35c3..54bb999 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -4606,9 +4606,9 @@ DWORD WineEngGetGlyphOutline(GdiFont *incoming_font, UINT glyph, UINT format,
     }
 
     if(ft_face->glyph->format != ft_glyph_format_outline &&
-       (needsTransform || format == GGO_NATIVE || format == GGO_BEZIER ||
-                          format == GGO_GRAY2_BITMAP || format == GGO_GRAY4_BITMAP ||
-                          format == GGO_GRAY8_BITMAP))
+       (format == GGO_NATIVE || format == GGO_BEZIER ||
+        format == GGO_GRAY2_BITMAP || format == GGO_GRAY4_BITMAP ||
+        format == GGO_GRAY8_BITMAP))
     {
         TRACE("loaded a bitmap\n");
         LeaveCriticalSection( &freetype_cs );
-- 
1.6.1.3




More information about the wine-patches mailing list