Commit bc2a4dbe authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

gdi32: Try to load Wine's TrueType fonts from the build directory.

parent e5df622f
......@@ -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/");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment