mirror of
https://github.com/reactos/reactos.git
synced 2025-04-05 05:01:03 +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
1 changed files with 1 additions and 0 deletions
|
@ -934,6 +934,7 @@ SubstituteFontRecurse(LOGFONTW* pLogFont)
|
|||
break;
|
||||
|
||||
IntUnicodeStringToBuffer(pLogFont->lfFaceName, sizeof(pLogFont->lfFaceName), &OutputNameW);
|
||||
RtlInitUnicodeString(&InputNameW, pLogFont->lfFaceName);
|
||||
|
||||
if (CharSetMap[FONTSUBST_FROM] == DEFAULT_CHARSET ||
|
||||
CharSetMap[FONTSUBST_FROM] == pLogFont->lfCharSet)
|
||||
|
|
Loading…
Reference in a new issue