Diff for /np2/wince/fontmng.cpp between versions 1.3 and 1.5

version 1.3, 2003/12/01 21:15:13 version 1.5, 2004/06/14 13:35:40
Line 208  int fontmng_getpoint(void *hdl) { Line 208  int fontmng_getpoint(void *hdl) {
         return(0);          return(0);
 }  }
   
 #ifdef _WIN32_WCE  #ifdef UNICODE
 static void getlength1(FNTMNG fhdl, FNTDAT fdat, LPCTSTR string,  static void getlength1(FNTMNG fhdl, FNTDAT fdat, LPCTSTR string,
                                                                                                         int tleng, int length) {                                                                                                          int tleng, int length) {
   
Line 223  static void getlength1(FNTMNG fhdl, FNTD Line 223  static void getlength1(FNTMNG fhdl, FNTD
                         fdat->height = fhdl->bmpheight >> 1;                          fdat->height = fhdl->bmpheight >> 1;
                 }                  }
                 else {                  else {
   #if 1           // PocketPCのみ戻り値が変らしい?
                           fdat->width = min(fntsize.cx, fhdl->bmpwidth);
   #else
                         fdat->width = min(fntsize.cx + 1, fhdl->bmpwidth);                          fdat->width = min(fntsize.cx + 1, fhdl->bmpwidth);
   #endif
                         fdat->pitch = min(fntsize.cx, fhdl->bmpwidth);                          fdat->pitch = min(fntsize.cx, fhdl->bmpwidth);
                         fdat->height = fhdl->bmpheight;                          fdat->height = fhdl->bmpheight;
                 }                  }

Removed from v.1.3  
changed lines
  Added in v.1.5


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