[Bug 13129] Jumbled fonts in Persona Windows client

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Aug 22 12:22:10 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=13129





--- Comment #12 from Rein Klazes <wijn at online.nl>  2009-08-22 12:22:10 ---
Browsing through the fonts on my system, I found another "MT Extra.ttf" that is
not correctly recognized as a symbol font.

This font and the Psfascii font behave correctly with this little patch:

--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -1400,7 +1400,8 @@ static INT AddFontToList(const char *file, void
*font_data_ptr, DWORD font_data_
                 if(pOS2->version == 0) {
                     FT_UInt dummy;

-                    if(!pFT_Get_First_Char || (pFT_Get_First_Char( ft_face,
&dummy ) < 0x100))
+                    if(!pFT_Get_First_Char || ((pFT_Get_First_Char( ft_face,
&dummy ) < 0x100)
+                                && pFT_Get_First_Char( ft_face, &dummy )))
                         fs.fsCsb[0] |= FS_LATIN1;
                     else
                         fs.fsCsb[0] |= FS_SYMBOL;

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list