gdi32: Symbol encoding should be always selectable

Dmitry Timoshkov dmitry at codeweavers.com
Thu Feb 15 07:28:16 CST 2007


Hello,

this patch fixes a failure in the font charset test in the case when
only Arial is installed. As the test shows the symbol encoding should be
always selectable.

Changelog:
    gdi32: Symbol encoding should be always selectable.

---
 dlls/gdi32/freetype.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index bb58646..26e3915 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -1078,9 +1078,8 @@ static BOOL AddFontFileToList(const char *file, char *fake_family, DWORD flags)
 
                     if(!pFT_Get_First_Char || (pFT_Get_First_Char( ft_face, &dummy ) < 0x100))
                         fs.fsCsb[0] |= 1;
-                    else
-                        fs.fsCsb[0] |= 1L << 31;
                 }
+                fs.fsCsb[0] |= 1 << 31; /* Symbol encoding is always available */
             }
 #ifdef HAVE_FREETYPE_FTWINFNT_H
             else if(pFT_Get_WinFNT_Header && !pFT_Get_WinFNT_Header(ft_face, &winfnt_header)) {
-- 
1.4.4.4






More information about the wine-patches mailing list