|
|
| version 1.12, 2005/05/16 07:08:49 | version 1.13, 2005/05/17 00:10:40 |
|---|---|
| Line 217 static void getlength1(FNTMNG fhdl, FNTD | Line 217 static void getlength1(FNTMNG fhdl, FNTD |
| fdat->pitch = fntsize.cx >> 1; | fdat->pitch = fntsize.cx >> 1; |
| } | } |
| else { | else { |
| #if !defined(_WIN32_WCE) // PocketPCのみ戻り値が変らしい? | #if !defined(WIN32_PLATFORM_PSPC) // PocketPCのみ戻り値が変らしい? |
| fdat->width = min(fntsize.cx, fhdl->bmpwidth); | fdat->width = min(fntsize.cx, fhdl->bmpwidth); |
| #else | #else |
| fdat->width = min(fntsize.cx + 1, fhdl->bmpwidth); | fdat->width = min(fntsize.cx + 1, fhdl->bmpwidth); |
| Line 245 static void getlength1(FNTMNG fhdl, FNTD | Line 245 static void getlength1(FNTMNG fhdl, FNTD |
| static void fontmng_getchar(FNTMNG fhdl, FNTDAT fdat, | static void fontmng_getchar(FNTMNG fhdl, FNTDAT fdat, |
| const TCHAR *string, int length) { | const TCHAR *string, int length) { |
| #if 1 // sig3は バグあるらすー | |
| ZeroMemory(fhdl->image, fhdl->bmpalign * fhdl->bmpheight); | |
| #else | |
| FillRect(fhdl->hdcimage, &fhdl->rect, | FillRect(fhdl->hdcimage, &fhdl->rect, |
| (HBRUSH)GetStockObject(BLACK_BRUSH)); | (HBRUSH)GetStockObject(BLACK_BRUSH)); |
| #endif | |
| #if !defined(_WIN32_WCE) | #if !defined(_WIN32_WCE) |
| TextOut(fhdl->hdcimage, 0, 0, string, length); | TextOut(fhdl->hdcimage, 0, 0, string, length); |
| #else | #else |