Diff for /np2/wince/fontmng.cpp between versions 1.11 and 1.13

version 1.11, 2005/04/01 15:35:50 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
Line 437  FNTDAT fontmng_get(void *hdl, const OEMC Line 441  FNTDAT fontmng_get(void *hdl, const OEMC
         UINT    cnt;          UINT    cnt;
   
 #if defined(OSLANG_SJIS) || defined(OSLANG_UTF8)  #if defined(OSLANG_SJIS) || defined(OSLANG_UTF8)
         leng = (UINT8)string[0];          str = (UINT8)string[0];
         if (leng >= 2) {          if (leng >= 2) {
                 str |= ((UINT8)string[1]) << 8;                  str |= ((UINT8)string[1]) << 8;
         }          }

Removed from v.1.11  
changed lines
  Added in v.1.13


RetroPC.NET-CVS <cvs@retropc.net>