a9ade45aa18288258c19bbbcfe02ff64ea0794be
[chise/xemacs-chise.git.1] / 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-1@2004
315    "JIS X 0213:2004 Plain 1 abstract glyphs"
316    '(registry "jisx0213\\(\\.2004\\)-1"
317               dimension 2
318               chars 94
319               mother =>>jis-x0213-1
320               =>iso-ir 233
321               ;; final ?Q
322               graphic 0
323               ;; partial t
324               ))
325
326   (make-charset
327    '=>jis-x0208
328    "JIS X 0208 based on the unchanged unification rules."
329    '(registry "jisx0208\\.1990"
330               dimension 2
331               chars 94
332               mother =>>jis-x0208
333               =>iso-ir 168
334               ;; final ?B
335               graphic 0))
336   (define-charset-alias '<=>jis-x0208 '=>jis-x0208)
337   (make-charset
338    '=>jis-x0208@1997
339    "JIS X 0208 based on the unification rule of 1997 edition."
340    '(registry "jisx0208\\.1990"
341               dimension 2
342               chars 94
343               mother =>jis-x0208
344               =>iso-ir 168
345               ;; final ?B
346               graphic 0))
347   (define-charset-alias '<=>jis-x0208@1997 '=>jis-x0208@1997)
348   (define-charset-alias '  =jis-x0208@1997 '=>jis-x0208@1997)
349
350   (make-charset
351    '=>jis-x0213-1
352    "JIS X 0213 Plain 1 abstract characters (unchanged part)"
353    '(registry "jisx0213\\(\\.[0-9]+\\)?-1"
354               dimension 2
355               chars 94
356               mother =>>jis-x0213-1
357               =>iso-ir 228
358               ;; final ?O
359               graphic 0
360               ;; partial t
361               ))
362   (define-charset-alias '<=>jis-x0213-1 '=>jis-x0213-1)
363   (make-charset
364    '=>jis-x0213-1@2000
365    "JIS X 0213:2000 Plain 1 abstract characters"
366    '(registry "jisx0213\\(\\.2000\\)-1"
367               dimension 2
368               chars 94
369               mother =>jis-x0213-1
370               =>iso-ir 228
371               ;; final ?O
372               graphic 0
373               ;; partial t
374               ))
375   (define-charset-alias '<=>jis-x0213-1@2000 '=>jis-x0213-1@2000)
376   (make-charset
377    '=>jis-x0213-1@2004
378    "JIS X 0213:2004 Plain 1 abstract characters"
379    '(registry "jisx0213\\(\\.2004\\)-1"
380               dimension 2
381               chars 94
382               mother =>jis-x0213-1
383               =>iso-ir 233
384               ;; final ?Q
385               graphic 0
386               ;; partial t
387               ))
388   (define-charset-alias '<=>jis-x0213-1@2004 '=>jis-x0213-1@2004)
389
390   (make-charset '=big5-cdp
391                 "Big5 with CDP extension"
392                 '(long-name     "Big5-CDP"
393                   chars         256
394                   dimension     2
395                   columns       2
396                   graphic       2
397                   direction     l2r
398                   registry      "big5\\.cdp-0"
399                   mother        chinese-big5
400                   min-code      #x8140
401                   max-code      #x8DFE))
402   (define-charset-alias 'chinese-big5-cdp '=big5-cdp)
403
404   (make-charset '=gt
405                 "GT 2000"
406                 `(long-name     "GT"
407                   chars         256
408                   dimension     3
409                   columns       2
410                   graphic       2
411                   direction     l2r
412                   registry      ""
413                   min-code      ,(lsh #x6100 16)
414                   max-code      ,(+ (lsh #x6100 16) 67547)
415                   code-offset   ,(lsh #x6100 16)))
416   (define-charset-alias 'ideograph-gt '=gt)
417   (make-charset '=>>gt
418                 "GT 2000 abstract glyphs"
419                 `(long-name     "abstract GT"
420                   chars         256
421                   dimension     3
422                   columns       2
423                   graphic       2
424                   direction     l2r
425                   mother        =gt))
426   (define-charset-alias '<=>gt '=>>gt)
427   (define-charset-alias '<==>gt '=>>gt)
428   (make-charset '=gt-k
429                 "Ideographic components of GT"
430                 `(long-name     "GT components"
431                   chars         256
432                   dimension     2
433                   columns       2
434                   graphic       2
435                   direction     l2r
436                   registry      ""
437                   min-code      ,(lsh #x6110 16)
438                   max-code      ,(+ (lsh #x6110 16) 17090)
439                   code-offset   ,(lsh #x6110 16)))
440   (define-charset-alias 'ideograph-gt-k '=gt-k)
441   (let ((i 1))
442     (while (<= i 11)
443       (make-charset
444        (intern (format "=gt-pj-%d" i))
445        (format "GT 2000 (pseudo JIS encoding) part %d" i)
446        `(long-name ,(format "GT PJ %d" i)
447                    chars 94
448                    dimension 2
449                    columns 2
450                    graphic 0
451                    direction l2r
452                    registry ,(format "\\(GTpj-%d\\|jisx0208\\.GT-%d\\)$" i i)))
453       (define-charset-alias
454         (intern (format "ideograph-gt-pj-%d" i))
455         (intern (format "=gt-pj-%d" i)))
456       (setq i (1+ i))))
457   (make-charset
458    '=gt-pj-k1
459    "Ideographic parts of GT (pseudo JIS encoding) part 1"
460    '(long-name "GT K1"
461                chars 94
462                dimension 2
463                columns 2
464                graphic 0
465                direction l2r
466                registry "\\(GTKpj-1\\|jisx0208\\.GTK-1\\)$"))
467   (define-charset-alias 'ideograph-gt-pj-k1 '=gt-pj-k1)
468   (make-charset
469    '=gt-pj-k2
470    "Ideographic parts of GT (pseudo JIS encoding) part 2"
471    '(long-name "GT K2"
472                chars 94
473                dimension 2
474                columns 2
475                graphic 0
476                direction l2r
477                registry "\\(GTKpj-2\\|jisx0208\\.GTK-2\\)$"))
478   (define-charset-alias 'ideograph-gt-pj-k2 '=gt-pj-k2)
479
480   (make-charset '=daikanwa
481                 "Daikanwa dictionary (revised version 2)"
482                 `(long-name     "Daikanwa"
483                   chars         256
484                   dimension     2
485                   columns       2
486                   graphic       2
487                   direction     l2r
488                   registry      "Daikanwa\\(\\.[0-9]+\\)?-3"
489                   min-code      #xE00000
490                   max-code      ,(+ #xE00000 50100)
491                   code-offset   #xE00000))
492   (define-charset-alias 'ideograph-daikanwa '=daikanwa)
493
494   (make-charset '=daikanwa@rev1
495                 "Daikanwa dictionary (revised version)"
496                 `(long-name     "Daikanwa Rev."
497                   chars         256
498                   dimension     2
499                   columns       2
500                   graphic       2
501                   direction     l2r
502                   registry      "Daikanwa\\(\\.[0-9]+\\)?-2"
503                   mother        =daikanwa
504                   ))
505   (define-charset-alias 'ideograph-daikanwa-2 '=daikanwa@rev1)
506   (define-charset-alias '=daikanwa-rev1 '=daikanwa@rev1)
507
508   (make-charset '=daikanwa@rev2
509                 "Daikanwa dictionary (revised version 2)"
510                 `(long-name     "Daikanwa"
511                   chars         256
512                   dimension     2
513                   columns       2
514                   graphic       2
515                   direction     l2r
516                   registry      "Daikanwa\\(\\.[0-9]+\\)?-3"
517                   mother        =daikanwa
518                   min-code      1
519                   max-code      49964
520                   ;; min-code   #xE00000
521                   ;; max-code   ,(+ #xE00000 50100)
522                   ;; code-offset        #xE00000
523                   ))
524   (define-charset-alias '=daikanwa-rev2 '=daikanwa@rev2)
525
526   (make-charset '=shinjigen
527                 "Kadokawa ShinJigen dictionary (common parts)"
528                 `(long-name     "Shinjigen common parts"
529                   chars         256
530                   dimension     2
531                   columns       2
532                   graphic       2
533                   direction     l2r
534                   registry      "Shinjigen\\(\\.[0-9]+\\)?-*"))
535
536   (make-charset '=shinjigen@1ed
537                 "Kadokawa ShinJigen dictionary (the first edition)"
538                 `(long-name     "Shinjigen-1"
539                   chars         256
540                   dimension     2
541                   columns       2
542                   graphic       2
543                   direction     l2r
544                   mother        =shinjigen
545                   registry      "Shinjigen\\(\\.[0-9]+\\)?-1"))
546   (define-charset-alias 'shinjigen-1 '=shinjigen@1ed)
547
548   (make-charset '=shinjigen@1ed/24pr
549                 "Kadokawa ShinJigen dictionary (the 24th impression)"
550                 `(long-name     "Shinjigen-1 24pr"
551                   chars         256
552                   dimension     2
553                   columns       2
554                   graphic       2
555                   direction     l2r
556                   mother        =shinjigen@1ed))
557
558   (make-charset '=shinjigen@rev
559                 "Kadokawa ShinJigen dictionary (the revised edition)"
560                 `(long-name     "Shinjigen-2"
561                   chars         256
562                   dimension     2
563                   columns       2
564                   graphic       2
565                   direction     l2r
566                   mother        =shinjigen
567                   registry      "Shinjigen\\(\\.[0-9]+\\)?-2"))
568   (define-charset-alias 'shinjigen-2 '=shinjigen@rev)
569   (make-charset '=shinjigen/+p@rev
570                 "ShinJigen (the second edition) number with '"
571                 `(long-name     "Shinjigen-2 with '"
572                   chars         256
573                   dimension     2
574                   columns       2
575                   graphic       2
576                   direction     l2r))
577   (define-charset-alias 'shinjigen-2-p '=shinjigen/+p@rev)
578
579   (make-charset '=big5-pua
580                 "Big5 with private used area"
581                 '(long-name     "Big5-PUA"
582                   chars         256
583                   dimension     2
584                   columns       2
585                   graphic       2
586                   direction     l2r
587                   mother        chinese-big5
588                   registry      "Big5\\.ETEN"))
589   (define-charset-alias 'chinese-big5-pua '=big5-pua)
590   (make-charset '=big5-eten
591                 "Big5 ETEN"
592                 '(long-name     "Big5-ETEN"
593                   chars         256
594                   dimension     2
595                   columns       2
596                   graphic       2
597                   direction     l2r
598                   mother        chinese-big5
599                   min-code      #x8140
600                   max-code      #xFEFE
601                   registry      "Big5\\.ETEN"))
602   (define-charset-alias 'chinese-big5-eten '=big5-eten)
603   (make-charset 'chinese-big5-eten-a
604                 "Big5 ETEN (#xF9D6 .. #xF9FE)"
605                 '(long-name     "Big5-ETEN-a"
606                   chars         256
607                   dimension     2
608                   columns       2
609                   graphic       2
610                   direction     l2r
611                   mother        chinese-big5
612                   min-code      #xF9D6
613                   max-code      #xF9FE
614                   registry      "Big5\\.ETEN"))
615   (make-charset 'chinese-big5-eten-b
616                 "Big5 ETEN (#xC6A1 .. #xC8FE)"
617                 '(long-name     "Big5-ETEN-b"
618                   chars         256
619                   dimension     2
620                   columns       2
621                   graphic       2
622                   direction     l2r
623                   mother        chinese-big5
624                   min-code      #xC6A1
625                   max-code      #xC8FE
626                   registry      "Big5\\.ETEN"))
627
628   (let* ((i 1)
629          (hzk-min (+ (lsh #x6200 16) 65536))
630          (hzk-max (+ hzk-min 65535)))
631     (while (<= i 12)
632       (make-charset
633        (intern (format "=hanziku-%d" i))
634        (format "HANZIKU (pseudo BIG5 encoding) part %d" i)
635        `(long-name ,(format "HANZIKU-%d" i)
636                    chars 256
637                    dimension 2
638                    columns 2
639                    graphic 2
640                    direction l2r
641                    registry ,(format "hanziku-%d$" i i)
642                    min-code ,hzk-min
643                    max-code ,hzk-max
644                    code-offset ,hzk-min))
645       (define-charset-alias
646         (intern (format "ideograph-hanziku-%d" i))
647         (intern (format "=hanziku-%d" i)))
648       (setq hzk-min (1+ hzk-max)
649             hzk-max (+ hzk-min 65535))
650       (setq i (1+ i))))
651
652   (make-charset '=cbeta "CBETA private characters"
653                 '(long-name     "CBETA PUA"
654                   chars         256
655                   dimension     2
656                   registry      "cbeta-0"
657                   graphic       2
658                   min-code      #xE20000
659                   max-code      #xE2FFFF
660                   code-offset   #xE20000
661                   columns       2
662                   direction     l2r))
663   (define-charset-alias 'ideograph-cbeta '=cbeta)
664
665   (make-charset '=zinbun-oracle
666                 "Oracle Bones Script"
667                 `(long-name     "Oracle Bones Script in Zinbun, Kyoto Univ."
668                   chars         256
669                   dimension     2
670                   registry      "zob1968-0"
671                   graphic       2
672                   min-code      #xE70000
673                   max-code      ,(+ #xE70000 8192)
674                   code-offset   #xE70000
675                   columns       2
676                   direction     l2r))
677
678   (make-charset '=jef-china3
679                 "JEF + CHINA3 private characters"
680                 '(long-name     "JEF + CHINA3"
681                   chars         256
682                   dimension     2
683                   columns       2
684                   graphic       2
685                   direction     l2r
686                   registry      "china3jef-0"
687                   min-code      #xE80000
688                   max-code      #xE8FFFF
689                   code-offset   #xE80000))
690   (define-charset-alias 'china3-jef '=jef-china3)
691
692   (make-charset '=ruimoku-v6
693                 "private characters used in RUIMOKU Version.6"
694                 `(long-name     "RUI6"
695                   chars         256
696                   dimension     2
697                   columns       2
698                   graphic       2
699                   direction     l2r
700                   registry      "rui6-0"
701                   ;; mother     ucs
702                   min-code      #xE90000 ; #xE000
703                   max-code      #xE908FF ; #xE8FF
704                   code-offset   ,(- #xE90000 #xE000)))
705
706   (make-charset '=ucs@iso
707                 "ISO/IEC 10646 for its representative glyphs"
708                 '(long-name     "UCS for ISO"
709                   chars         256
710                   dimension     3
711                   columns       2
712                   graphic       2
713                   direction     l2r
714                   =>iso-ir      177
715                   mother        =ucs))
716   (make-charset '=ucs@unicode
717                 "Unicode for its representative glyphs"
718                 '(long-name     "UCS for Unicode"
719                   chars         256
720                   dimension     3
721                   columns       2
722                   graphic       2
723                   direction     l2r
724                   =>iso-ir      177
725                   mother        =ucs@iso))
726   (make-charset '=ucs@gb
727                 "ISO/IEC 10646 for GB"
728                 '(long-name     "UCS for GB"
729                   chars         256
730                   dimension     3
731                   columns       2
732                   graphic       2
733                   direction     l2r
734                   =>iso-ir      177
735                   mother        =ucs@unicode))
736   (define-charset-alias 'ucs-gb '=ucs@gb)
737   (make-charset '=ucs@gb/fw
738                 "ISO/IEC 10646 for GB with fullwidth"
739                 '(long-name     "UCS for GB-fullwidth"
740                   chars         256
741                   dimension     3
742                   columns       2
743                   graphic       2
744                   direction     l2r
745                   =>iso-ir      177
746                   mother        =ucs@gb))
747   (make-charset '=ucs-bmp@gb
748                 "ISO/IEC 10646 BMP for GB"
749                 '(long-name     "BMP for GB"
750                   chars         256
751                   dimension     3
752                   columns       2
753                   graphic       2
754                   direction     l2r
755                   mother        =ucs@gb
756                   min-code      #x0000
757                   max-code      #xFFFF))
758   (make-charset '=ucs@cns
759                 "ISO/IEC 10646 for CNS 11643"
760                 '(long-name     "UCS for CNS"
761                   chars         256
762                   dimension     3
763                   columns       2
764                   graphic       2
765                   direction     l2r
766                   =>iso-ir      177
767                   mother        =ucs@unicode))
768   (define-charset-alias 'ucs-cns '=ucs@cns)
769   (make-charset '=ucs@cns/fw
770                 "ISO/IEC 10646 for CNS 11643 with fullwidth"
771                 '(long-name     "UCS for CNS-fullwidth"
772                   chars         256
773                   dimension     3
774                   columns       2
775                   graphic       2
776                   direction     l2r
777                   =>iso-ir      177
778                   mother        =ucs@cns))
779   (make-charset '=ucs-bmp@cns
780                 "ISO/IEC 10646 BMP for CNS"
781                 '(long-name     "BMP for CNS"
782                   chars         256
783                   dimension     3
784                   columns       2
785                   graphic       2
786                   direction     l2r
787                   mother        =ucs@cns
788                   min-code      #x0000
789                   max-code      #xFFFF))
790   (make-charset '=ucs@jis
791                 "ISO/IEC 10646 for JIS X0208/0212/0213"
792                 '(long-name     "UCS for JIS"
793                   chars         256
794                   dimension     3
795                   columns       2
796                   graphic       2
797                   direction     l2r
798                   =>iso-ir      177
799                   mother        =ucs@unicode))
800   (define-charset-alias 'ucs-jis '=ucs@jis)
801   (make-charset '=ucs@jis/fw
802                 "ISO/IEC 10646 for JIS X0208/0212/0213 with fullwidth"
803                 '(long-name     "UCS for JIS-fullwidth"
804                   chars         256
805                   dimension     3
806                   columns       2
807                   graphic       2
808                   direction     l2r
809                   =>iso-ir      177
810                   mother        =ucs@jis))
811   (make-charset '=ucs-bmp@jis
812                 "ISO/IEC 10646 BMP for JIS"
813                 '(long-name     "BMP for JIS"
814                   chars         256
815                   dimension     3
816                   columns       2
817                   graphic       2
818                   direction     l2r
819                   mother        =ucs@jis
820                   min-code      #x0000
821                   max-code      #xFFFF))
822   (make-charset '=ucs@jis/1990
823                 "ISO/IEC 10646 for JIS X 0208/0212:1990"
824                 '(long-name     "UCS for JIS:1990"
825                   chars         256
826                   dimension     3
827                   columns       2
828                   graphic       2
829                   direction     l2r
830                   =>iso-ir      177
831                   mother        ucs-jis))
832   (define-charset-alias '=ucs@jis-1990 '=ucs@jis/1990)
833   (define-charset-alias '=ucs-jis-1990 '=ucs@jis/1990)
834   (make-charset '=ucs@jis/2000
835                 "ISO/IEC 10646 for JIS X 0213:2000"
836                 '(long-name     "UCS for JIS:2000"
837                   chars         256
838                   dimension     3
839                   columns       2
840                   graphic       2
841                   direction     l2r
842                   =>iso-ir      177
843                   mother        ucs-jis))
844   (define-charset-alias '=ucs@jis-2000 '=ucs@jis/2000)
845   (define-charset-alias '=ucs-jis-2000 '=ucs@jis/2000)
846   (make-charset '=ucs@jis/2004
847                 "ISO/IEC 10646 for JIS X 0213:2004"
848                 '(long-name     "UCS for JIS:2004"
849                   chars         256
850                   dimension     3
851                   columns       2
852                   graphic       2
853                   direction     l2r
854                   =>iso-ir      177
855                   mother        ucs-jis))
856   (make-charset '=ucs@JP
857                 "UCS for common glyphs used in Japan"
858                 '(long-name     "UCS for Japan"
859                   chars         256
860                   dimension     3
861                   columns       2
862                   graphic       2
863                   direction     l2r
864                   =>iso-ir      177
865                   mother        =ucs@jis/2004))
866   (define-charset-alias '=ucs@jp '=ucs@JP)
867   (make-charset '=ucs@ks
868                 "ISO/IEC 10646 for Korean Standards"
869                 '(long-name     "UCS for KS"
870                   chars         256
871                   dimension     3
872                   columns       2
873                   graphic       2
874                   direction     l2r
875                   =>iso-ir      177
876                   mother        =ucs@unicode))
877   (define-charset-alias 'ucs-ks '=ucs@ks)
878   (make-charset '=ucs-bmp@ks
879                 "ISO/IEC 10646 BMP for KS"
880                 '(long-name     "BMP for KS"
881                   chars         256
882                   dimension     3
883                   columns       2
884                   graphic       2
885                   direction     l2r
886                   mother        =ucs@ks
887                   min-code      #x0000
888                   max-code      #xFFFF))
889   (make-charset '=ucs@big5
890                 "ISO/IEC 10646 for Big5"
891                 '(long-name     "UCS for Big5"
892                   chars         256
893                   dimension     3
894                   columns       2
895                   graphic       2
896                   direction     l2r
897                   =>iso-ir      177
898                   mother        =ucs@unicode))
899   (define-charset-alias 'ucs-big5 '=ucs@big5)
900   (make-charset '=ucs@big5/cns11643
901                 "ISO/IEC 10646 for Big5 based on www.cns11643.gov.tw"
902                 '(long-name     "UCS for Big5@CNS11643"
903                   chars         256
904                   dimension     3
905                   columns       2
906                   graphic       2
907                   direction     l2r
908                   =>iso-ir      177
909                   mother        =ucs@big5))
910   (make-charset '=ucs@cns11643
911                 "ISO/IEC 10646 for CNS based on www.cns11643.gov.tw"
912                 '(long-name     "UCS for CNS11643"
913                   chars         256
914                   dimension     3
915                   columns       2
916                   graphic       2
917                   direction     l2r
918                   =>iso-ir      177
919                   mother        =ucs@cns))
920   
921   (make-charset
922    '=ucs-radicals
923    "CJK Radicals of UCS"
924    '(long-name "UCS-Radicals"
925                chars 256
926                dimension 2
927                columns 2
928                graphic 2
929                direction l2r
930                registry "-zhRadicals-.*-ucs-0"
931                mother ucs-bmp
932                min-code #x2E00 max-code #x2FFF))
933   (make-charset
934    '=ucs-radicals@unicode
935    "CJK Radicals of UCS"
936    '(long-name "UCS-Radicals"
937                chars 256
938                dimension 2
939                columns 2
940                graphic 2
941                direction l2r
942                registry "-zhRadicals-.*-ucs-0"
943                mother =ucs@unicode
944                min-code #x2E00 max-code #x2FFF))
945   (make-charset
946    '=ucs-hangul
947    "Hangul Syllables of UCS"
948    '(long-name "UCS-Hangul-Syllables"
949                chars 256
950                dimension 2
951                columns 2
952                graphic 2
953                direction l2r
954                registry "-Hangul-.*-ucs-0"
955                mother =ucs
956                min-code #xAC00 max-code #xD7AF))
957   (make-charset
958    '=ucs-bmp-cjk
959    "CJK Characters in BMP of UCS"
960    '(long-name "UCS-BMP-CJK"
961                chars 256
962                dimension 2
963                columns 2
964                graphic 2
965                direction l2r
966                registry "-zh-.*-ucs-0"
967                mother ucs-bmp
968                min-code #x2E00
969                max-code #x9FA5
970                ;; max-code #xA4CF
971                ))
972   (make-charset
973    '=ucs-bmp-cjk@unicode
974    "CJK Characters in BMP of Unicode"
975    '(long-name "Unicode-BMP-CJK"
976                chars 256
977                dimension 2
978                columns 2
979                graphic 2
980                direction l2r
981                registry "-zh-.*-ucs-0"
982                mother =ucs@unicode
983                min-code #x2E00
984                max-code #x9FA5
985                ;; max-code #xA4CF
986                ))
987   (make-charset
988    '=ucs-sip-ext-b
989    "CJK Ideographs Extension B"
990    '(long-name "UCS CJK Ext-B"
991                chars 256
992                dimension 2
993                columns 2
994                graphic 2
995                direction l2r
996                registry "\\(iso10646\\|ucs02\\)-2$"
997                mother ucs
998                min-code #x20000 max-code #x2A6D6
999                code-offset #x20000))
1000   (make-charset
1001    '=ucs-sip-ext-b@iso
1002    "CJK Ideographs Extension B (ISO/IEC 10646-2)"
1003    '(long-name "UCS CJK Ext-B"
1004                chars 256
1005                dimension 2
1006                columns 2
1007                graphic 2
1008                direction l2r
1009                registry "\\(iso10646\\|ucs02\\)-2$"
1010                mother =ucs@iso
1011                min-code #x20000 max-code #x2A6D6
1012                code-offset #x20000))
1013
1014   (make-charset
1015    '=adobe-japan1-0
1016    "Adobe-Japan1-0 Character Collection for CID-Keyed Fonts"
1017    '(long-name "Adobe-Japan1-0"
1018                chars 256
1019                dimension 2
1020                columns 2
1021                graphic 2
1022                direction l2r
1023                registry "AdobeJapan1-0$"))
1024   (make-charset
1025    '=adobe-japan1-1
1026    "Adobe-Japan1-1 Character Collection for CID-Keyed Fonts"
1027    '(long-name "Adobe-Japan1-1"
1028                chars 256
1029                dimension 2
1030                columns 2
1031                graphic 2
1032                direction l2r
1033                mother =adobe-japan1-0
1034                registry "AdobeJapan1-1$"))
1035   (make-charset
1036    '=adobe-japan1-2
1037    "Adobe-Japan1-2 Character Collection for CID-Keyed Fonts"
1038    '(long-name "Adobe-Japan1-2"
1039                chars 256
1040                dimension 2
1041                columns 2
1042                graphic 2
1043                direction l2r
1044                mother =adobe-japan1-1
1045                registry "AdobeJapan1-2$"))
1046   (make-charset
1047    '=adobe-japan1-3
1048    "Adobe-Japan1-3 Character Collection for CID-Keyed Fonts"
1049    '(long-name "Adobe-Japan1-3"
1050                chars 256
1051                dimension 2
1052                columns 2
1053                graphic 2
1054                direction l2r
1055                mother =adobe-japan1-2
1056                registry "AdobeJapan1-3$"))
1057   (make-charset
1058    '=adobe-japan1-4
1059    "Adobe-Japan1-4 Character Collection for CID-Keyed Fonts"
1060    '(long-name "Adobe-Japan1-4"
1061                chars 256
1062                dimension 2
1063                columns 2
1064                graphic 2
1065                direction l2r
1066                mother =adobe-japan1-3
1067                registry "AdobeJapan1-4$"))
1068   (make-charset
1069    '=adobe-japan1-5
1070    "Adobe-Japan1-5 Character Collection for CID-Keyed Fonts"
1071    '(long-name "Adobe-Japan1-5"
1072                chars 256
1073                dimension 2
1074                columns 2
1075                graphic 2
1076                direction l2r
1077                mother =adobe-japan1-4
1078                registry "AdobeJapan1-5$"))
1079   (make-charset
1080    '=adobe-japan1-6
1081    "Adobe-Japan1-6 Character Collection for CID-Keyed Fonts"
1082    '(long-name "Adobe-Japan1-6"
1083                chars 256
1084                dimension 2
1085                columns 2
1086                graphic 2
1087                direction l2r
1088                mother =adobe-japan1-5
1089                registry "AdobeJapan1-6$"))
1090   )
1091
1092 ;;; mule-conf.el ends here