[WIN32SS:NTGDI] Improve a DPRINT

This commit is contained in:
Hermès Bélusca-Maïto 2025-01-23 20:51:18 +01:00
parent 9c474c4b73
commit c6cd3b242a
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -1998,12 +1998,12 @@ IntGdiLoadFontsFromMemory(PGDI_LOAD_FONT pLoadFont,
for (i = 1; i < CharSetCount; ++i)
{
/* Do not count charsets towards 'faces' loaded */
/* Do not count charsets as loaded 'faces' */
IntGdiLoadFontsFromMemory(pLoadFont, SharedFace, FontIndex, i);
}
}
return FaceCount; /* number of loaded faces */
return FaceCount; /* Number of loaded faces */
}
static INT FASTCALL
@ -5938,9 +5938,10 @@ TextIntRealizeFont(HFONT FontHandle, PTEXTOBJ pTextObj)
/* substitute */
SubstitutedLogFont = *pLogFont;
DPRINT("Font '%S,%u' is substituted by: ", pLogFont->lfFaceName, pLogFont->lfCharSet);
SubstituteFontRecurse(&SubstitutedLogFont);
DPRINT("'%S,%u'.\n", SubstitutedLogFont.lfFaceName, SubstitutedLogFont.lfCharSet);
DPRINT("Font '%S,%u' is substituted by '%S,%u'.\n",
pLogFont->lfFaceName, pLogFont->lfCharSet,
SubstitutedLogFont.lfFaceName, SubstitutedLogFont.lfCharSet);
MatchPenalty = 0xFFFFFFFF;
TextObj->Font = NULL;