| version 1.1, 2004/07/14 16:01:40 | version 1.3, 2005/02/26 13:32:14 | 
| Line 197  getfont1(FNTMNG fhdl, FNTDAT fdat, const | Line 197  getfont1(FNTMNG fhdl, FNTDAT fdat, const | 
 | img = gdk_drawable_get_image(fhdl->backsurf, | img = gdk_drawable_get_image(fhdl->backsurf, | 
 | 0, 0, fhdl->rect.width, fhdl->rect.height); | 0, 0, fhdl->rect.width, fhdl->rect.height); | 
 | if (img) { | if (img) { | 
| BYTE *p = (BYTE *)(fdat + 1); | UINT8 *p = (UINT8 *)(fdat + 1); | 
 | unsigned long pixel; | unsigned long pixel; | 
 | int x, y; | int x, y; | 
 |  |  | 
| Line 313  fontmng_get(void *hdl, const char *str) | Line 313  fontmng_get(void *hdl, const char *str) | 
 | } | } | 
 |  |  | 
 | if (((((str[0] ^ 0x20) - 0xa1) & 0xff) < 0x3c) && (str[1] != '\0')) { | if (((((str[0] ^ 0x20) - 0xa1) & 0xff) < 0x3c) && (str[1] != '\0')) { | 
| codecnv_sjis2euc(buf, 4, str, 2); | codecnv_sjistoeuc(buf, 4, str, 2); | 
 | len = 2; | len = 2; | 
| } else if ((BYTE)str[0] >= 0xa1 && (BYTE)str[0] <= 0xdf) { | } else if ((UINT8)str[0] >= 0xa1 && (UINT8)str[0] <= 0xdf) { | 
 | buf[0] = 0x8e; | buf[0] = 0x8e; | 
 | buf[1] = str[0]; | buf[1] = str[0]; | 
 | buf[2] = '\0'; | buf[2] = '\0'; |