https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c6cd3b242aabffc94c363…
commit c6cd3b242aabffc94c3639ccfb6aa5978e6dc60f
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Thu Jan 23 20:51:18 2025 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Thu Jan 23 20:51:18 2025 +0100
[WIN32SS:NTGDI] Improve a DPRINT
---
win32ss/gdi/ntgdi/freetype.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/win32ss/gdi/ntgdi/freetype.c b/win32ss/gdi/ntgdi/freetype.c
index 457bb6e324c..dd153ff3185 100644
--- a/win32ss/gdi/ntgdi/freetype.c
+++ b/win32ss/gdi/ntgdi/freetype.c
@@ -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;