Index: dlls/gdi/freetype.c =================================================================== RCS file: /home/wine/wine/dlls/gdi/freetype.c,v retrieving revision 1.27 diff -u -r1.27 freetype.c --- dlls/gdi/freetype.c 13 Nov 2002 23:54:50 -0000 1.27 +++ dlls/gdi/freetype.c 15 Nov 2002 15:21:40 -0000 @@ -1030,8 +1030,12 @@ not_found: if(!family) { /* If requested charset was DEFAULT_CHARSET then try using charset - corresponding to the current ansi codepage */ - if(!csi.fs.fsCsb[0]) { + corresponding to the current ansi codepage. Also it appears if + various other elements of lf are set to zero then we should use + the current ACP's charset. */ + if(!csi.fs.fsCsb[0] || (lf.lfCharSet == 0 && lf.lfHeight == 0 && + lf.lfEscapement == 0 && lf.lfPitchAndFamily == 0 && + lf.lfWidth == 0)) { INT acp = GetACP(); if(!TranslateCharsetInfo((DWORD*)acp, &csi, TCI_SRCCODEPAGE)) { FIXME("TCI failed on codepage %d\n", acp);