mirror of
https://github.com/reactos/reactos.git
synced 2025-03-01 03:45:16 +00:00
[WIN32SS:NTGDI] Improve a DPRINT
This commit is contained in:
parent
9c474c4b73
commit
c6cd3b242a
1 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue