mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 23:46:50 +00:00
[NTGDI][FREETYPE] Multiple indirect Font Substitutes fix for Factusol (#7020)
Fixes double use of Font Substitutes "Helv" -> "MS Sans Serif" -> "Tahoma".
This commit is contained in:
parent
365c2c1ce3
commit
6190a97df4
|
@ -934,6 +934,7 @@ SubstituteFontRecurse(LOGFONTW* pLogFont)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
IntUnicodeStringToBuffer(pLogFont->lfFaceName, sizeof(pLogFont->lfFaceName), &OutputNameW);
|
IntUnicodeStringToBuffer(pLogFont->lfFaceName, sizeof(pLogFont->lfFaceName), &OutputNameW);
|
||||||
|
RtlInitUnicodeString(&InputNameW, pLogFont->lfFaceName);
|
||||||
|
|
||||||
if (CharSetMap[FONTSUBST_FROM] == DEFAULT_CHARSET ||
|
if (CharSetMap[FONTSUBST_FROM] == DEFAULT_CHARSET ||
|
||||||
CharSetMap[FONTSUBST_FROM] == pLogFont->lfCharSet)
|
CharSetMap[FONTSUBST_FROM] == pLogFont->lfCharSet)
|
||||||
|
|
Loading…
Reference in a new issue