Module: wine
Branch: refs/heads/master
Commit: c0e0de6c4e7aea28bf3d707f50f6ca5b47a38b84
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=c0e0de6c4e7aea28bf3d707…
Author: Eric Pouech <eric.pouech(a)wanadoo.fr>
Date: Sat Mar 18 13:32:31 2006 +0100
dbghelp: Compiland and source files are not the same thing.
- in MSC debug info parsing, clearly separate a source file
information from a compiland (including in linetab structure)
- in ELF debug info parsing, now storing compiland directly
in symtab_elt while browsing the symtab section (we still
create twice the compilands, once in stabs/dwarf parsing,
a second time in symtab parsing)
---
dlls/dbghelp/elf_module.c | 58 +++++++++++------------------------
dlls/dbghelp/msc.c | 74 ++++++++++++++++++---------------------------
dlls/dbghelp/mscvpdb.h | 22 +++++++++----
3 files changed, 62 insertions(+), 92 deletions(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=c0e0de6c4e7aea28bf3…
Module: wine
Branch: refs/heads/master
Commit: a1a54e7bf737e5275ac5ba63bafc51272f12f368
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=a1a54e7bf737e5275ac5ba6…
Author: Vitaly Lipatov <lav(a)etersoft.ru>
Date: Fri Mar 17 18:36:11 2006 +0300
gdi32: Look for ttf fonts in the Wine font dir.
---
dlls/gdi/freetype.c | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/dlls/gdi/freetype.c b/dlls/gdi/freetype.c
index f38ef1b..1914f1f 100644
--- a/dlls/gdi/freetype.c
+++ b/dlls/gdi/freetype.c
@@ -1499,6 +1499,7 @@ BOOL WineEngInit(void)
WCHAR windowsdir[MAX_PATH];
char *unixname;
HANDLE font_mutex;
+ const char *data_dir;
TRACE("\n");
@@ -1578,7 +1579,7 @@ BOOL WineEngInit(void)
}
WaitForSingleObject(font_mutex, INFINITE);
- /* load the system fonts */
+ /* load the system bitmap fonts */
load_system_fonts();
/* load in the fonts from %WINDOWSDIR%\\Fonts first of all */
@@ -1590,6 +1591,15 @@ BOOL WineEngInit(void)
HeapFree(GetProcessHeap(), 0, unixname);
}
+ /* load the system truetype fonts */
+ data_dir = wine_get_data_dir();
+ if (data_dir && (unixname = HeapAlloc(GetProcessHeap(), 0, strlen(data_dir) + sizeof("/fonts/")))) {
+ strcpy(unixname, data_dir);
+ strcat(unixname, "/fonts/");
+ ReadFontDir(unixname, FALSE);
+ HeapFree(GetProcessHeap(), 0, unixname);
+ }
+
/* now look under HKLM\Software\Microsoft\Windows[ NT]\CurrentVersion\Fonts
for any fonts not installed in %WINDOWSDIR%\Fonts. They will have their
full path as the entry. Also look for any .fon fonts, since ReadFontDir