comparison src/objects-xlike-inc.c @ 4756:5d67242595a8

Update charset_table used by Xft.
author Stephen J. Turnbull <stephen@xemacs.org>
date Wed, 18 Nov 2009 11:28:58 +0900
parents ea66743ff201
children a23ac8f90a49
comparison
equal deleted inserted replaced
4755:c1784fd59d7d 4756:5d67242595a8
345 { &Vcharset_latin_jisx0201, "Japanese", "ja" }, 345 { &Vcharset_latin_jisx0201, "Japanese", "ja" },
346 { &Vcharset_japanese_jisx0208_1978, "Japanese", "ja" }, 346 { &Vcharset_japanese_jisx0208_1978, "Japanese", "ja" },
347 { &Vcharset_greek_iso8859_7, "Greek", "el" }, 347 { &Vcharset_greek_iso8859_7, "Greek", "el" },
348 /* #### all the Chinese need checking 348 /* #### all the Chinese need checking
349 Damn the blood-sucking ISO anyway. */ 349 Damn the blood-sucking ISO anyway. */
350 { &Vcharset_chinese_gb2312, "simplified Chinese", "zh-CN" }, 350 { &Vcharset_chinese_gb2312, "simplified Chinese", "zh-cn" },
351 { &Vcharset_korean_ksc5601, "Korean", "ko" }, 351 { &Vcharset_korean_ksc5601, "Korean", "ko" },
352 { &Vcharset_chinese_cns11643_1, "traditional Chinese", "zh-TW" }, 352 { &Vcharset_chinese_cns11643_1, "traditional Chinese", "zh-tw" },
353 { &Vcharset_chinese_cns11643_2, "traditional Chinese", "zh-TW" }, 353 { &Vcharset_chinese_cns11643_2, "traditional Chinese", "zh-tw" },
354 /* #### not obvious how to handle these
355 We could (for experimental purposes) make the last element into
356 an array of ISO 639 codes, and check for all of them. If a font
357 provides some but not others, warn. */
354 { &Vcharset_latin_iso8859_1, NULL, NULL }, 358 { &Vcharset_latin_iso8859_1, NULL, NULL },
355 { &Vcharset_latin_iso8859_2, NULL, NULL }, 359 { &Vcharset_latin_iso8859_2, NULL, NULL },
356 { &Vcharset_latin_iso8859_3, NULL, NULL }, 360 { &Vcharset_latin_iso8859_3, NULL, NULL },
357 { &Vcharset_latin_iso8859_4, NULL, NULL }, 361 { &Vcharset_latin_iso8859_4, NULL, NULL },
358 { &Vcharset_latin_iso8859_9, NULL, NULL }, 362 { &Vcharset_latin_iso8859_9, NULL, NULL },
359 { &Vcharset_latin_iso8859_15, NULL, NULL }, 363 { &Vcharset_latin_iso8859_15, NULL, NULL },
360 { &Vcharset_thai_tis620, NULL, NULL }, 364 { &Vcharset_thai_tis620, "Thai", "th" },
365 /* We don't have an arabic charset. bidi issues, I guess? */
366 /* { &Vcharset_arabic_iso8859_6, "Arabic", "ar" }, */
361 { &Vcharset_hebrew_iso8859_8, "Hebrew", "he" }, 367 { &Vcharset_hebrew_iso8859_8, "Hebrew", "he" },
362 { &Vcharset_cyrillic_iso8859_5, NULL, NULL }, 368 /* #### probably close enough for Ukraine? */
369 { &Vcharset_cyrillic_iso8859_5, "Russian", "ru" },
363 /* #### these probably are not quite right */ 370 /* #### these probably are not quite right */
364 { &Vcharset_chinese_big5_1, "traditional Chinese", "zh-TW" }, 371 { &Vcharset_chinese_big5_1, "traditional Chinese", "zh-tw" },
365 { &Vcharset_chinese_big5_2, "traditional Chinese", "zh-TW" }, 372 { &Vcharset_chinese_big5_2, "traditional Chinese", "zh-tw" },
366 { NULL, NULL, NULL } 373 { NULL, NULL, NULL }
367 }; 374 };
368 375
369 /* Choose appropriate font name for debug messages. 376 /* Choose appropriate font name for debug messages.
370 Use only in the top half of next function (enforced with #undef). */ 377 Use only in the top half of next function (enforced with #undef). */