Improved font loaded message

svn path=/trunk/; revision=4406
This commit is contained in:
Jason Filby 2003-03-23 09:46:22 +00:00
parent 44b3528f71
commit 3aed736c06

View file

@ -130,9 +130,8 @@ W32kAddFontResource(LPCWSTR Filename)
FontGDI->TextMetric.tmDescent = face->size->metrics.descender; // units below baseline
FontGDI->TextMetric.tmHeight = FontGDI->TextMetric.tmAscent + FontGDI->TextMetric.tmDescent;
DbgPrint("Family name: %s\n", face->family_name);
DbgPrint("Style name: %s\n", face->style_name);
DbgPrint("Num glyphs: %u\n", face->num_glyphs);
DbgPrint("Win32k: Font loaded: %s (%s)\n", face->family_name, face->style_name);
DPRINT("Num glyphs: %u\n", face->num_glyphs);
// Add this font resource to the font table
FontTable[FontsLoaded].hFont = NewFont;