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);
for(afmle = family->afmlist; afmle; afmle = afmle->next)
{
#if 0
INT i;
#endif
TRACE("\tFontName '%s' (%i glyphs) - '%s' encoding:\n",
afmle->afm->FontName, afmle->afm->NumofMetrics,
@ -173,11 +175,13 @@ static void PSDRV_DumpFontList(void)
/* PSDRV_AFM2C(afmle->afm); */
#if 0
for (i = 0; i < afmle->afm->NumofMetrics; ++i)
{
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);
}
#endif
}
}
return;

View File

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