update.
[chise/xemacs-chise.git-] / lisp / mule / mule-conf.el
1 ;;; mule-conf.el --- configure multilingual environment
2
3 ;; Copyright (C) 1995,1999 Electrotechnical Laboratory, JAPAN.
4 ;; Licensed to the Free Software Foundation.
5 ;; Copyright (C) 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2008,
6 ;;   2009 MORIOKA Tomohiko
7
8 ;; Keywords: mule, multilingual, character set, coding system
9
10 ;; This file is part of XEmacs.
11
12 ;; XEmacs is free software; you can redistribute it and/or modify
13 ;; it under the terms of the GNU General Public License as published by
14 ;; the Free Software Foundation; either version 2, or (at your option)
15 ;; any later version.
16
17 ;; XEmacs is distributed in the hope that it will be useful,
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 ;; GNU General Public License for more details.
21
22 ;; You should have received a copy of the GNU General Public License
23 ;; along with XEmacs; see the file COPYING.  If not, write to the
24 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
25 ;; Boston, MA 02111-1307, USA.
26
27 ;;; Code:
28
29 (cond
30  ((featurep 'utf-2000)
31   (make-charset
32    '=jis-x0208@1978
33    "JIS X 0208:1978, unchanged part."
34    '(registry "jisx0208\\.1978"
35               dimension 2
36               chars 94
37               mother =jis-x0208
38               =>iso-ir 42
39               final ?@
40               graphic 0
41               partial t))
42   (make-charset
43    '=jis-x0208@1978/-4pr
44    "JIS X 0208:1978, 1st - 3rd impressions."
45    '(registry "jisx0208\\.1978"
46               dimension 2
47               chars 94
48               mother =jis-x0208@1978
49               =>iso-ir 42
50               final ?@
51               graphic 0
52               partial t))
53   (make-charset
54    '=jis-x0208@1978/1pr
55    "JIS X 0208:1978, 1st impression."
56    '(iso-ir 42
57             registry "jisx0208\\.1978"
58             dimension 2
59             chars 94
60             mother =jis-x0208@1978/-4pr
61             final ?@
62             graphic 0))
63   (make-charset
64    '=jis-x0208@1978/-4X
65    "JIS X 0208:1978, index before the 4th impression."
66    '(registry "jisx0208\\.1978"
67               dimension 2
68               chars 94
69               mother =jis-x0208@1978
70               =>iso-ir 42
71               ;; final ?@
72               graphic 0
73               partial t))
74   (make-charset
75    '=jis-x0208@1978/4-pr
76    "JIS X 0208:1978, 4th impression or later."
77    '(registry "jisx0208\\.1978"
78               dimension 2
79               chars 94
80               mother =jis-x0208@1978
81               =>iso-ir 42
82               ;; final ?@
83               graphic 0
84               partial t))
85   (define-charset-alias '=jis-x0208@1978/i1 '=jis-x0208@1978/1pr)
86   (define-charset-alias '=jis-x0208@1978/i-4 '=jis-x0208@1978/-4pr)
87   (define-charset-alias '=jis-x0208@1978/i4- '=jis-x0208@1978/4-pr)
88   )
89  (t
90   (make-charset
91    '=jis-x0208@1978
92    "JIS X0208:1978 Japanese Kanji (so called \"old JIS\")."
93    '(iso-ir 42
94             registry "jisx0208\\.1978"
95             dimension 2
96             chars 94
97             mother =jis-x0208
98             final ?@
99             graphic 0))
100   ))
101
102 (define-charset-alias '=jis-x0208-1978          '=jis-x0208@1978)
103 (define-charset-alias 'japanese-jisx0208-1978   '=jis-x0208@1978)
104 (define-charset-alias 'chinese-gb2312           '=gb2312)
105 (define-charset-alias '=jis-x0208-1983          '=jis-x0208@1983)
106 (define-charset-alias 'japanese-jisx0208        '=jis-x0208@1983)
107 (define-charset-alias 'korean-ksc5601           '=ks-x1001)
108 (define-charset-alias 'japanese-jisx0212        '=jis-x0212)
109 (define-charset-alias 'chinese-cns11643-1       '=cns11643-1)
110 (define-charset-alias 'chinese-cns11643-2       '=cns11643-2)
111 (define-charset-alias 'chinese-gb12345          '=gb12345)
112 (define-charset-alias 'chinese-big5             '=big5)
113
114 ;; PinYin-ZhuYin
115 (make-charset 'sisheng "PinYin-ZhuYin"
116               '(registry "sisheng_cwnn\\|OMRON_UDC_ZH"
117                 dimension 1
118                 chars 94
119                 final ?0
120                 graphic 0
121                 ))
122
123 ;; Lao script.
124 ;; ISO10646's 0x0E80..0x0EDF are mapped to 0x20..0x7F.
125 (make-charset 'lao "Lao script"
126               '(registry "MuleLao-1"
127                 dimension 1
128                 chars 94
129                 final ?1
130                 graphic 1))
131
132 ;; IPA (International Phonetic Alphabet)
133 (make-charset 'ipa "International Phonetic Alphabet"
134               '(registry "MuleIPA"
135                 dimension 1
136                 chars 96
137                 final ?0
138                 graphic 1))
139
140 ;; Ethiopic
141 (make-charset 'ethiopic "Ethiopic"
142               '(registry "Ethio"
143                 dimension 2
144                 chars 94
145                 final ?3
146                 graphic 0
147                 ))
148
149 ;; ISO-IR-165 (CCITT Extended GB)
150 ;;    It is based on CCITT Recommendation T.101, includes GB 2312-80 +
151 ;;    GB 8565-88 table A4 + 293 characters.
152 (if (featurep 'utf-2000)
153     (progn
154       (make-charset '=iso-ir165
155                     "ISO-IR-165 (CCITT Extended GB; Chinese simplified)"
156                     '(iso-ir 165
157                              dimension 2
158                              chars 94
159                              mother =gb2312
160                              final ?E
161                              registry "isoir165"
162                              graphic 0))
163       (define-charset-alias 'chinese-isoir165 '=iso-ir165))
164   (make-charset 'chinese-isoir165
165                 "ISO-IR-165 (CCITT Extended GB; Chinese simplified)"
166                 '(iso-ir 165
167                          dimension 2
168                          chars 94
169                          final ?E
170                          registry "isoir165"
171                          graphic 0)))
172
173 ;; CNS11643 Plane3 thru Plane7
174 ;; These represent more and more obscure Chinese characters.
175 ;; By the time you get to Plane 7, we're talking about characters
176 ;; that appear once in some ancient manuscript and whose meaning
177 ;; is unknown.
178
179 (flet
180     ((make-chinese-cns11643-charset
181       (name iso-ir plane final)
182       (make-charset
183        name (concat "CNS 11643 Plane " plane " (Chinese traditional)")
184        `(iso-ir ,iso-ir
185          registry 
186          ,(concat "CNS11643[.-]\\(.*[.-]\\)?" plane "$")
187          dimension 2
188          chars 94
189          final ,final
190          graphic 0))
191       ))
192   (make-chinese-cns11643-charset '=cns11643-3 183 "3" ?I)
193   (make-chinese-cns11643-charset '=cns11643-4 184 "4" ?J)
194   (make-chinese-cns11643-charset '=cns11643-5 185 "5" ?K)
195   (make-chinese-cns11643-charset '=cns11643-6 186 "6" ?L)
196   (make-chinese-cns11643-charset '=cns11643-7 187 "7" ?M)
197   (define-charset-alias 'chinese-cns11643-3     '=cns11643-3)
198   (define-charset-alias 'chinese-cns11643-4     '=cns11643-4)
199   (define-charset-alias 'chinese-cns11643-5     '=cns11643-5)
200   (define-charset-alias 'chinese-cns11643-6     '=cns11643-6)
201   (define-charset-alias 'chinese-cns11643-7     '=cns11643-7)
202   )
203
204 ;; JIS X 0213:2000
205 (cond
206  ((featurep 'utf-2000)
207   (make-charset
208    '=jis-x0213-1
209    "JIS X 0213 Plain 1 (unchanged part)"
210    '(registry "jisx0213\\(\\.[0-9]+\\)?-1"
211               dimension 2
212               chars 94
213               =>iso-ir 228
214               final ?O
215               graphic 0
216               partial t))
217
218   (make-charset
219    '=jis-x0213-1@2000
220    "JIS X 0213:2000 Plain 1"
221    '(iso-ir 228
222             registry "jisx0213\\(\\.2000\\)-1"
223             dimension 2
224             chars 94
225             mother =jis-x0213-1
226             final ?O
227             graphic 0))
228   (make-charset
229    '=jis-x0213-2
230    "JIS X 0213 Plain 2"
231    '(iso-ir 229
232             registry "jisx0213\\(\\.\\(2000\\|2004\\)\\)?-2"
233             dimension 2
234             chars 94
235             final ?P
236             graphic 0))
237
238   (make-charset
239    '=jis-x0213-1@2004
240    "JIS X 0213:2004 Plain 1"
241    '(iso-ir 233
242             registry "jisx0213\\(\\.2004\\)-1"
243             dimension 2
244             chars 94
245             mother =jis-x0213-1
246             final ?Q
247             graphic 0))
248
249   (define-charset-alias 'japanese-jisx0213-1 '=jis-x0213-1@2000)
250   (define-charset-alias 'japanese-jisx0213-2 '=jis-x0213-2)
251   (define-charset-alias '=jis-x0213-1-2000 '=jis-x0213-1@2000)
252   (define-charset-alias '=jis-x0213-2-2000 '=jis-x0213-2)
253   )
254  (t
255   (make-charset
256    'japanese-jisx0213-1
257    "JIS X 0213:2000 Plain 1"
258    '(registry "jisx0213\\(\\.2000\\)-1"
259               dimension 2
260               chars 94
261               final ?O
262               graphic 0))
263   (make-charset
264    'japanese-jisx0213-2
265    "JIS X 0213:2000 Plain 2"
266    '(registry "jisx0213\\(\\.2000\\)-2"
267               dimension 2
268               chars 94
269               final ?P
270               graphic 0))
271   ))
272
273 (when (featurep 'utf-2000)
274   (define-charset-alias 'ucs '=ucs)
275   (define-charset-alias '=jis-x0208-1990 '=jis-x0208@1990)
276   (define-charset-alias 'japanese-jisx0208-1990 '=jis-x0208@1990)
277
278   (make-charset
279    '=>>jis-x0208
280    "JIS X 0208 abstract glyphs (unchanged part)."
281    '(registry "jisx0208\\.1990"
282               dimension 2
283               chars 94
284               mother =jis-x0208
285               =>iso-ir 168
286               ;; final ?B
287               graphic 0))
288
289   (make-charset
290    '=>>jis-x0213-1
291    "JIS X 0213 Plain 1 abstract glyphs (unchanged part)"
292    '(registry "jisx0213\\(\\.[0-9]+\\)?-1"
293               dimension 2
294               chars 94
295               mother =jis-x0213-1
296               =>iso-ir 228
297               ;; final ?O
298               graphic 0
299               ;; partial t
300               ))
301   (make-charset
302    '=>>jis-x0213-1@2000
303    "JIS X 0213:2000 Plain 1 abstract glyphs"
304    '(registry "jisx0213\\(\\.2000\\)-1"
305               dimension 2
306               chars 94
307               mother =>>jis-x0213-1
308               =>iso-ir 228
309               ;; final ?O
310               graphic 0
311               ;; partial t
312               ))
313   (make-charset
314    '=>>jis-x0213-2
315    "JIS X 0213 Plain 2 abstract glyphs"
316    '(registry "jisx0213\\(\\.\\(2000\\|2004\\)\\)?-2"
317               dimension 2
318               chars 94
319               mother =jis-x0213-2
320               =>iso-ir 229
321               ;; final ?P
322               graphic 0))
323   (make-charset
324    '=>>jis-x0213-1@2004
325    "JIS X 0213:2004 Plain 1 abstract glyphs"
326    '(registry "jisx0213\\(\\.2004\\)-1"
327               dimension 2
328               chars 94
329               mother =>>jis-x0213-1
330               =>iso-ir 233
331               ;; final ?Q
332               graphic 0
333               ;; partial t
334               ))
335
336   (make-charset
337    '=>jis-x0208
338    "JIS X 0208 based on the unchanged unification rules."
339    '(registry "jisx0208\\.1990"
340               dimension 2
341               chars 94
342               mother =>>jis-x0208
343               =>iso-ir 168
344               ;; final ?B
345               graphic 0))
346   (define-charset-alias '<=>jis-x0208 '=>jis-x0208)
347   (make-charset
348    '=>jis-x0208@1997
349    "JIS X 0208 based on the unification rule of 1997 edition."
350    '(registry "jisx0208\\.1990"
351               dimension 2
352               chars 94
353               mother =>jis-x0208
354               =>iso-ir 168
355               ;; final ?B
356               graphic 0))
357   (define-charset-alias '<=>jis-x0208@1997 '=>jis-x0208@1997)
358   (define-charset-alias '  =jis-x0208@1997 '=>jis-x0208@1997)
359
360   (make-charset
361    '=>jis-x0213-1
362    "JIS X 0213 Plain 1 abstract characters (unchanged part)"
363    '(registry "jisx0213\\(\\.[0-9]+\\)?-1"
364               dimension 2
365               chars 94
366               mother =>>jis-x0213-1
367               =>iso-ir 228
368               ;; final ?O
369               graphic 0
370               ;; partial t
371               ))
372   (define-charset-alias '<=>jis-x0213-1 '=>jis-x0213-1)
373   (make-charset
374    '=>jis-x0213-1@2000
375    "JIS X 0213:2000 Plain 1 abstract characters"
376    '(registry "jisx0213\\(\\.2000\\)-1"
377               dimension 2
378               chars 94
379               mother =>jis-x0213-1
380               =>iso-ir 228
381               ;; final ?O
382               graphic 0
383               ;; partial t
384               ))
385   (define-charset-alias '<=>jis-x0213-1@2000 '=>jis-x0213-1@2000)
386   (make-charset
387    '=>jis-x0213-1@2004
388    "JIS X 0213:2004 Plain 1 abstract characters"
389    '(registry "jisx0213\\(\\.2004\\)-1"
390               dimension 2
391               chars 94
392               mother =>jis-x0213-1
393               =>iso-ir 233
394               ;; final ?Q
395               graphic 0
396               ;; partial t
397               ))
398   (define-charset-alias '<=>jis-x0213-1@2004 '=>jis-x0213-1@2004)
399   (make-charset
400    '=>jis-x0213-2
401    "JIS X 0213 Plain 2 abstract characters"
402    '(registry "jisx0213\\(\\.\\(2000\\|2004\\)\\)?-2"
403               dimension 2
404               chars 94
405               mother =>>jis-x0213-2
406               =>iso-ir 229
407               ;; final ?P
408               graphic 0))
409
410   (make-charset '=big5-cdp
411                 "Big5 with CDP extension"
412                 '(long-name     "Big5-CDP"
413                   chars         256
414                   dimension     2
415                   columns       2
416                   graphic       2
417                   direction     l2r
418                   registry      "big5\\.cdp-0"
419                   mother        chinese-big5
420                   min-code      #x8140
421                   max-code      #x8DFE))
422   (define-charset-alias 'chinese-big5-cdp '=big5-cdp)
423
424   (make-charset '=gt
425                 "GT 2000"
426                 `(long-name     "GT"
427                   chars         256
428                   dimension     3
429                   columns       2
430                   graphic       2
431                   direction     l2r
432                   registry      ""
433                   min-code      ,(lsh #x6100 16)
434                   max-code      ,(+ (lsh #x6100 16) 67547)
435                   code-offset   ,(lsh #x6100 16)))
436   (define-charset-alias 'ideograph-gt '=gt)
437   (make-charset '=>>gt
438                 "GT 2000 abstract glyphs"
439                 `(long-name     "abstract GT"
440                   chars         256
441                   dimension     3
442                   columns       2
443                   graphic       2
444                   direction     l2r
445                   mother        =gt))
446   (define-charset-alias '<=>gt '=>>gt)
447   (define-charset-alias '<==>gt '=>>gt)
448   (make-charset '=gt-k
449                 "Ideographic components of GT"
450                 `(long-name     "GT components"
451                   chars         256
452                   dimension     2
453                   columns       2
454                   graphic       2
455                   direction     l2r
456                   registry      ""
457                   min-code      ,(lsh #x6110 16)
458                   max-code      ,(+ (lsh #x6110 16) 17090)
459                   code-offset   ,(lsh #x6110 16)))
460   (define-charset-alias 'ideograph-gt-k '=gt-k)
461   (let ((i 1))
462     (while (<= i 11)
463       (make-charset
464        (intern (format "=gt-pj-%d" i))
465        (format "GT 2000 (pseudo JIS encoding) part %d" i)
466        `(long-name ,(format "GT PJ %d" i)
467                    chars 94
468                    dimension 2
469                    columns 2
470                    graphic 0
471                    direction l2r
472                    registry ,(format "\\(GTpj-%d\\|jisx0208\\.GT-%d\\)$" i i)))
473       (define-charset-alias
474         (intern (format "ideograph-gt-pj-%d" i))
475         (intern (format "=gt-pj-%d" i)))
476       (setq i (1+ i))))
477   (make-charset
478    '=gt-pj-k1
479    "Ideographic parts of GT (pseudo JIS encoding) part 1"
480    '(long-name "GT K1"
481                chars 94
482                dimension 2
483                columns 2
484                graphic 0
485                direction l2r
486                registry "\\(GTKpj-1\\|jisx0208\\.GTK-1\\)$"))
487   (define-charset-alias 'ideograph-gt-pj-k1 '=gt-pj-k1)
488   (make-charset
489    '=gt-pj-k2
490    "Ideographic parts of GT (pseudo JIS encoding) part 2"
491    '(long-name "GT K2"
492                chars 94
493                dimension 2
494                columns 2
495                graphic 0
496                direction l2r
497                registry "\\(GTKpj-2\\|jisx0208\\.GTK-2\\)$"))
498   (define-charset-alias 'ideograph-gt-pj-k2 '=gt-pj-k2)
499
500   (make-charset '=daikanwa
501                 "Daikanwa dictionary (revised version 2)"
502                 `(long-name     "Daikanwa"
503                   chars         256
504                   dimension     2
505                   columns       2
506                   graphic       2
507                   direction     l2r
508                   registry      "Daikanwa\\(\\.[0-9]+\\)?-3"
509                   min-code      #xE00000
510                   max-code      ,(+ #xE00000 50100)
511                   code-offset   #xE00000))
512   (define-charset-alias 'ideograph-daikanwa '=daikanwa)
513
514   (make-charset '=daikanwa@rev1
515                 "Daikanwa dictionary (revised version)"
516                 `(long-name     "Daikanwa Rev."
517                   chars         256
518                   dimension     2
519                   columns       2
520                   graphic       2
521                   direction     l2r
522                   registry      "Daikanwa\\(\\.[0-9]+\\)?-2"
523                   mother        =daikanwa
524                   ))
525   (define-charset-alias 'ideograph-daikanwa-2 '=daikanwa@rev1)
526   (define-charset-alias '=daikanwa-rev1 '=daikanwa@rev1)
527
528   (make-charset '=daikanwa@rev2
529                 "Daikanwa dictionary (revised version 2)"
530                 `(long-name     "Daikanwa"
531                   chars         256
532                   dimension     2
533                   columns       2
534                   graphic       2
535                   direction     l2r
536                   registry      "Daikanwa\\(\\.[0-9]+\\)?-3"
537                   mother        =daikanwa
538                   min-code      1
539                   max-code      49964
540                   ;; min-code   #xE00000
541                   ;; max-code   ,(+ #xE00000 50100)
542                   ;; code-offset        #xE00000
543                   ))
544   (define-charset-alias '=daikanwa-rev2 '=daikanwa@rev2)
545
546   (make-charset '=shinjigen
547                 "Kadokawa ShinJigen dictionary (common parts)"
548                 `(long-name     "Shinjigen common parts"
549                   chars         256
550                   dimension     2
551                   columns       2
552                   graphic       2
553                   direction     l2r
554                   registry      "Shinjigen\\(\\.[0-9]+\\)?-*"))
555
556   (make-charset '=shinjigen@1ed
557                 "Kadokawa ShinJigen dictionary (the first edition)"
558                 `(long-name     "Shinjigen-1"
559                   chars         256
560                   dimension     2
561                   columns       2
562                   graphic       2
563                   direction     l2r
564                   mother        =shinjigen
565                   registry      "Shinjigen\\(\\.[0-9]+\\)?-1"))
566   (define-charset-alias 'shinjigen-1 '=shinjigen@1ed)
567
568   (make-charset '=shinjigen@1ed/24pr
569                 "Kadokawa ShinJigen dictionary (the 24th impression)"
570                 `(long-name     "Shinjigen-1 24pr"
571                   chars         256
572                   dimension     2
573                   columns       2
574                   graphic       2
575                   direction     l2r
576                   mother        =shinjigen@1ed))
577
578   (make-charset '=shinjigen@rev
579                 "Kadokawa ShinJigen dictionary (the revised edition)"
580                 `(long-name     "Shinjigen-2"
581                   chars         256
582                   dimension     2
583                   columns       2
584                   graphic       2
585                   direction     l2r
586                   mother        =shinjigen
587                   registry      "Shinjigen\\(\\.[0-9]+\\)?-2"))
588   (define-charset-alias 'shinjigen-2 '=shinjigen@rev)
589   (make-charset '=shinjigen/+p@rev
590                 "ShinJigen (the second edition) number with '"
591                 `(long-name     "Shinjigen-2 with '"
592                   chars         256
593                   dimension     2
594                   columns       2
595                   graphic       2
596                   direction     l2r))
597   (define-charset-alias 'shinjigen-2-p '=shinjigen/+p@rev)
598
599   (make-charset '=big5-pua
600                 "Big5 with private used area"
601                 '(long-name     "Big5-PUA"
602                   chars         256
603                   dimension     2
604                   columns       2
605                   graphic       2
606                   direction     l2r
607                   mother        chinese-big5
608                   registry      "Big5\\.ETEN"))
609   (define-charset-alias 'chinese-big5-pua '=big5-pua)
610   (make-charset '=big5-eten
611                 "Big5 ETEN"
612                 '(long-name     "Big5-ETEN"
613                   chars         256
614                   dimension     2
615                   columns       2
616                   graphic       2
617                   direction     l2r
618                   mother        chinese-big5
619                   min-code      #x8140
620                   max-code      #xFEFE
621                   registry      "Big5\\.ETEN"))
622   (define-charset-alias 'chinese-big5-eten '=big5-eten)
623   (make-charset 'chinese-big5-eten-a
624                 "Big5 ETEN (#xF9D6 .. #xF9FE)"
625                 '(long-name     "Big5-ETEN-a"
626                   chars         256
627                   dimension     2
628                   columns       2
629                   graphic       2
630                   direction     l2r
631                   mother        chinese-big5
632                   min-code      #xF9D6
633                   max-code      #xF9FE
634                   registry      "Big5\\.ETEN"))
635   (make-charset 'chinese-big5-eten-b
636                 "Big5 ETEN (#xC6A1 .. #xC8FE)"
637                 '(long-name     "Big5-ETEN-b"
638                   chars         256
639                   dimension     2
640                   columns       2
641                   graphic       2
642                   direction     l2r
643                   mother        chinese-big5
644                   min-code      #xC6A1
645                   max-code      #xC8FE
646                   registry      "Big5\\.ETEN"))
647
648   (let* ((i 1)
649          (hzk-min (+ (lsh #x6200 16) 65536))
650          (hzk-max (+ hzk-min 65535)))
651     (while (<= i 12)
652       (make-charset
653        (intern (format "=hanziku-%d" i))
654        (format "HANZIKU (pseudo BIG5 encoding) part %d" i)
655        `(long-name ,(format "HANZIKU-%d" i)
656                    chars 256
657                    dimension 2
658                    columns 2
659                    graphic 2
660                    direction l2r
661                    registry ,(format "hanziku-%d$" i i)
662                    min-code ,hzk-min
663                    max-code ,hzk-max
664                    code-offset ,hzk-min))
665       (define-charset-alias
666         (intern (format "ideograph-hanziku-%d" i))
667         (intern (format "=hanziku-%d" i)))
668       (setq hzk-min (1+ hzk-max)
669             hzk-max (+ hzk-min 65535))
670       (setq i (1+ i))))
671
672   (make-charset '=cbeta "CBETA private characters"
673                 '(long-name     "CBETA PUA"
674                   chars         256
675                   dimension     2
676                   registry      "cbeta-0"
677                   graphic       2
678                   min-code      #xE20000
679                   max-code      #xE2FFFF
680                   code-offset   #xE20000
681                   columns       2
682                   direction     l2r))
683   (define-charset-alias 'ideograph-cbeta '=cbeta)
684
685   (make-charset '=zinbun-oracle
686                 "Oracle Bones Script"
687                 `(long-name     "Oracle Bones Script in Zinbun, Kyoto Univ."
688                   chars         256
689                   dimension     2
690                   registry      "zob1968-0"
691                   graphic       2
692                   min-code      #xE70000
693                   max-code      ,(+ #xE70000 8192)
694                   code-offset   #xE70000
695                   columns       2
696                   direction     l2r))
697
698   (make-charset '=jef-china3
699                 "JEF + CHINA3 private characters"
700                 '(long-name     "JEF + CHINA3"
701                   chars         256
702                   dimension     2
703                   columns       2
704                   graphic       2
705                   direction     l2r
706                   registry      "china3jef-0"
707                   min-code      #xE80000
708                   max-code      #xE8FFFF
709                   code-offset   #xE80000))
710   (define-charset-alias 'china3-jef '=jef-china3)
711
712   (make-charset '=ruimoku-v6
713                 "private characters used in RUIMOKU Version.6"
714                 `(long-name     "RUI6"
715                   chars         256
716                   dimension     2
717                   columns       2
718                   graphic       2
719                   direction     l2r
720                   registry      "rui6-0"
721                   ;; mother     ucs
722                   min-code      #xE90000 ; #xE000
723                   max-code      #xE908FF ; #xE8FF
724                   code-offset   ,(- #xE90000 #xE000)))
725
726   (make-charset '=ucs@iso
727                 "ISO/IEC 10646 for its representative glyphs"
728                 '(long-name     "UCS for ISO"
729                   chars         256
730                   dimension     3
731                   columns       2
732                   graphic       2
733                   direction     l2r
734                   =>iso-ir      177
735                   mother        =ucs))
736   (make-charset '=ucs@unicode
737                 "Unicode for its representative glyphs"
738                 '(long-name     "UCS for Unicode"
739                   chars         256
740                   dimension     3
741                   columns       2
742                   graphic       2
743                   direction     l2r
744                   =>iso-ir      177
745                   mother        =ucs@iso))
746   (make-charset '=ucs@gb
747                 "ISO/IEC 10646 for GB"
748                 '(long-name     "UCS for GB"
749                   chars         256
750                   dimension     3
751                   columns       2
752                   graphic       2
753                   direction     l2r
754                   =>iso-ir      177
755                   mother        =ucs@unicode))
756   (define-charset-alias 'ucs-gb '=ucs@gb)
757   (make-charset '=ucs@gb/fw
758                 "ISO/IEC 10646 for GB with fullwidth"
759                 '(long-name     "UCS for GB-fullwidth"
760                   chars         256
761                   dimension     3
762                   columns       2
763                   graphic       2
764                   direction     l2r
765                   =>iso-ir      177
766                   mother        =ucs@gb))
767   (make-charset '=ucs-bmp@gb
768                 "ISO/IEC 10646 BMP for GB"
769                 '(long-name     "BMP for GB"
770                   chars         256
771                   dimension     3
772                   columns       2
773                   graphic       2
774                   direction     l2r
775                   mother        =ucs@gb
776                   min-code      #x0000
777                   max-code      #xFFFF))
778   (make-charset '=ucs@cns
779                 "ISO/IEC 10646 for CNS 11643"
780                 '(long-name     "UCS for CNS"
781                   chars         256
782                   dimension     3
783                   columns       2
784                   graphic       2
785                   direction     l2r
786                   =>iso-ir      177
787                   mother        =ucs@unicode))
788   (define-charset-alias 'ucs-cns '=ucs@cns)
789   (make-charset '=ucs@cns/fw
790                 "ISO/IEC 10646 for CNS 11643 with fullwidth"
791                 '(long-name     "UCS for CNS-fullwidth"
792                   chars         256
793                   dimension     3
794                   columns       2
795                   graphic       2
796                   direction     l2r
797                   =>iso-ir      177
798                   mother        =ucs@cns))
799   (make-charset '=ucs-bmp@cns
800                 "ISO/IEC 10646 BMP for CNS"
801                 '(long-name     "BMP for CNS"
802                   chars         256
803                   dimension     3
804                   columns       2
805                   graphic       2
806                   direction     l2r
807                   mother        =ucs@cns
808                   min-code      #x0000
809                   max-code      #xFFFF))
810   (make-charset '=ucs@jis
811                 "ISO/IEC 10646 for JIS X0208/0212/0213"
812                 '(long-name     "UCS for JIS"
813                   chars         256
814                   dimension     3
815                   columns       2
816                   graphic       2
817                   direction     l2r
818                   =>iso-ir      177
819                   mother        =ucs@unicode))
820   (define-charset-alias 'ucs-jis '=ucs@jis)
821   (make-charset '=ucs@jis/fw
822                 "ISO/IEC 10646 for JIS X0208/0212/0213 with fullwidth"
823                 '(long-name     "UCS for JIS-fullwidth"
824                   chars         256
825                   dimension     3
826                   columns       2
827                   graphic       2
828                   direction     l2r
829                   =>iso-ir      177
830                   mother        =ucs@jis))
831   (make-charset '=ucs-bmp@jis
832                 "ISO/IEC 10646 BMP for JIS"
833                 '(long-name     "BMP for JIS"
834                   chars         256
835                   dimension     3
836                   columns       2
837                   graphic       2
838                   direction     l2r
839                   mother        =ucs@jis
840                   min-code      #x0000
841                   max-code      #xFFFF))
842   (make-charset '=ucs@jis/1990
843                 "ISO/IEC 10646 for JIS X 0208/0212:1990"
844                 '(long-name     "UCS for JIS:1990"
845                   chars         256
846                   dimension     3
847                   columns       2
848                   graphic       2
849                   direction     l2r
850                   =>iso-ir      177
851                   mother        ucs-jis))
852   (define-charset-alias '=ucs@jis-1990 '=ucs@jis/1990)
853   (define-charset-alias '=ucs-jis-1990 '=ucs@jis/1990)
854   (make-charset '=ucs@jis/2000
855                 "ISO/IEC 10646 for JIS X 0213:2000"
856                 '(long-name     "UCS for JIS:2000"
857                   chars         256
858                   dimension     3
859                   columns       2
860                   graphic       2
861                   direction     l2r
862                   =>iso-ir      177
863                   mother        ucs-jis))
864   (define-charset-alias '=ucs@jis-2000 '=ucs@jis/2000)
865   (define-charset-alias '=ucs-jis-2000 '=ucs@jis/2000)
866   (make-charset '=ucs@jis/2004
867                 "ISO/IEC 10646 for JIS X 0213:2004"
868                 '(long-name     "UCS for JIS:2004"
869                   chars         256
870                   dimension     3
871                   columns       2
872                   graphic       2
873                   direction     l2r
874                   =>iso-ir      177
875                   mother        ucs-jis))
876   (make-charset '=ucs@JP
877                 "UCS for common glyphs used in Japan"
878                 '(long-name     "UCS for Japan"
879                   chars         256
880                   dimension     3
881                   columns       2
882                   graphic       2
883                   direction     l2r
884                   =>iso-ir      177
885                   mother        =ucs@jis/2004))
886   (define-charset-alias '=ucs@jp '=ucs@JP)
887   (make-charset '=ucs@ks
888                 "ISO/IEC 10646 for Korean Standards"
889                 '(long-name     "UCS for KS"
890                   chars         256
891                   dimension     3
892                   columns       2
893                   graphic       2
894                   direction     l2r
895                   =>iso-ir      177
896                   mother        =ucs@unicode))
897   (define-charset-alias 'ucs-ks '=ucs@ks)
898   (make-charset '=ucs-bmp@ks
899                 "ISO/IEC 10646 BMP for KS"
900                 '(long-name     "BMP for KS"
901                   chars         256
902                   dimension     3
903                   columns       2
904                   graphic       2
905                   direction     l2r
906                   mother        =ucs@ks
907                   min-code      #x0000
908                   max-code      #xFFFF))
909   (make-charset '=ucs@big5
910                 "ISO/IEC 10646 for Big5"
911                 '(long-name     "UCS for Big5"
912                   chars         256
913                   dimension     3
914                   columns       2
915                   graphic       2
916                   direction     l2r
917                   =>iso-ir      177
918                   mother        =ucs@unicode))
919   (define-charset-alias 'ucs-big5 '=ucs@big5)
920   (make-charset '=ucs@big5/cns11643
921                 "ISO/IEC 10646 for Big5 based on www.cns11643.gov.tw"
922                 '(long-name     "UCS for Big5@CNS11643"
923                   chars         256
924                   dimension     3
925                   columns       2
926                   graphic       2
927                   direction     l2r
928                   =>iso-ir      177
929                   mother        =ucs@big5))
930   (make-charset '=ucs@cns11643
931                 "ISO/IEC 10646 for CNS based on www.cns11643.gov.tw"
932                 '(long-name     "UCS for CNS11643"
933                   chars         256
934                   dimension     3
935                   columns       2
936                   graphic       2
937                   direction     l2r
938                   =>iso-ir      177
939                   mother        =ucs@cns))
940   
941   (make-charset
942    '=ucs-radicals
943    "CJK Radicals of UCS"
944    '(long-name "UCS-Radicals"
945                chars 256
946                dimension 2
947                columns 2
948                graphic 2
949                direction l2r
950                registry "-zhRadicals-.*-ucs-0"
951                mother ucs-bmp
952                min-code #x2E00 max-code #x2FFF))
953   (make-charset
954    '=ucs-radicals@unicode
955    "CJK Radicals of UCS"
956    '(long-name "UCS-Radicals"
957                chars 256
958                dimension 2
959                columns 2
960                graphic 2
961                direction l2r
962                registry "-zhRadicals-.*-ucs-0"
963                mother =ucs@unicode
964                min-code #x2E00 max-code #x2FFF))
965   (make-charset
966    '=ucs-hangul
967    "Hangul Syllables of UCS"
968    '(long-name "UCS-Hangul-Syllables"
969                chars 256
970                dimension 2
971                columns 2
972                graphic 2
973                direction l2r
974                registry "-Hangul-.*-ucs-0"
975                mother =ucs
976                min-code #xAC00 max-code #xD7AF))
977   (make-charset
978    '=ucs-bmp-cjk
979    "CJK Characters in BMP of UCS"
980    '(long-name "UCS-BMP-CJK"
981                chars 256
982                dimension 2
983                columns 2
984                graphic 2
985                direction l2r
986                registry "-zh-.*-ucs-0"
987                mother ucs-bmp
988                min-code #x2E00
989                max-code #x9FA5
990                ;; max-code #xA4CF
991                ))
992   (make-charset
993    '=ucs-bmp-cjk@unicode
994    "CJK Characters in BMP of Unicode"
995    '(long-name "Unicode-BMP-CJK"
996                chars 256
997                dimension 2
998                columns 2
999                graphic 2
1000                direction l2r
1001                registry "-zh-.*-ucs-0"
1002                mother =ucs@unicode
1003                min-code #x2E00
1004                max-code #x9FA5
1005                ;; max-code #xA4CF
1006                ))
1007   (make-charset
1008    '=ucs-sip-ext-b
1009    "CJK Ideographs Extension B"
1010    '(long-name "UCS CJK Ext-B"
1011                chars 256
1012                dimension 2
1013                columns 2
1014                graphic 2
1015                direction l2r
1016                registry "\\(iso10646\\|ucs02\\)-2$"
1017                mother ucs
1018                min-code #x20000 max-code #x2A6D6
1019                code-offset #x20000))
1020   (make-charset
1021    '=ucs-sip-ext-b@iso
1022    "CJK Ideographs Extension B (ISO/IEC 10646-2)"
1023    '(long-name "UCS CJK Ext-B"
1024                chars 256
1025                dimension 2
1026                columns 2
1027                graphic 2
1028                direction l2r
1029                registry "\\(iso10646\\|ucs02\\)-2$"
1030                mother =ucs@iso
1031                min-code #x20000 max-code #x2A6D6
1032                code-offset #x20000))
1033
1034   (make-charset
1035    '=adobe-japan1-0
1036    "Adobe-Japan1-0 Character Collection for CID-Keyed Fonts"
1037    '(long-name "Adobe-Japan1-0"
1038                chars 256
1039                dimension 2
1040                columns 2
1041                graphic 2
1042                direction l2r
1043                registry "AdobeJapan1-0$"))
1044   (make-charset
1045    '=adobe-japan1-1
1046    "Adobe-Japan1-1 Character Collection for CID-Keyed Fonts"
1047    '(long-name "Adobe-Japan1-1"
1048                chars 256
1049                dimension 2
1050                columns 2
1051                graphic 2
1052                direction l2r
1053                mother =adobe-japan1-0
1054                registry "AdobeJapan1-1$"))
1055   (make-charset
1056    '=adobe-japan1-2
1057    "Adobe-Japan1-2 Character Collection for CID-Keyed Fonts"
1058    '(long-name "Adobe-Japan1-2"
1059                chars 256
1060                dimension 2
1061                columns 2
1062                graphic 2
1063                direction l2r
1064                mother =adobe-japan1-1
1065                registry "AdobeJapan1-2$"))
1066   (make-charset
1067    '=adobe-japan1-3
1068    "Adobe-Japan1-3 Character Collection for CID-Keyed Fonts"
1069    '(long-name "Adobe-Japan1-3"
1070                chars 256
1071                dimension 2
1072                columns 2
1073                graphic 2
1074                direction l2r
1075                mother =adobe-japan1-2
1076                registry "AdobeJapan1-3$"))
1077   (make-charset
1078    '=adobe-japan1-4
1079    "Adobe-Japan1-4 Character Collection for CID-Keyed Fonts"
1080    '(long-name "Adobe-Japan1-4"
1081                chars 256
1082                dimension 2
1083                columns 2
1084                graphic 2
1085                direction l2r
1086                mother =adobe-japan1-3
1087                registry "AdobeJapan1-4$"))
1088   (make-charset
1089    '=adobe-japan1-5
1090    "Adobe-Japan1-5 Character Collection for CID-Keyed Fonts"
1091    '(long-name "Adobe-Japan1-5"
1092                chars 256
1093                dimension 2
1094                columns 2
1095                graphic 2
1096                direction l2r
1097                mother =adobe-japan1-4
1098                registry "AdobeJapan1-5$"))
1099   (make-charset
1100    '=adobe-japan1-6
1101    "Adobe-Japan1-6 Character Collection for CID-Keyed Fonts"
1102    '(long-name "Adobe-Japan1-6"
1103                chars 256
1104                dimension 2
1105                columns 2
1106                graphic 2
1107                direction l2r
1108                mother =adobe-japan1-5
1109                registry "AdobeJapan1-6$"))
1110   )
1111
1112 ;;; mule-conf.el ends here