ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/table/big5.h
(Generate patch)

Comparing rxvt-unicode/src/table/big5.h (file contents):
Revision 1.3 by pcg, Mon Mar 15 00:27:12 2004 UTC vs.
Revision 1.4 by root, Wed Aug 4 03:29:28 2004 UTC

2399 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, big5_f_247, 0, 0, 0, 0, 0, 0, big5_f_254, 2399 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, big5_f_247, 0, 0, 0, 0, 0, 0, big5_f_254,
2400 big5_f_255 2400 big5_f_255
2401}; 2401};
2402 2402
2403 2403
2404struct rxvt_codeset_conv_big5 : rxvt_codeset_conv {
2405 uint32_t from_unicode (unicode_t unicode) const { 2404static uint32_t cs_big5_from_unicode (unicode_t unicode) {
2406 if (unicode <= 0x007f) return unicode; 2405 if (unicode <= 0x007f) return unicode;
2407 if (unicode == 0x014b) return 0xc8fc; 2406 if (unicode == 0x014b) return 0xc8fc;
2408 if (unicode == 0x0153) return 0xc8fa; 2407 if (unicode == 0x0153) return 0xc8fa;
2409 if (unicode == 0x2605) return 0xa1b9; 2408 if (unicode == 0x2605) return 0xa1b9;
2410 if (unicode == 0x2606) return 0xa1b8; 2409 if (unicode == 0x2606) return 0xa1b8;
2425 && big5_f_i[h - 0x00]) 2424 && big5_f_i[h - 0x00])
2426 return big5_f_i[h - 0x00][l - 0x00] 2425 return big5_f_i[h - 0x00][l - 0x00]
2427 ? big5_f_i[h - 0x00][l - 0x00] 2426 ? big5_f_i[h - 0x00][l - 0x00]
2428 : NOCHAR; 2427 : NOCHAR;
2429 return NOCHAR; 2428 return NOCHAR;
2430 } 2429}
2431} rxvt_codeset_conv_big5;
2432 2430
2433#else 2431#else
2434 2432
2435#define rxvt_codeset_conv_big5 rxvt_codeset_conv_unknown 2433#define cs_big5_from_unicode cs_unknown_from_unicode
2434#define cs_big5_to_unicode cs_unknown_to_unicode
2436 2435
2437#endif 2436#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines