Recently created font problem - anyone see similar?

Dr J A Gow J.A.Gow at
Thu Mar 2 16:45:40 CST 2006


	I found that the following patch, committed to CVS on 23/02/06
at 20:33:06 made all my Wine system fonts squashed up and unreadable, which
in turn made a mess of formatting in some dialog boxes. I backed the
patch out from a current tree and the problem went away. Anyone else see
this behaviour? I am wondering what the purpose of this patch is as
the fonts were quite OK before it was committed, and now they are
completely unreadable on this system. Any thoughts before I submit a
patch to put this back the way it was?


The offending patch:

Module: wine
Branch: refs/heads/master
Commit: 69a23a608eea59624b2f37ab424e0f42b3da5baf

Author: Dmitry Timoshkov <dmitry at>
Date:   Thu Feb 23 20:33:06 2006 +0800

gdi: Use "MS Sans Serif" as default sans serif font, not Arial.


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

diff --git a/dlls/gdi/freetype.c b/dlls/gdi/freetype.c
index ad0d6eb..51e92b8 100644
--- a/dlls/gdi/freetype.c
+++ b/dlls/gdi/freetype.c
@@ -284,10 +284,10 @@ static struct list font_list = LIST_INIT

  static const WCHAR defSerif[] = {'T','i','m','e','s',' ','N','e','w',' ',
-static const WCHAR defSans[] = {'A','r','i','a','l','\0'};
+static const WCHAR defSans[] = {'M','S',' ','S','a','n','s',' ','S','e','r','i','f','\0'};
  static const WCHAR defFixed[] = {'C','o','u','r','i','e','r',' ','N','e','w','\0'};

-static const WCHAR defSystem[] = {'A','r','i','a','l','\0'};
+static const WCHAR defSystem[] = {'S','y','s','t','e','m','\0'};
  static const WCHAR SystemW[] = {'S','y','s','t','e','m','\0'};
  static const WCHAR MSSansSerifW[] = {'M','S',' ','S','a','n','s',' ',

More information about the wine-devel mailing list