"Dan Kegel" <[EMAIL PROTECTED]> writes:

> @@ -1727,6 +1736,22 @@ INT WineEngAddFontResourceEx(LPCWSTR file, DWORD 
> flags, PVOID pdv)
>          {
>              INT ret = AddFontFileToList(unixname, NULL, NULL, 
> ADDFONT_FORCE_BITMAP);
>              HeapFree(GetProcessHeap(), 0, unixname);
> +            if (!ret && !strchrW(file, '\\')) {
> +                /* 
> http://support.installshield.com/kb/view.asp?pcode=ALL&articleid=Q100057
> +                 * suggests that in older versions of Windows, 
> AddFontResource
> +                 * paths were relative to %WINDIR%/Fonts instead of 
> %WINDIR%/System
> +                 * Retry assuming that's what went wrong.
> +                 */

This comment is misleading, fonts are in WINDIR/fonts in all Windows
versions, and we never look in WINDIR/system anyway.

-- 
Alexandre Julliard
[EMAIL PROTECTED]


Reply via email to