--- np2/wince/fontmng.cpp 2005/04/01 15:35:50 1.11 +++ np2/wince/fontmng.cpp 2005/05/17 00:10:40 1.13 @@ -217,7 +217,7 @@ static void getlength1(FNTMNG fhdl, FNTD fdat->pitch = fntsize.cx >> 1; } else { -#if !defined(_WIN32_WCE) // PocketPCのみ戻り値が変らしい? +#if !defined(WIN32_PLATFORM_PSPC) // PocketPCのみ戻り値が変らしい? fdat->width = min(fntsize.cx, fhdl->bmpwidth); #else fdat->width = min(fntsize.cx + 1, fhdl->bmpwidth); @@ -245,8 +245,12 @@ static void getlength1(FNTMNG fhdl, FNTD static void fontmng_getchar(FNTMNG fhdl, FNTDAT fdat, const TCHAR *string, int length) { +#if 1 // sig3は バグあるらすー + ZeroMemory(fhdl->image, fhdl->bmpalign * fhdl->bmpheight); +#else FillRect(fhdl->hdcimage, &fhdl->rect, (HBRUSH)GetStockObject(BLACK_BRUSH)); +#endif #if !defined(_WIN32_WCE) TextOut(fhdl->hdcimage, 0, 0, string, length); #else @@ -437,7 +441,7 @@ FNTDAT fontmng_get(void *hdl, const OEMC UINT cnt; #if defined(OSLANG_SJIS) || defined(OSLANG_UTF8) - leng = (UINT8)string[0]; + str = (UINT8)string[0]; if (leng >= 2) { str |= ((UINT8)string[1]) << 8; }