Get rid of a few thousand useless TRACE lines.

This commit is contained in:
Huw D M Davies 2002-06-24 23:40:01 +00:00 committed by Alexandre Julliard
parent eee03b0ea5
commit 4aa2c81db2
2 changed files with 10 additions and 3 deletions

View File

@ -163,7 +163,9 @@ static void PSDRV_DumpFontList(void)
TRACE("Family '%s'\n", family->FamilyName); TRACE("Family '%s'\n", family->FamilyName);
for(afmle = family->afmlist; afmle; afmle = afmle->next) for(afmle = family->afmlist; afmle; afmle = afmle->next)
{ {
#if 0
INT i; INT i;
#endif
TRACE("\tFontName '%s' (%i glyphs) - '%s' encoding:\n", TRACE("\tFontName '%s' (%i glyphs) - '%s' encoding:\n",
afmle->afm->FontName, afmle->afm->NumofMetrics, afmle->afm->FontName, afmle->afm->NumofMetrics,
@ -173,11 +175,13 @@ static void PSDRV_DumpFontList(void)
/* PSDRV_AFM2C(afmle->afm); */ /* PSDRV_AFM2C(afmle->afm); */
#if 0
for (i = 0; i < afmle->afm->NumofMetrics; ++i) for (i = 0; i < afmle->afm->NumofMetrics; ++i)
{ {
TRACE("\t\tU+%.4lX; C %i; N '%s'\n", afmle->afm->Metrics[i].UV, TRACE("\t\tU+%.4lX; C %i; N '%s'\n", afmle->afm->Metrics[i].UV,
afmle->afm->Metrics[i].C, afmle->afm->Metrics[i].N->sz); afmle->afm->Metrics[i].C, afmle->afm->Metrics[i].N->sz);
} }
#endif
} }
} }
return; return;

View File

@ -124,9 +124,10 @@ inline static INT GlyphListInsert(LPCSTR szName, INT index)
++glyphListSize; ++glyphListSize;
glyphNamesIndexed = FALSE; glyphNamesIndexed = FALSE;
#if 0
TRACE("Added '%s' at glyphList[%i] (glyphListSize now %i)\n", TRACE("Added '%s' at glyphList[%i] (glyphListSize now %i)\n",
glyphList[index]->sz, index, glyphListSize); glyphList[index]->sz, index, glyphListSize);
#endif
return index; return index;
} }
@ -153,8 +154,10 @@ static INT GlyphListSearch(LPCSTR szName, INT loIndex, INT hiIndex)
if (cmpResult == 0) if (cmpResult == 0)
{ {
#if 0
TRACE("Found '%s' at glyphList[%i]\n", glyphList[midIndex]->sz, TRACE("Found '%s' at glyphList[%i]\n", glyphList[midIndex]->sz,
midIndex); midIndex);
#endif
return midIndex; return midIndex;
} }
@ -176,8 +179,6 @@ const GLYPHNAME *PSDRV_GlyphName(LPCSTR szName)
{ {
INT index; INT index;
TRACE("'%s'\n", szName);
index = GlyphListSearch(szName, 0, glyphListSize - 1); index = GlyphListSearch(szName, 0, glyphListSize - 1);
if (index < 0) if (index < 0)
return NULL; return NULL;
@ -203,7 +204,9 @@ VOID PSDRV_IndexGlyphList()
for (i = 0; i < glyphListSize; ++i) for (i = 0; i < glyphListSize; ++i)
{ {
glyphList[i]->index = i; glyphList[i]->index = i;
#if 0
TRACE(" glyphList[%i] -> '%s'\n", i, glyphList[i]->sz); TRACE(" glyphList[%i] -> '%s'\n", i, glyphList[i]->sz);
#endif
} }
glyphNamesIndexed = TRUE; glyphNamesIndexed = TRUE;