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

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

2306 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2306 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2307 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, big5_plus_f_254, big5_plus_f_255 2307 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, big5_plus_f_254, big5_plus_f_255
2308}; 2308};
2309 2309
2310 2310
2311struct rxvt_codeset_conv_big5_plus : rxvt_codeset_conv {
2312 uint32_t from_unicode (unicode_t unicode) const { 2311static uint32_t cs_big5_plus_from_unicode (unicode_t unicode) {
2313 if (unicode <= 0x007f) return unicode; 2312 if (unicode <= 0x007f) return unicode;
2314 if (unicode == 0x2605) return 0xa1b9; 2313 if (unicode == 0x2605) return 0xa1b9;
2315 if (unicode == 0x2606) return 0xa1b8; 2314 if (unicode == 0x2606) return 0xa1b8;
2316 if (unicode == 0x2640) return 0xa1f0; 2315 if (unicode == 0x2640) return 0xa1f0;
2317 if (unicode == 0x2642) return 0xa1f1; 2316 if (unicode == 0x2642) return 0xa1f1;
2326 && big5_plus_f_i[h - 0x00]) 2325 && big5_plus_f_i[h - 0x00])
2327 return big5_plus_f_i[h - 0x00][l - 0x00] 2326 return big5_plus_f_i[h - 0x00][l - 0x00]
2328 ? big5_plus_f_i[h - 0x00][l - 0x00] 2327 ? big5_plus_f_i[h - 0x00][l - 0x00]
2329 : NOCHAR; 2328 : NOCHAR;
2330 return NOCHAR; 2329 return NOCHAR;
2331 } 2330}
2332} rxvt_codeset_conv_big5_plus;
2333 2331
2334#else 2332#else
2335 2333
2336#define rxvt_codeset_conv_big5_plus rxvt_codeset_conv_unknown 2334#define cs_big5_plus_from_unicode cs_unknown_from_unicode
2335#define cs_big5_plus_to_unicode cs_unknown_to_unicode
2337 2336
2338#endif 2337#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines