1 --- fontconfig/src/fcxml.c 2009-08-13 16:07:13.000000000 +0200
2 +++ fontconfig.new/src/fcxml.c 2009-08-13 16:05:41.000000000 +0200
19 FcExprDestroy (FcExpr *e);
27 FcExprCreateInteger (FcConfig *config, int i)
36 FcExprDestroy (FcExpr *e)
43 typedef enum _FcElement {
47 const FcChar8 *bs = *((FcChar8 **) b);
48 return FcStrCmp (as, bs);
53 FcConfigParseAndLoadDir (FcConfig *config,
66 #include "fcaliastail.h"
69 diff -ruN fontconfig/src/fcxml.c fontconfig.new/src/fcxml.c
70 --- fontconfig/src/fcxml.c 2009-08-13 16:08:49.000000000 +0200
71 +++ fontconfig.new/src/fcxml.c 2009-08-19 00:03:35.000000000 +0200
72 @@ -2466,13 +2466,18 @@
74 return ret || !complain;
80 FcConfigParseAndLoad (FcConfig *config,
91 --- fontconfig/src/fcinit.c 2010-04-27 15:31:41.000000000 +0200
92 +++ fontconfig.new/src/fcinit.c 2010-04-27 15:35:42.000000000 +0200
94 config = FcConfigCreate ();
97 - if (!FcConfigAddDir (config, (FcChar8 *) FC_DEFAULT_FONTS))
98 + char *path = malloc( MAX_PATH + 1 );
99 + GetWindowsDirectory( path, MAX_PATH + 1 );
100 + strcat( path, "\\fonts" );
101 +// printf( "Fonts dir: %s\n", path );
102 + if (!FcConfigAddDir (config, (FcChar8 *) path))
104 char dir[MAX_PATH+5];
105 SHGetFolderPath( NULL, CSIDL_APPDATA, NULL, 0, dir );
106 strncat( dir, "\\vlc", 4 );
107 +// printf( "Cache dir: %s\n", dir );
108 if (!FcConfigAddCacheDir (config, (FcChar8 *)dir))