X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fmule%2Fmule-conf.el;h=c60571c330379c74165d1bbf254af97ef864e452;hb=3f720ab4f094518977d1ee19a4bb3b43dee5972f;hp=813fae738b180e0456eb59b0a0e3c4004180ab17;hpb=cc19609c4fde45a172b90d54f1dd6e57a5e591d3;p=chise%2Fxemacs-chise.git- diff --git a/lisp/mule/mule-conf.el b/lisp/mule/mule-conf.el index 813fae7..c60571c 100644 --- a/lisp/mule/mule-conf.el +++ b/lisp/mule/mule-conf.el @@ -2,7 +2,8 @@ ;; Copyright (C) 1995,1999 Electrotechnical Laboratory, JAPAN. ;; Licensed to the Free Software Foundation. -;; Copyright (C) 1997,1999,2000,2002,2003,2004 MORIOKA Tomohiko +;; Copyright (C) 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2008, +;; 2009 MORIOKA Tomohiko ;; Keywords: mule, multilingual, character set, coding system @@ -25,6 +26,79 @@ ;;; Code: +(cond + ((featurep 'utf-2000) + (make-charset + '=jis-x0208@1978 + "JIS X 0208:1978, unchanged part." + '(registry "jisx0208\\.1978" + dimension 2 + chars 94 + mother =jis-x0208 + =>iso-ir 42 + final ?@ + graphic 0 + partial t)) + (make-charset + '=jis-x0208@1978/-4pr + "JIS X 0208:1978, 1st - 3rd impressions." + '(registry "jisx0208\\.1978" + dimension 2 + chars 94 + mother =jis-x0208@1978 + =>iso-ir 42 + final ?@ + graphic 0 + partial t)) + (make-charset + '=jis-x0208@1978/1pr + "JIS X 0208:1978, 1st impression." + '(iso-ir 42 + registry "jisx0208\\.1978" + dimension 2 + chars 94 + mother =jis-x0208@1978/-4pr + final ?@ + graphic 0)) + (make-charset + '=jis-x0208@1978/-4X + "JIS X 0208:1978, index before the 4th impression." + '(registry "jisx0208\\.1978" + dimension 2 + chars 94 + mother =jis-x0208@1978 + =>iso-ir 42 + ;; final ?@ + graphic 0 + partial t)) + (make-charset + '=jis-x0208@1978/4-pr + "JIS X 0208:1978, 4th impression or later." + '(registry "jisx0208\\.1978" + dimension 2 + chars 94 + mother =jis-x0208@1978 + =>iso-ir 42 + ;; final ?@ + graphic 0 + partial t)) + (define-charset-alias '=jis-x0208@1978/i1 '=jis-x0208@1978/1pr) + (define-charset-alias '=jis-x0208@1978/i-4 '=jis-x0208@1978/-4pr) + (define-charset-alias '=jis-x0208@1978/i4- '=jis-x0208@1978/4-pr) + ) + (t + (make-charset + '=jis-x0208@1978 + "JIS X0208:1978 Japanese Kanji (so called \"old JIS\")." + '(iso-ir 42 + registry "jisx0208\\.1978" + dimension 2 + chars 94 + mother =jis-x0208 + final ?@ + graphic 0)) + )) + (define-charset-alias '=jis-x0208-1978 '=jis-x0208@1978) (define-charset-alias 'japanese-jisx0208-1978 '=jis-x0208@1978) (define-charset-alias 'chinese-gb2312 '=gb2312) @@ -128,30 +202,56 @@ ) ;; JIS X 0213:2000 -(if (featurep 'utf-2000) - (progn - (make-charset - '=jis-x0213-1-2000 - "JIS X 0213:2000 Plain 1" - '(iso-ir 228 - registry "jisx0213\\(\\.2000\\)-1" - dimension 2 - chars 94 - mother =jis-x0208@1990 - final ?O - graphic 0)) - (make-charset - '=jis-x0213-2-2000 - "JIS X 0213:2000 Plain 2" - '(iso-ir 229 - registry "jisx0213\\(\\.2000\\)-2" - dimension 2 - chars 94 - final ?P - graphic 0)) - (define-charset-alias 'japanese-jisx0213-1 '=jis-x0213-1-2000) - (define-charset-alias 'japanese-jisx0213-2 '=jis-x0213-2-2000) - ) +(cond + ((featurep 'utf-2000) + (make-charset + '=jis-x0213-1 + "JIS X 0213 Plain 1 (unchanged part)" + '(registry "jisx0213\\(\\.[0-9]+\\)?-1" + dimension 2 + chars 94 + =>iso-ir 228 + final ?O + graphic 0 + partial t)) + + (make-charset + '=jis-x0213-1@2000 + "JIS X 0213:2000 Plain 1" + '(iso-ir 228 + registry "jisx0213\\(\\.2000\\)-1" + dimension 2 + chars 94 + mother =jis-x0213-1 + final ?O + graphic 0)) + (make-charset + '=jis-x0213-2 + "JIS X 0213 Plain 2" + '(iso-ir 229 + registry "jisx0213\\(\\.\\(2000\\|2004\\)\\)?-2" + dimension 2 + chars 94 + final ?P + graphic 0)) + + (make-charset + '=jis-x0213-1@2004 + "JIS X 0213:2004 Plain 1" + '(iso-ir 233 + registry "jisx0213\\(\\.2004\\)-1" + dimension 2 + chars 94 + mother =jis-x0213-1 + final ?Q + graphic 0)) + + (define-charset-alias 'japanese-jisx0213-1 '=jis-x0213-1@2000) + (define-charset-alias 'japanese-jisx0213-2 '=jis-x0213-2) + (define-charset-alias '=jis-x0213-1-2000 '=jis-x0213-1@2000) + (define-charset-alias '=jis-x0213-2-2000 '=jis-x0213-2) + ) + (t (make-charset 'japanese-jisx0213-1 "JIS X 0213:2000 Plain 1" @@ -168,22 +268,145 @@ chars 94 final ?P graphic 0)) - ) + )) (when (featurep 'utf-2000) (define-charset-alias 'ucs '=ucs) (define-charset-alias '=jis-x0208-1990 '=jis-x0208@1990) (define-charset-alias 'japanese-jisx0208-1990 '=jis-x0208@1990) + (make-charset - '=jis-x0208@1997 - "JIS X 0208 based on the unification rule of 1997 edition." + '=>>jis-x0208 + "JIS X 0208 abstract glyphs (unchanged part)." '(registry "jisx0208\\.1990" dimension 2 chars 94 mother =jis-x0208 + =>iso-ir 168 ;; final ?B graphic 0)) + (make-charset + '=>>jis-x0213-1 + "JIS X 0213 Plain 1 abstract glyphs (unchanged part)" + '(registry "jisx0213\\(\\.[0-9]+\\)?-1" + dimension 2 + chars 94 + mother =jis-x0213-1 + =>iso-ir 228 + ;; final ?O + graphic 0 + ;; partial t + )) + (make-charset + '=>>jis-x0213-1@2000 + "JIS X 0213:2000 Plain 1 abstract glyphs" + '(registry "jisx0213\\(\\.2000\\)-1" + dimension 2 + chars 94 + mother =>>jis-x0213-1 + =>iso-ir 228 + ;; final ?O + graphic 0 + ;; partial t + )) + (make-charset + '=>>jis-x0213-2 + "JIS X 0213 Plain 2 abstract glyphs" + '(registry "jisx0213\\(\\.\\(2000\\|2004\\)\\)?-2" + dimension 2 + chars 94 + mother =jis-x0213-2 + =>iso-ir 229 + ;; final ?P + graphic 0)) + (make-charset + '=>>jis-x0213-1@2004 + "JIS X 0213:2004 Plain 1 abstract glyphs" + '(registry "jisx0213\\(\\.2004\\)-1" + dimension 2 + chars 94 + mother =>>jis-x0213-1 + =>iso-ir 233 + ;; final ?Q + graphic 0 + ;; partial t + )) + + (make-charset + '=>jis-x0208 + "JIS X 0208 based on the unchanged unification rules." + '(registry "jisx0208\\.1990" + dimension 2 + chars 94 + mother =>>jis-x0208 + =>iso-ir 168 + ;; final ?B + graphic 0)) + (define-charset-alias '<=>jis-x0208 '=>jis-x0208) + (make-charset + '=>jis-x0208@1997 + "JIS X 0208 based on the unification rule of 1997 edition." + '(registry "jisx0208\\.1990" + dimension 2 + chars 94 + mother =>jis-x0208 + =>iso-ir 168 + ;; final ?B + graphic 0)) + (define-charset-alias '<=>jis-x0208@1997 '=>jis-x0208@1997) + (define-charset-alias ' =jis-x0208@1997 '=>jis-x0208@1997) + + (make-charset + '=>jis-x0213-1 + "JIS X 0213 Plain 1 abstract characters (unchanged part)" + '(registry "jisx0213\\(\\.[0-9]+\\)?-1" + dimension 2 + chars 94 + mother =>>jis-x0213-1 + =>iso-ir 228 + ;; final ?O + graphic 0 + ;; partial t + )) + (define-charset-alias '<=>jis-x0213-1 '=>jis-x0213-1) + (make-charset + '=>jis-x0213-1@2000 + "JIS X 0213:2000 Plain 1 abstract characters" + '(registry "jisx0213\\(\\.2000\\)-1" + dimension 2 + chars 94 + mother =>jis-x0213-1 + =>iso-ir 228 + ;; final ?O + graphic 0 + ;; partial t + )) + (define-charset-alias '<=>jis-x0213-1@2000 '=>jis-x0213-1@2000) + (make-charset + '=>jis-x0213-1@2004 + "JIS X 0213:2004 Plain 1 abstract characters" + '(registry "jisx0213\\(\\.2004\\)-1" + dimension 2 + chars 94 + mother =>jis-x0213-1 + =>iso-ir 233 + ;; final ?Q + graphic 0 + ;; partial t + )) + (define-charset-alias '<=>jis-x0213-1@2004 '=>jis-x0213-1@2004) + (make-charset + '=>jis-x0213-2 + "JIS X 0213 Plain 2 abstract characters" + '(registry "jisx0213\\(\\.\\(2000\\|2004\\)\\)?-2" + dimension 2 + chars 94 + mother =>>jis-x0213-2 + =>iso-ir 229 + ;; final ?P + graphic 0)) + (make-charset '=big5-cdp "Big5 with CDP extension" '(long-name "Big5-CDP" @@ -211,6 +434,17 @@ max-code ,(+ (lsh #x6100 16) 67547) code-offset ,(lsh #x6100 16))) (define-charset-alias 'ideograph-gt '=gt) + (make-charset '=>>gt + "GT 2000 abstract glyphs" + `(long-name "abstract GT" + chars 256 + dimension 3 + columns 2 + graphic 2 + direction l2r + mother =gt)) + (define-charset-alias '<=>gt '=>>gt) + (define-charset-alias '<==>gt '=>>gt) (make-charset '=gt-k "Ideographic components of GT" `(long-name "GT components" @@ -309,6 +543,59 @@ )) (define-charset-alias '=daikanwa-rev2 '=daikanwa@rev2) + (make-charset '=shinjigen + "Kadokawa ShinJigen dictionary (common parts)" + `(long-name "Shinjigen common parts" + chars 256 + dimension 2 + columns 2 + graphic 2 + direction l2r + registry "Shinjigen\\(\\.[0-9]+\\)?-*")) + + (make-charset '=shinjigen@1ed + "Kadokawa ShinJigen dictionary (the first edition)" + `(long-name "Shinjigen-1" + chars 256 + dimension 2 + columns 2 + graphic 2 + direction l2r + mother =shinjigen + registry "Shinjigen\\(\\.[0-9]+\\)?-1")) + (define-charset-alias 'shinjigen-1 '=shinjigen@1ed) + + (make-charset '=shinjigen@1ed/24pr + "Kadokawa ShinJigen dictionary (the 24th impression)" + `(long-name "Shinjigen-1 24pr" + chars 256 + dimension 2 + columns 2 + graphic 2 + direction l2r + mother =shinjigen@1ed)) + + (make-charset '=shinjigen@rev + "Kadokawa ShinJigen dictionary (the revised edition)" + `(long-name "Shinjigen-2" + chars 256 + dimension 2 + columns 2 + graphic 2 + direction l2r + mother =shinjigen + registry "Shinjigen\\(\\.[0-9]+\\)?-2")) + (define-charset-alias 'shinjigen-2 '=shinjigen@rev) + (make-charset '=shinjigen/+p@rev + "ShinJigen (the second edition) number with '" + `(long-name "Shinjigen-2 with '" + chars 256 + dimension 2 + columns 2 + graphic 2 + direction l2r)) + (define-charset-alias 'shinjigen-2-p '=shinjigen/+p@rev) + (make-charset '=big5-pua "Big5 with private used area" '(long-name "Big5-PUA" @@ -444,6 +731,7 @@ columns 2 graphic 2 direction l2r + =>iso-ir 177 mother =ucs)) (make-charset '=ucs@unicode "Unicode for its representative glyphs" @@ -453,6 +741,7 @@ columns 2 graphic 2 direction l2r + =>iso-ir 177 mother =ucs@iso)) (make-charset '=ucs@gb "ISO/IEC 10646 for GB" @@ -462,6 +751,7 @@ columns 2 graphic 2 direction l2r + =>iso-ir 177 mother =ucs@unicode)) (define-charset-alias 'ucs-gb '=ucs@gb) (make-charset '=ucs@gb/fw @@ -472,6 +762,7 @@ columns 2 graphic 2 direction l2r + =>iso-ir 177 mother =ucs@gb)) (make-charset '=ucs-bmp@gb "ISO/IEC 10646 BMP for GB" @@ -492,6 +783,7 @@ columns 2 graphic 2 direction l2r + =>iso-ir 177 mother =ucs@unicode)) (define-charset-alias 'ucs-cns '=ucs@cns) (make-charset '=ucs@cns/fw @@ -502,6 +794,7 @@ columns 2 graphic 2 direction l2r + =>iso-ir 177 mother =ucs@cns)) (make-charset '=ucs-bmp@cns "ISO/IEC 10646 BMP for CNS" @@ -522,6 +815,7 @@ columns 2 graphic 2 direction l2r + =>iso-ir 177 mother =ucs@unicode)) (define-charset-alias 'ucs-jis '=ucs@jis) (make-charset '=ucs@jis/fw @@ -532,6 +826,7 @@ columns 2 graphic 2 direction l2r + =>iso-ir 177 mother =ucs@jis)) (make-charset '=ucs-bmp@jis "ISO/IEC 10646 BMP for JIS" @@ -552,6 +847,7 @@ columns 2 graphic 2 direction l2r + =>iso-ir 177 mother ucs-jis)) (define-charset-alias '=ucs@jis-1990 '=ucs@jis/1990) (define-charset-alias '=ucs-jis-1990 '=ucs@jis/1990) @@ -563,9 +859,20 @@ columns 2 graphic 2 direction l2r + =>iso-ir 177 mother ucs-jis)) (define-charset-alias '=ucs@jis-2000 '=ucs@jis/2000) (define-charset-alias '=ucs-jis-2000 '=ucs@jis/2000) + (make-charset '=ucs@jis/2004 + "ISO/IEC 10646 for JIS X 0213:2004" + '(long-name "UCS for JIS:2004" + chars 256 + dimension 3 + columns 2 + graphic 2 + direction l2r + =>iso-ir 177 + mother ucs-jis)) (make-charset '=ucs@JP "UCS for common glyphs used in Japan" '(long-name "UCS for Japan" @@ -574,7 +881,8 @@ columns 2 graphic 2 direction l2r - mother =ucs@jis/2000)) + =>iso-ir 177 + mother =ucs@jis/2004)) (define-charset-alias '=ucs@jp '=ucs@JP) (make-charset '=ucs@ks "ISO/IEC 10646 for Korean Standards" @@ -584,6 +892,7 @@ columns 2 graphic 2 direction l2r + =>iso-ir 177 mother =ucs@unicode)) (define-charset-alias 'ucs-ks '=ucs@ks) (make-charset '=ucs-bmp@ks @@ -605,6 +914,7 @@ columns 2 graphic 2 direction l2r + =>iso-ir 177 mother =ucs@unicode)) (define-charset-alias 'ucs-big5 '=ucs@big5) (make-charset '=ucs@big5/cns11643 @@ -615,6 +925,7 @@ columns 2 graphic 2 direction l2r + =>iso-ir 177 mother =ucs@big5)) (make-charset '=ucs@cns11643 "ISO/IEC 10646 for CNS based on www.cns11643.gov.tw" @@ -624,6 +935,7 @@ columns 2 graphic 2 direction l2r + =>iso-ir 177 mother =ucs@cns)) (make-charset @@ -688,7 +1000,10 @@ direction l2r registry "-zh-.*-ucs-0" mother =ucs@unicode - min-code #x2E00 max-code #xA4CF)) + min-code #x2E00 + max-code #x9FA5 + ;; max-code #xA4CF + )) (make-charset '=ucs-sip-ext-b "CJK Ideographs Extension B" @@ -715,6 +1030,83 @@ mother =ucs@iso min-code #x20000 max-code #x2A6D6 code-offset #x20000)) + + (make-charset + '=adobe-japan1-0 + "Adobe-Japan1-0 Character Collection for CID-Keyed Fonts" + '(long-name "Adobe-Japan1-0" + chars 256 + dimension 2 + columns 2 + graphic 2 + direction l2r + registry "AdobeJapan1-0$")) + (make-charset + '=adobe-japan1-1 + "Adobe-Japan1-1 Character Collection for CID-Keyed Fonts" + '(long-name "Adobe-Japan1-1" + chars 256 + dimension 2 + columns 2 + graphic 2 + direction l2r + mother =adobe-japan1-0 + registry "AdobeJapan1-1$")) + (make-charset + '=adobe-japan1-2 + "Adobe-Japan1-2 Character Collection for CID-Keyed Fonts" + '(long-name "Adobe-Japan1-2" + chars 256 + dimension 2 + columns 2 + graphic 2 + direction l2r + mother =adobe-japan1-1 + registry "AdobeJapan1-2$")) + (make-charset + '=adobe-japan1-3 + "Adobe-Japan1-3 Character Collection for CID-Keyed Fonts" + '(long-name "Adobe-Japan1-3" + chars 256 + dimension 2 + columns 2 + graphic 2 + direction l2r + mother =adobe-japan1-2 + registry "AdobeJapan1-3$")) + (make-charset + '=adobe-japan1-4 + "Adobe-Japan1-4 Character Collection for CID-Keyed Fonts" + '(long-name "Adobe-Japan1-4" + chars 256 + dimension 2 + columns 2 + graphic 2 + direction l2r + mother =adobe-japan1-3 + registry "AdobeJapan1-4$")) + (make-charset + '=adobe-japan1-5 + "Adobe-Japan1-5 Character Collection for CID-Keyed Fonts" + '(long-name "Adobe-Japan1-5" + chars 256 + dimension 2 + columns 2 + graphic 2 + direction l2r + mother =adobe-japan1-4 + registry "AdobeJapan1-5$")) + (make-charset + '=adobe-japan1-6 + "Adobe-Japan1-6 Character Collection for CID-Keyed Fonts" + '(long-name "Adobe-Japan1-6" + chars 256 + dimension 2 + columns 2 + graphic 2 + direction l2r + mother =adobe-japan1-5 + registry "AdobeJapan1-6$")) ) ;;; mule-conf.el ends here