mirror of
https://github.com/reactos/reactos.git
synced 2024-06-21 05:21:31 +00:00
[WIN32SS][NTGDI] Keep FontSubstitutes enumeration CORE-15785 (#1532)
Fix CORE-15785. When LOGFONT.lfFaceName[0] == 0, then enumeration of font substitutes had failed. CORE-15785
This commit is contained in:
parent
86ae6b029f
commit
ae8417fd90
|
@ -2821,7 +2821,13 @@ GetFontFamilyInfoForSubstitutes(const LOGFONTW *LogFont,
|
|||
GetFontFamilyInfoForList(&lf, Info, pFromW->Buffer, pCount, MaxCount,
|
||||
&Win32Process->PrivateFontListHead);
|
||||
IntUnLockProcessPrivateFonts(Win32Process);
|
||||
break;
|
||||
|
||||
if (LogFont->lfFaceName[0])
|
||||
{
|
||||
/* it's already matched to the exact name and charset if the name
|
||||
was specified at here, then so don't scan more for another name */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue