From bc2a4dbee086de69cd05a30f3d717cb6858d030c Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Fri, 12 Oct 2007 14:36:44 +0100 Subject: [PATCH] gdi32: Try to load Wine's TrueType fonts from the build directory. --- dlls/gdi32/freetype.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index 8d48e66cf4a..4ece12c221b 100644 --- a/dlls/gdi32/freetype.c +++ b/dlls/gdi32/freetype.c @@ -2179,6 +2179,7 @@ BOOL WineEngInit(void) /* load the system truetype fonts */ data_dir = wine_get_data_dir(); + if (!data_dir) data_dir = wine_get_build_dir(); if (data_dir && (unixname = HeapAlloc(GetProcessHeap(), 0, strlen(data_dir) + sizeof("/fonts/")))) { strcpy(unixname, data_dir); strcat(unixname, "/fonts/");