mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-17 18:12:01 +01:00
reduce logging
This commit is contained in:
parent
638337384b
commit
b084c5e5b2
1 changed files with 3 additions and 9 deletions
|
@ -338,7 +338,6 @@ makeTestBuf( CEDrawCtx* dctx, RFIndex index, XP_UCHAR* buf, XP_U16 bufLen )
|
||||||
case N_RESIZE_FONTS:
|
case N_RESIZE_FONTS:
|
||||||
XP_ASSERT(0);
|
XP_ASSERT(0);
|
||||||
}
|
}
|
||||||
XP_LOGF( "%s=>\"%s\"", __func__, buf );
|
|
||||||
} /* makeTestBuf */
|
} /* makeTestBuf */
|
||||||
|
|
||||||
// #define LOG_BITMAP
|
// #define LOG_BITMAP
|
||||||
|
@ -645,10 +644,6 @@ ceBestFitFont( CEDrawCtx* dctx, RFIndex index, const XP_U16 soughtHeight,
|
||||||
fce->offset = top;
|
fce->offset = top;
|
||||||
fce->glyphHt = thisHeight;
|
fce->glyphHt = thisHeight;
|
||||||
fce->minLen = minLen;
|
fce->minLen = minLen;
|
||||||
XP_LOGF( "%s: found for %s: indexHt: %d; lfHeight: %d; "
|
|
||||||
"glyphHt: %d; minLen: %d", __func__,
|
|
||||||
RFI2Str(index), fce->indexHt, fce->lfHeight,
|
|
||||||
fce->glyphHt, fce->minLen );
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -678,9 +673,9 @@ ceGetSizedFont( CEDrawCtx* dctx, RFIndex index, XP_U16 height, XP_U16 width,
|
||||||
&& ( (fce->indexHt != height)
|
&& ( (fce->indexHt != height)
|
||||||
|| (fce->indexWidth != width)
|
|| (fce->indexWidth != width)
|
||||||
|| (fce->minLen != minLen) ) ) {
|
|| (fce->minLen != minLen) ) ) {
|
||||||
XP_LOGF( "%s: no match for %s (have %d, want %d (width %d, minLen %d) "
|
/* XP_LOGF( "%s: no match for %s (have %d, want %d (width %d, minLen %d) " */
|
||||||
"so recalculating",
|
/* "so recalculating", */
|
||||||
__func__, RFI2Str(index), fce->indexHt, height, width, minLen );
|
/* __func__, RFI2Str(index), fce->indexHt, height, width, minLen ); */
|
||||||
ceBestFitFont( dctx, index, height, width, minLen, fce );
|
ceBestFitFont( dctx, index, height, width, minLen, fce );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -756,7 +751,6 @@ checkBMCache( CEDrawCtx* dctx, HDC hdc, const XP_UCHAR* letters,
|
||||||
if ( canCache && entry->bms[index] != bm ) {
|
if ( canCache && entry->bms[index] != bm ) {
|
||||||
XP_ASSERT( !entry->bms[index] || (entry->bms[index] == bm) );
|
XP_ASSERT( !entry->bms[index] || (entry->bms[index] == bm) );
|
||||||
entry->bms[index] = bm;
|
entry->bms[index] = bm;
|
||||||
XP_LOGF( "%s: storing %p", __func__, bm );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue