From 4aa2c81db2f86b41be0122838b481a37cbe78011 Mon Sep 17 00:00:00 2001 From: Huw D M Davies Date: Mon, 24 Jun 2002 23:40:01 +0000 Subject: [PATCH] Get rid of a few thousand useless TRACE lines. --- dlls/wineps/afm.c | 4 ++++ dlls/wineps/glyphlist.c | 9 ++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/dlls/wineps/afm.c b/dlls/wineps/afm.c index 7b73158a370..fbc0a33b1ab 100644 --- a/dlls/wineps/afm.c +++ b/dlls/wineps/afm.c @@ -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; diff --git a/dlls/wineps/glyphlist.c b/dlls/wineps/glyphlist.c index e2ca136653b..6706ac0e350 100644 --- a/dlls/wineps/glyphlist.c +++ b/dlls/wineps/glyphlist.c @@ -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; -- 2.11.4.GIT