[Wine-patches] [eter-2.0.0] Revert "Replace MS Sans Serif with Tahoma, because freetype can not rotate bitmap fonts (bug #1819)". (eterbug #4409, eterbug #6224)

Dmitry Timoshkov dmitry на baikal.ru
Ср Апр 25 07:44:38 MSK 2012


This reverts commit 6ef5a841087b8c170fcc870ed1b05472f8cbfc7a and
commit a05b33a1b6b402653fd5360e712f46b9620451ad.
---
 dlls/gdi32/freetype.c |   11 -----------
 1 file changed, 11 deletions(-)

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 4605b23..e22b430 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -3889,17 +3889,6 @@ static HFONT freetype_SelectFont( PHYSDEV dev, HFONT hfont )
     TRACE("DC transform %f %f %f %f\n", dcmat.eM11, dcmat.eM12,
                                         dcmat.eM21, dcmat.eM22);
 
-    /* eterbug #1819: freetype can not to rotate bitmap fonts */
-    if ((lf.lfEscapement == 900) || lf.lfItalic || (lf.lfWeight > FW_NORMAL))
-    {
-        WCHAR FontW[] = { 'M','S',' ','S','a','n','s',' ','S','e','r','i','f',0};
-        if ( !strcmpW(lf.lfFaceName, FontW ) )
-        {
-           WCHAR FontResW[] = { 'T','a','h','o','m','a',0};
-           strcpyW( lf.lfFaceName, FontResW);
-        }
-    }
-
     GDI_CheckNotLock();
     EnterCriticalSection( &freetype_cs );
 
-- 
1.7.9.4



Подробная информация о списке рассылки Wine-patches