gdi: AddFontResource needs to support a second default directory

Dan Kegel dank at kegel.com
Sun Aug 19 19:10:46 CDT 2007


Some apps assume that AddFontResource looks in c:\windows\fonts.
Those apps probably only work on older versions of Windows,
but we ought to support them.
Seems to fix http://bugs.winehq.org/show_bug.cgi?id=9382

Changelog:
  gdi:  AddFontResource can load fonts from %WINDIR%/Fonts, too

 dlls/gdi32/freetype.c |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug9382.patch
Type: text/x-patch
Size: 1929 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070819/13635050/bug9382-0001.bin


More information about the wine-patches mailing list