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