(=>>jis-x0208@1978): Fix DOC.
[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, 2011 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/1er-pr
76    "JIS X 0208:1978, fixed by errata [Nov 1978]."
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   (make-charset
86    '=jis-x0208@1978/2-pr
87    "JIS X 0208:1978, 2nd impression or later."
88    '(registry "jisx0208\\.1978"
89               dimension 2
90               chars 94
91               mother =jis-x0208@1978/1er-pr
92               =>iso-ir 42
93               ;; final ?@
94               graphic 0
95               partial t))
96   (make-charset
97    '=jis-x0208@1978/4er
98    "JIS X 0208:1978, replaced by errata of 4th impression."
99    '(registry "jisx0208\\.1978"
100               dimension 2
101               chars 94
102               mother =jis-x0208@1978/2-pr
103               =>iso-ir 42
104               ;; final ?@
105               graphic 0
106               partial t))
107   (make-charset
108    '=jis-x0208@1978/4-pr
109    "JIS X 0208:1978, 4th impression or later."
110    '(registry "jisx0208\\.1978"
111               dimension 2
112               chars 94
113               mother =jis-x0208@1978/2-pr
114               =>iso-ir 42
115               ;; final ?@
116               graphic 0
117               partial t))
118   (make-charset
119    '=jis-x0208@1978/5pr
120    "JIS X 0208:1978, 5th impression."
121    '(registry "jisx0208\\.1978"
122               dimension 2
123               chars 94
124               mother =jis-x0208@1978/4-pr
125               =>iso-ir 42
126               ;; final ?@
127               graphic 0
128               partial t))
129   (define-charset-alias '=jis-x0208@1978/i1 '=jis-x0208@1978/1pr)
130   (define-charset-alias '=jis-x0208@1978/i-4 '=jis-x0208@1978/-4pr)
131   (define-charset-alias '=jis-x0208@1978/i4- '=jis-x0208@1978/4-pr)
132   )
133  (t
134   (make-charset
135    '=jis-x0208@1978
136    "JIS X0208:1978 Japanese Kanji (so called \"old JIS\")."
137    '(iso-ir 42
138             registry "jisx0208\\.1978"
139             dimension 2
140             chars 94
141             mother =jis-x0208
142             final ?@
143             graphic 0))
144   ))
145
146 (define-charset-alias '=jis-x0208-1978          '=jis-x0208@1978)
147 (define-charset-alias 'japanese-jisx0208-1978   '=jis-x0208@1978)
148 (define-charset-alias 'chinese-gb2312           '=gb2312)
149 (define-charset-alias '=jis-x0208-1983          '=jis-x0208@1983)
150 (define-charset-alias 'japanese-jisx0208        '=jis-x0208@1983)
151 (define-charset-alias 'korean-ksc5601           '=ks-x1001)
152 (define-charset-alias 'japanese-jisx0212        '=jis-x0212)
153 (define-charset-alias 'chinese-cns11643-1       '=cns11643-1)
154 (define-charset-alias 'chinese-cns11643-2       '=cns11643-2)
155 (define-charset-alias 'chinese-gb12345          '=gb12345)
156 (define-charset-alias 'chinese-big5             '=big5)
157
158 ;; PinYin-ZhuYin
159 (make-charset 'sisheng "PinYin-ZhuYin"
160               '(registry "sisheng_cwnn\\|OMRON_UDC_ZH"
161                 dimension 1
162                 chars 94
163                 final ?0
164                 graphic 0
165                 ))
166
167 ;; Lao script.
168 ;; ISO10646's 0x0E80..0x0EDF are mapped to 0x20..0x7F.
169 (make-charset 'lao "Lao script"
170               '(registry "MuleLao-1"
171                 dimension 1
172                 chars 94
173                 final ?1
174                 graphic 1))
175
176 ;; IPA (International Phonetic Alphabet)
177 (make-charset 'ipa "International Phonetic Alphabet"
178               '(registry "MuleIPA"
179                 dimension 1
180                 chars 96
181                 final ?0
182                 graphic 1))
183
184 ;; Ethiopic
185 (make-charset 'ethiopic "Ethiopic"
186               '(registry "Ethio"
187                 dimension 2
188                 chars 94
189                 final ?3
190                 graphic 0
191                 ))
192
193 ;; ISO-IR-165 (CCITT Extended GB)
194 ;;    It is based on CCITT Recommendation T.101, includes GB 2312-80 +
195 ;;    GB 8565-88 table A4 + 293 characters.
196 (if (featurep 'utf-2000)
197     (progn
198       (make-charset '=iso-ir165
199                     "ISO-IR-165 (CCITT Extended GB; Chinese simplified)"
200                     '(iso-ir 165
201                              dimension 2
202                              chars 94
203                              mother =gb2312
204                              final ?E
205                              registry "isoir165"
206                              graphic 0))
207       (define-charset-alias 'chinese-isoir165 '=iso-ir165))
208   (make-charset 'chinese-isoir165
209                 "ISO-IR-165 (CCITT Extended GB; Chinese simplified)"
210                 '(iso-ir 165
211                          dimension 2
212                          chars 94
213                          final ?E
214                          registry "isoir165"
215                          graphic 0)))
216
217 ;; CNS11643 Plane3 thru Plane7
218 ;; These represent more and more obscure Chinese characters.
219 ;; By the time you get to Plane 7, we're talking about characters
220 ;; that appear once in some ancient manuscript and whose meaning
221 ;; is unknown.
222
223 (flet
224     ((make-chinese-cns11643-charset
225       (name iso-ir plane final)
226       (make-charset
227        name (concat "CNS 11643 Plane " plane " (Chinese traditional)")
228        `(iso-ir ,iso-ir
229          registry 
230          ,(concat "CNS11643[.-]\\(.*[.-]\\)?" plane "$")
231          dimension 2
232          chars 94
233          final ,final
234          graphic 0))
235       ))
236   (make-chinese-cns11643-charset '=cns11643-3 183 "3" ?I)
237   (make-chinese-cns11643-charset '=cns11643-4 184 "4" ?J)
238   (make-chinese-cns11643-charset '=cns11643-5 185 "5" ?K)
239   (make-chinese-cns11643-charset '=cns11643-6 186 "6" ?L)
240   (make-chinese-cns11643-charset '=cns11643-7 187 "7" ?M)
241   (define-charset-alias 'chinese-cns11643-3     '=cns11643-3)
242   (define-charset-alias 'chinese-cns11643-4     '=cns11643-4)
243   (define-charset-alias 'chinese-cns11643-5     '=cns11643-5)
244   (define-charset-alias 'chinese-cns11643-6     '=cns11643-6)
245   (define-charset-alias 'chinese-cns11643-7     '=cns11643-7)
246   )
247
248 ;; JIS X 0213:2000
249 (cond
250  ((featurep 'utf-2000)
251   (make-charset
252    '=jis-x0213-1
253    "JIS X 0213 Plain 1 (unchanged part)"
254    '(registry "jisx0213\\(\\.[0-9]+\\)?-1"
255               dimension 2
256               chars 94
257               =>iso-ir 228
258               final ?O
259               graphic 0
260               partial t))
261
262   (make-charset
263    '=jis-x0213-1@2000
264    "JIS X 0213:2000 Plain 1"
265    '(iso-ir 228
266             registry "jisx0213\\(\\.2000\\)-1"
267             dimension 2
268             chars 94
269             mother =jis-x0213-1
270             final ?O
271             graphic 0))
272   (make-charset
273    '=jis-x0213-2
274    "JIS X 0213 Plain 2"
275    '(iso-ir 229
276             registry "jisx0213\\(\\.\\(2000\\|2004\\)\\)?-2"
277             dimension 2
278             chars 94
279             final ?P
280             graphic 0))
281
282   (make-charset
283    '=jis-x0213-1@2004
284    "JIS X 0213:2004 Plain 1"
285    '(iso-ir 233
286             registry "jisx0213\\(\\.2004\\)-1"
287             dimension 2
288             chars 94
289             mother =jis-x0213-1
290             final ?Q
291             graphic 0))
292
293   (define-charset-alias 'japanese-jisx0213-1 '=jis-x0213-1@2000)
294   (define-charset-alias 'japanese-jisx0213-2 '=jis-x0213-2)
295   (define-charset-alias '=jis-x0213-1-2000 '=jis-x0213-1@2000)
296   (define-charset-alias '=jis-x0213-2-2000 '=jis-x0213-2)
297   )
298  (t
299   (make-charset
300    'japanese-jisx0213-1
301    "JIS X 0213:2000 Plain 1"
302    '(registry "jisx0213\\(\\.2000\\)-1"
303               dimension 2
304               chars 94
305               final ?O
306               graphic 0))
307   (make-charset
308    'japanese-jisx0213-2
309    "JIS X 0213:2000 Plain 2"
310    '(registry "jisx0213\\(\\.2000\\)-2"
311               dimension 2
312               chars 94
313               final ?P
314               graphic 0))
315   ))
316
317 (when (featurep 'utf-2000)
318   (define-charset-alias 'ucs '=ucs)
319   (define-charset-alias '=jis-x0208-1990 '=jis-x0208@1990)
320   (define-charset-alias 'japanese-jisx0208-1990 '=jis-x0208@1990)
321
322   (make-charset
323    '=>>>jis-x0208
324    "JIS X 0208 abstract glyph-images (unchanged part)."
325    '(registry "jisx0208\\.1990"
326               dimension 2
327               chars 94
328               mother =jis-x0208
329               =>iso-ir 168
330               ;; final ?B
331               graphic 0))
332   (make-charset
333    '=>>>jis-x0208@1990
334    "JIS X 0208:1990 abstract glyph-images."
335    '(registry "jisx0208\\.1990"
336               dimension 2
337               chars 94
338               mother =>>>jis-x0208
339               =>iso-ir 168
340               ;; final ?B
341               graphic 0))
342   (make-charset
343    '=>>>jis-x0213-1
344    "JIS X 0213 Plain 1 abstract glyph-images (unchanged part)"
345    '(registry "jisx0213\\(\\.[0-9]+\\)?-1"
346               dimension 2
347               chars 94
348               mother =jis-x0213-1
349               =>iso-ir 228
350               ;; final ?O
351               graphic 0
352               ;; partial t
353               ))
354   (make-charset
355    '=>>>jis-x0213-1@2000
356    "JIS X 0213:2000 Plain 1 abstract glyph-images"
357    '(registry "jisx0213\\(\\.2000\\)-1"
358               dimension 2
359               chars 94
360               mother =>>>jis-x0213-1
361               =>iso-ir 228
362               ;; final ?O
363               graphic 0
364               ;; partial t
365               ))
366   (make-charset
367    '=>>>jis-x0213-1@2004
368    "JIS X 0213:2004 Plain 1 abstract glyph-images"
369    '(mother =>>>jis-x0213-1
370             =>iso-ir 233
371             ;; registry "jisx0213\\(\\.2004\\)-1"
372             dimension 2
373             chars 94
374             graphic 0))
375
376   (make-charset
377    '=>>jis-x0208
378    "JIS X 0208 abstract glyphs (unchanged part)."
379    '(registry "jisx0208\\.1990"
380               dimension 2
381               chars 94
382               mother =>>>jis-x0208
383               =>iso-ir 168
384               ;; final ?B
385               graphic 0))
386   (make-charset
387    '=>>jis-x0208@1978
388    "JIS X 0208:1978 abstract glyphs."
389    '(registry "jisx0208\\.1978"
390               dimension 2
391               chars 94
392               mother =>>jis-x0208
393               =>iso-ir 42
394               ;; final ?@
395               graphic 0))
396   (make-charset
397    '=>>jis-x0208@1983
398    "JIS X 0208:1983 abstract glyphs."
399    '(registry "jisx0208\\.1983"
400               dimension 2
401               chars 94
402               mother =>>jis-x0208
403               =>iso-ir 87
404               graphic 0))
405   (make-charset
406    '=>>jis-x0208@1990
407    "JIS X 0208:1990 abstract glyphs."
408    '(registry "jisx0208\\.1990"
409               dimension 2
410               chars 94
411               mother =>>jis-x0208
412               =>iso-ir 168
413               graphic 0))
414
415   (make-charset
416    '=>>jis-x0213-1
417    "JIS X 0213 Plain 1 abstract glyphs (unchanged part)"
418    '(registry "jisx0213\\(\\.[0-9]+\\)?-1"
419               dimension 2
420               chars 94
421               mother =>>>jis-x0213-1
422               =>iso-ir 228
423               ;; final ?O
424               graphic 0
425               ;; partial t
426               ))
427   (make-charset
428    '=>>jis-x0213-1@2000
429    "JIS X 0213:2000 Plain 1 abstract glyphs"
430    '(registry "jisx0213\\(\\.2000\\)-1"
431               dimension 2
432               chars 94
433               mother =>>jis-x0213-1
434               =>iso-ir 228
435               ;; final ?O
436               graphic 0
437               ;; partial t
438               ))
439   (make-charset
440    '=>>jis-x0213-2
441    "JIS X 0213 Plain 2 abstract glyphs"
442    '(registry "jisx0213\\(\\.\\(2000\\|2004\\)\\)?-2"
443               dimension 2
444               chars 94
445               mother =jis-x0213-2
446               =>iso-ir 229
447               ;; final ?P
448               graphic 0))
449   (make-charset
450    '=>>jis-x0213-1@2004
451    "JIS X 0213:2004 Plain 1 abstract glyphs"
452    '(registry "jisx0213\\(\\.2004\\)-1"
453               dimension 2
454               chars 94
455               mother =>>jis-x0213-1
456               =>iso-ir 233
457               ;; final ?Q
458               graphic 0
459               ;; partial t
460               ))
461
462   (make-charset
463    '=>jis-x0208@usual
464    "JIS X 0208 based on usual unification."
465    '(registry "jisx0208\\.1990"
466               dimension 2
467               chars 94
468               mother =>>jis-x0208
469               =>iso-ir 168
470               ;; final ?B
471               graphic 0))
472   (make-charset
473    '=>jis-x0208
474    "JIS X 0208 based on the unchanged unification rules."
475    '(registry "jisx0208\\.1990"
476               dimension 2
477               chars 94
478               mother =>jis-x0208@usual
479               =>iso-ir 168
480               ;; final ?B
481               graphic 0))
482   (define-charset-alias '<=>jis-x0208 '=>jis-x0208)
483   (make-charset
484    '=>jis-x0208@1997
485    "JIS X 0208 based on the unification rule of 1997 edition."
486    '(registry "jisx0208\\.1990"
487               dimension 2
488               chars 94
489               mother =>jis-x0208
490               =>iso-ir 168
491               ;; final ?B
492               graphic 0))
493   (define-charset-alias '<=>jis-x0208@1997 '=>jis-x0208@1997)
494   (define-charset-alias '  =jis-x0208@1997 '=>jis-x0208@1997)
495
496   (make-charset
497    '=>jis-x0213-1
498    "JIS X 0213 Plain 1 abstract characters (unchanged part)"
499    '(registry "jisx0213\\(\\.[0-9]+\\)?-1"
500               dimension 2
501               chars 94
502               mother =>>jis-x0213-1
503               =>iso-ir 228
504               ;; final ?O
505               graphic 0
506               ;; partial t
507               ))
508   (define-charset-alias '<=>jis-x0213-1 '=>jis-x0213-1)
509   (make-charset
510    '=>jis-x0213-1@2000
511    "JIS X 0213:2000 Plain 1 abstract characters"
512    '(registry "jisx0213\\(\\.2000\\)-1"
513               dimension 2
514               chars 94
515               mother =>jis-x0213-1
516               =>iso-ir 228
517               ;; final ?O
518               graphic 0
519               ;; partial t
520               ))
521   (define-charset-alias '<=>jis-x0213-1@2000 '=>jis-x0213-1@2000)
522   (make-charset
523    '=>jis-x0213-1@2004
524    "JIS X 0213:2004 Plain 1 abstract characters"
525    '(registry "jisx0213\\(\\.2004\\)-1"
526               dimension 2
527               chars 94
528               mother =>jis-x0213-1
529               =>iso-ir 233
530               ;; final ?Q
531               graphic 0
532               ;; partial t
533               ))
534   (define-charset-alias '<=>jis-x0213-1@2004 '=>jis-x0213-1@2004)
535   (make-charset
536    '=>jis-x0213-2@usual
537    "JIS X 0213 Plain 2 based on usual unification."
538    '(registry "jisx0213\\(\\.\\(2000\\|2004\\)\\)?-2"
539               dimension 2
540               chars 94
541               mother =>>jis-x0213-2
542               =>iso-ir 229
543               ;; final ?P
544               graphic 0))
545   (make-charset
546    '=>jis-x0213-2
547    "JIS X 0213 Plain 2 abstract characters"
548    '(registry "jisx0213\\(\\.\\(2000\\|2004\\)\\)?-2"
549               dimension 2
550               chars 94
551               mother =>jis-x0213-2@usual
552               =>iso-ir 229
553               ;; final ?P
554               graphic 0))
555
556   (make-charset '=big5-cdp
557                 "Big5 with CDP extension"
558                 '(long-name     "Big5-CDP"
559                   chars         256
560                   dimension     2
561                   columns       2
562                   graphic       2
563                   direction     l2r
564                   registry      "big5\\.cdp-0"
565                   mother        chinese-big5
566                   min-code      #x8140
567                   max-code      #x8DFE))
568   (define-charset-alias 'chinese-big5-cdp '=big5-cdp)
569
570   (make-charset '=>>big5-cdp
571                 "Abstract glyphs of Big5-CDP"
572                 '(long-name     "Big5-CDP glyphs"
573                   chars         256
574                   dimension     2
575                   columns       2
576                   graphic       2
577                   direction     l2r
578                   registry      "big5\\.cdp-0"
579                   mother        =big5-cdp))
580
581   (make-charset '=>big5-cdp
582                 "Big5-CDP abstract characters"
583                 '(long-name     "Big5-CDP abstract characters"
584                   chars         256
585                   dimension     2
586                   columns       2
587                   graphic       2
588                   direction     l2r
589                   registry      "big5\\.cdp-0"
590                   mother        =>>big5-cdp))
591
592   (make-charset '=gt
593                 "GT 2000"
594                 `(long-name     "GT"
595                   chars         256
596                   dimension     3
597                   columns       2
598                   graphic       2
599                   direction     l2r
600                   registry      ""
601                   min-code      ,(lsh #x6100 16)
602                   max-code      ,(+ (lsh #x6100 16) 67547)
603                   code-offset   ,(lsh #x6100 16)))
604   (define-charset-alias 'ideograph-gt '=gt)
605   (make-charset '=>>gt
606                 "GT 2000 abstract glyphs"
607                 '(long-name     "GT abstract glyphs"
608                   chars         256
609                   dimension     3
610                   columns       2
611                   graphic       2
612                   direction     l2r
613                   mother        =gt))
614   (define-charset-alias '<=>gt '=>>gt)
615   (define-charset-alias '<==>gt '=>>gt)
616   (make-charset '=>gt
617                 "GT 2000 abstract characters"
618                 '(long-name     "abstract GT characters"
619                   chars         256
620                   dimension     3
621                   columns       2
622                   graphic       2
623                   direction     l2r
624                   mother        =>>gt))
625   (make-charset '=gt-k
626                 "Ideographic components of GT"
627                 `(long-name     "GT components"
628                   chars         256
629                   dimension     2
630                   columns       2
631                   graphic       2
632                   direction     l2r
633                   registry      ""
634                   min-code      ,(lsh #x6110 16)
635                   max-code      ,(+ (lsh #x6110 16) 17090)
636                   code-offset   ,(lsh #x6110 16)))
637   (define-charset-alias 'ideograph-gt-k '=gt-k)
638   (make-charset '=>>gt-k
639                 "abstract glyphs of GT-K"
640                 '(long-name     "GT-K abstract glyphs"
641                   chars         256
642                   dimension     2
643                   columns       2
644                   graphic       2
645                   direction     l2r
646                   mother        =gt-k))
647   (make-charset '=>gt-k
648                 "GT-K abstract characters"
649                 '(long-name     "GT-K abstract characters"
650                   chars         256
651                   dimension     2
652                   columns       2
653                   graphic       2
654                   direction     l2r
655                   mother        =>>gt-k))
656   (let ((i 1))
657     (while (<= i 11)
658       (make-charset
659        (intern (format "=gt-pj-%d" i))
660        (format "GT 2000 (pseudo JIS encoding) part %d" i)
661        `(long-name ,(format "GT PJ %d" i)
662                    chars 94
663                    dimension 2
664                    columns 2
665                    graphic 0
666                    direction l2r
667                    registry ,(format "\\(GTpj-%d\\|jisx0208\\.GT-%d\\)$" i i)))
668       (define-charset-alias
669         (intern (format "ideograph-gt-pj-%d" i))
670         (intern (format "=gt-pj-%d" i)))
671       (setq i (1+ i))))
672   (make-charset
673    '=gt-pj-k1
674    "Ideographic parts of GT (pseudo JIS encoding) part 1"
675    '(long-name "GT K1"
676                chars 94
677                dimension 2
678                columns 2
679                graphic 0
680                direction l2r
681                registry "\\(GTKpj-1\\|jisx0208\\.GTK-1\\)$"))
682   (define-charset-alias 'ideograph-gt-pj-k1 '=gt-pj-k1)
683   (make-charset
684    '=gt-pj-k2
685    "Ideographic parts of GT (pseudo JIS encoding) part 2"
686    '(long-name "GT K2"
687                chars 94
688                dimension 2
689                columns 2
690                graphic 0
691                direction l2r
692                registry "\\(GTKpj-2\\|jisx0208\\.GTK-2\\)$"))
693   (define-charset-alias 'ideograph-gt-pj-k2 '=gt-pj-k2)
694
695   (make-charset '=daikanwa
696                 "Daikanwa dictionary (unchanged part)"
697                 `(long-name     "Daikanwa"
698                   chars         256
699                   dimension     2
700                   columns       2
701                   graphic       2
702                   direction     l2r
703                   registry      "Daikanwa\\(\\.[0-9]+\\)?-3"
704                   min-code      #xE00000
705                   max-code      ,(+ #xE00000 50100)
706                   code-offset   #xE00000))
707   (define-charset-alias 'ideograph-daikanwa '=daikanwa)
708
709   (make-charset '=daikanwa@rev1
710                 "Daikanwa dictionary (revised version)"
711                 `(long-name     "Daikanwa Rev."
712                   chars         256
713                   dimension     2
714                   columns       2
715                   graphic       2
716                   direction     l2r
717                   registry      "Daikanwa\\(\\.[0-9]+\\)?-2"
718                   mother        =daikanwa
719                   ))
720   (define-charset-alias 'ideograph-daikanwa-2 '=daikanwa@rev1)
721   (define-charset-alias '=daikanwa-rev1 '=daikanwa@rev1)
722
723   (make-charset '=daikanwa@rev2
724                 "Daikanwa dictionary (revised version 2)"
725                 `(long-name     "Daikanwa"
726                   chars         256
727                   dimension     2
728                   columns       2
729                   graphic       2
730                   direction     l2r
731                   registry      "Daikanwa\\(\\.[0-9]+\\)?-3"
732                   mother        =daikanwa
733                   min-code      1
734                   max-code      49964
735                   ;; min-code   #xE00000
736                   ;; max-code   ,(+ #xE00000 50100)
737                   ;; code-offset        #xE00000
738                   ))
739   (define-charset-alias '=daikanwa-rev2 '=daikanwa@rev2)
740
741   (make-charset '=daikanwa/+p
742                 "Daikanwa dictionary (ddddd')"
743                 `(long-name     "Daikanwa ddddd'"
744                   chars         256
745                   dimension     2
746                   columns       2
747                   graphic       2
748                   direction     l2r))
749   (make-charset '=daikanwa/+2p
750                 "Daikanwa dictionary (ddddd'')"
751                 `(long-name     "Daikanwa ddddd''"
752                   chars         256
753                   dimension     2
754                   columns       2
755                   graphic       2
756                   direction     l2r))
757   (make-charset '=daikanwa/ho
758                 "Daikanwa dictionary (Hokan)"
759                 `(long-name     "Daikanwa-ho"
760                   chars         256
761                   dimension     2
762                   columns       2
763                   graphic       2
764                   direction     l2r))
765
766   (make-charset '=>>daikanwa
767                 "Daikanwa abstract glyphs"
768                 '(long-name     "Daikanwa glyphs"
769                   chars         256
770                   dimension     2
771                   columns       2
772                   graphic       2
773                   direction     l2r
774                   registry      "Daikanwa\\(\\.[0-9]+\\)?-3"
775                   mother        =daikanwa))
776
777   (make-charset '=>daikanwa
778                 "Daikanwa abstract characters"
779                 '(long-name     "abstract Daikanwa"
780                   chars         256
781                   dimension     2
782                   columns       2
783                   graphic       2
784                   direction     l2r
785                   registry      "Daikanwa\\(\\.[0-9]+\\)?-3"
786                   mother        =>>daikanwa))
787
788   (make-charset '=shinjigen
789                 "Kadokawa ShinJigen dictionary (common parts)"
790                 `(long-name     "Shinjigen common parts"
791                   chars         256
792                   dimension     2
793                   columns       2
794                   graphic       2
795                   direction     l2r
796                   registry      "Shinjigen\\(\\.[0-9]+\\)?-*"))
797
798   (make-charset '=shinjigen@1ed
799                 "Kadokawa ShinJigen dictionary (the first edition)"
800                 `(long-name     "Shinjigen-1"
801                   chars         256
802                   dimension     2
803                   columns       2
804                   graphic       2
805                   direction     l2r
806                   mother        =shinjigen
807                   registry      "Shinjigen\\(\\.[0-9]+\\)?-1"))
808   (define-charset-alias 'shinjigen-1 '=shinjigen@1ed)
809
810   (make-charset '=shinjigen@1ed/24pr
811                 "Kadokawa ShinJigen dictionary (the 24th impression)"
812                 `(long-name     "Shinjigen-1 24pr"
813                   chars         256
814                   dimension     2
815                   columns       2
816                   graphic       2
817                   direction     l2r
818                   mother        =shinjigen@1ed))
819
820   (make-charset '=shinjigen@rev
821                 "Kadokawa ShinJigen dictionary (the revised edition)"
822                 `(long-name     "Shinjigen-2"
823                   chars         256
824                   dimension     2
825                   columns       2
826                   graphic       2
827                   direction     l2r
828                   mother        =shinjigen
829                   registry      "Shinjigen\\(\\.[0-9]+\\)?-2"))
830   (define-charset-alias 'shinjigen-2 '=shinjigen@rev)
831   (make-charset '=shinjigen/+p@rev
832                 "ShinJigen (the second edition) number with '"
833                 `(long-name     "Shinjigen-2 with '"
834                   chars         256
835                   dimension     2
836                   columns       2
837                   graphic       2
838                   direction     l2r))
839   (define-charset-alias 'shinjigen-2-p '=shinjigen/+p@rev)
840
841   (make-charset '=big5-pua
842                 "Big5 with private used area"
843                 '(long-name     "Big5-PUA"
844                   chars         256
845                   dimension     2
846                   columns       2
847                   graphic       2
848                   direction     l2r
849                   mother        chinese-big5
850                   registry      "Big5\\.ETEN"))
851   (define-charset-alias 'chinese-big5-pua '=big5-pua)
852   (make-charset '=big5-eten
853                 "Big5 ETEN"
854                 '(long-name     "Big5-ETEN"
855                   chars         256
856                   dimension     2
857                   columns       2
858                   graphic       2
859                   direction     l2r
860                   mother        chinese-big5
861                   min-code      #x8140
862                   max-code      #xFEFE
863                   registry      "Big5\\.ETEN"))
864   (define-charset-alias 'chinese-big5-eten '=big5-eten)
865   (make-charset 'chinese-big5-eten-a
866                 "Big5 ETEN (#xF9D6 .. #xF9FE)"
867                 '(long-name     "Big5-ETEN-a"
868                   chars         256
869                   dimension     2
870                   columns       2
871                   graphic       2
872                   direction     l2r
873                   mother        chinese-big5
874                   min-code      #xF9D6
875                   max-code      #xF9FE
876                   registry      "Big5\\.ETEN"))
877   (make-charset 'chinese-big5-eten-b
878                 "Big5 ETEN (#xC6A1 .. #xC8FE)"
879                 '(long-name     "Big5-ETEN-b"
880                   chars         256
881                   dimension     2
882                   columns       2
883                   graphic       2
884                   direction     l2r
885                   mother        chinese-big5
886                   min-code      #xC6A1
887                   max-code      #xC8FE
888                   registry      "Big5\\.ETEN"))
889
890   (let* ((i 1)
891          (hzk-min (+ (lsh #x6200 16) 65536))
892          (hzk-max (+ hzk-min 65535)))
893     (while (<= i 12)
894       (make-charset
895        (intern (format "=hanziku-%d" i))
896        (format "HANZIKU (pseudo BIG5 encoding) part %d" i)
897        `(long-name ,(format "HANZIKU-%d" i)
898                    chars 256
899                    dimension 2
900                    columns 2
901                    graphic 2
902                    direction l2r
903                    registry ,(format "hanziku-%d$" i i)
904                    min-code ,hzk-min
905                    max-code ,hzk-max
906                    code-offset ,hzk-min))
907       (define-charset-alias
908         (intern (format "ideograph-hanziku-%d" i))
909         (intern (format "=hanziku-%d" i)))
910       (setq hzk-min (1+ hzk-max)
911             hzk-max (+ hzk-min 65535))
912       (setq i (1+ i))))
913
914   (make-charset '=cbeta "CBETA private characters"
915                 '(long-name     "CBETA PUA"
916                   chars         256
917                   dimension     2
918                   registry      "cbeta-0"
919                   graphic       2
920                   min-code      #xE20000
921                   max-code      #xE2FFFF
922                   code-offset   #xE20000
923                   columns       2
924                   direction     l2r))
925   (define-charset-alias 'ideograph-cbeta '=cbeta)
926
927   (make-charset '=zinbun-oracle
928                 "Oracle Bones Script"
929                 `(long-name     "Oracle Bones Script in Zinbun, Kyoto Univ."
930                   chars         256
931                   dimension     2
932                   registry      "zob1968-0"
933                   graphic       2
934                   min-code      #xE70000
935                   max-code      ,(+ #xE70000 8192)
936                   code-offset   #xE70000
937                   columns       2
938                   direction     l2r))
939
940   (make-charset '=>zinbun-oracle
941                 "Abstract Oracle Bones"
942                 '(long-name     "Abstract characters of Zinbun Oracle Bones."
943                   chars         256
944                   dimension     2
945                   mother        =zinbun-oracle
946                   registry      "zob1968-0"
947                   graphic       2
948                   columns       2
949                   direction     l2r))
950
951   (make-charset '=jef-china3
952                 "JEF + CHINA3 private characters"
953                 '(long-name     "JEF + CHINA3"
954                   chars         256
955                   dimension     2
956                   columns       2
957                   graphic       2
958                   direction     l2r
959                   registry      "china3jef-0"
960                   min-code      #xE80000
961                   max-code      #xE8FFFF
962                   code-offset   #xE80000))
963   (define-charset-alias 'china3-jef '=jef-china3)
964
965   (make-charset '=ruimoku-v6
966                 "private characters used in RUIMOKU Version.6"
967                 `(long-name     "RUI6"
968                   chars         256
969                   dimension     2
970                   columns       2
971                   graphic       2
972                   direction     l2r
973                   registry      "rui6-0"
974                   ;; mother     ucs
975                   min-code      #xE90000 ; #xE000
976                   max-code      #xE908FF ; #xE8FF
977                   code-offset   ,(- #xE90000 #xE000)))
978   (make-charset '=>>ruimoku-v6
979                 "RUIMOKU Version.6 glyphs"
980                 '(long-name     "RUI6 glyphs"
981                   chars         256
982                   dimension     2
983                   columns       2
984                   graphic       2
985                   direction     l2r
986                   registry      "rui6-0"
987                   mother        =ruimoku-v6))
988
989   (make-charset '==>ucs@bucs
990                 "Basic Subset of Coded Character Sets (BUCS)"
991                 '(long-name     "BUCS abstract characters"
992                   chars         256
993                   dimension     3
994                   columns       2
995                   graphic       2
996                   direction     l2r
997                   =>iso-ir      177
998                   mother        =ucs))
999
1000   (make-charset '=>ucs@iso
1001                 "Abstract characters of ISO/IEC 10646 representatives"
1002                 '(long-name     "UCS characters for ISO"
1003                   chars         256
1004                   dimension     3
1005                   columns       2
1006                   graphic       2
1007                   direction     l2r
1008                   =>iso-ir      177
1009                   mother        =ucs))
1010   (make-charset '=>ucs@unicode
1011                 "Abstract characters of Unicode representatives"
1012                 '(long-name     "UCS characters for Unicode"
1013                   chars         256
1014                   dimension     3
1015                   columns       2
1016                   graphic       2
1017                   direction     l2r
1018                   =>iso-ir      177
1019                   mother        =>ucs@iso))
1020   (make-charset '=>ucs@jis
1021                 "UCS Representative characters for JIS X0208/0212/0213"
1022                 '(long-name     "UCS characters for JIS"
1023                   chars         256
1024                   dimension     3
1025                   columns       2
1026                   graphic       2
1027                   direction     l2r
1028                   =>iso-ir      177
1029                   mother        =>ucs@unicode))
1030   (make-charset '=>ucs@JP
1031                 "UCS Representative characters for Japanese usual unification"
1032                 '(long-name     "UCS characters for JP"
1033                   chars         256
1034                   dimension     3
1035                   columns       2
1036                   graphic       2
1037                   direction     l2r
1038                   =>iso-ir      177
1039                   mother        =>ucs@jis))
1040   (make-charset '=>ucs@ks
1041                 "UCS Representative characters for Korean Standards"
1042                 '(long-name     "UCS characters for KS"
1043                   chars         256
1044                   dimension     3
1045                   columns       2
1046                   graphic       2
1047                   direction     l2r
1048                   =>iso-ir      177
1049                   mother        =>ucs@unicode))
1050   (make-charset '=>ucs@cns
1051                 "UCS representatives characters for CNS 11643 sources"
1052                 '(long-name     "UCS characters for CNS 11643"
1053                   chars         256
1054                   dimension     3
1055                   columns       2
1056                   graphic       2
1057                   direction     l2r
1058                   =>iso-ir      177
1059                   mother        =>ucs@unicode))
1060
1061   (make-charset '=>>ucs@iso
1062                 "Representative abstract-glyphs of ISO/IEC 10646"
1063                 '(long-name     "UCS abstract glyphs for UCS"
1064                   chars         256
1065                   dimension     3
1066                   columns       2
1067                   graphic       2
1068                   direction     l2r
1069                   =>iso-ir      177
1070                   mother        =>ucs@iso))
1071   (make-charset '=>>ucs@unicode
1072                 "Representative abstract-glyphs of Unicode"
1073                 '(long-name     "Unicode abstract glyphs"
1074                   chars         256
1075                   dimension     3
1076                   columns       2
1077                   graphic       2
1078                   direction     l2r
1079                   =>iso-ir      177
1080                   mother        =>>ucs@iso))
1081   (make-charset '=>>ucs@jis
1082                 "UCS Representative abstract-glyphs for JIS X0208/0212/0213"
1083                 '(long-name     "UCS abstract glyphs for JIS"
1084                   chars         256
1085                   dimension     3
1086                   columns       2
1087                   graphic       2
1088                   direction     l2r
1089                   =>iso-ir      177
1090                   mother        =>>ucs@unicode))
1091   (make-charset '=>>ucs@jis/1990
1092                 "UCS Representative glyphs for JIS X 0208/0212:1990"
1093                 '(long-name     "UCS glyphs for JIS:1990"
1094                   chars         256
1095                   dimension     3
1096                   columns       2
1097                   graphic       2
1098                   direction     l2r
1099                   =>iso-ir      177
1100                   mother        =>>ucs@jis))
1101   (make-charset '=>>ucs@jis/2000
1102                 "UCS Representative glyphs for JIS X 0213:2000"
1103                 '(long-name     "UCS glyphs for JIS:2000"
1104                   chars         256
1105                   dimension     3
1106                   columns       2
1107                   graphic       2
1108                   direction     l2r
1109                   =>iso-ir      177
1110                   mother        =>>ucs@jis))
1111   (make-charset '=>>ucs@jis/2004
1112                 "UCS Representative glyphs for JIS X 0213:2004"
1113                 '(long-name     "UCS glyphs for JIS:2004"
1114                   chars         256
1115                   dimension     3
1116                   columns       2
1117                   graphic       2
1118                   direction     l2r
1119                   =>iso-ir      177
1120                   mother        =>>ucs@jis))
1121   (make-charset '=>>ucs@JP
1122                 "UCS abstract-glyphs based on Japanese style glyphs"
1123                 '(long-name     "UCS glyphs for JP"
1124                   chars         256
1125                   dimension     3
1126                   columns       2
1127                   graphic       2
1128                   direction     l2r
1129                   =>iso-ir      177
1130                   mother        =>>ucs@jis/2004))
1131   (make-charset '=>>ucs@ks
1132                 "UCS Representative glyphs for Korean Standards"
1133                 '(long-name     "UCS glyphs for KS"
1134                   chars         256
1135                   dimension     3
1136                   columns       2
1137                   graphic       2
1138                   direction     l2r
1139                   =>iso-ir      177
1140                   mother        =>>ucs@unicode))
1141   (make-charset '=>>ucs@cns
1142                 "UCS Representative glyphs for CNS 11643 sources"
1143                 '(long-name     "UCS glyphs for CNS"
1144                   chars         256
1145                   dimension     3
1146                   columns       2
1147                   graphic       2
1148                   direction     l2r
1149                   =>iso-ir      177
1150                   mother        =>>ucs@unicode))
1151
1152   (make-charset '=>>>ucs@iso
1153                 "Representative glyphs of ISO/IEC 10646"
1154                 '(long-name     "UCS glyphs for UCS"
1155                   chars         256
1156                   dimension     3
1157                   columns       2
1158                   graphic       2
1159                   direction     l2r
1160                   =>iso-ir      177
1161                   mother        =>>ucs@iso))
1162   (make-charset '=>>>ucs@unicode
1163                 "Representative glyphs of Unicode"
1164                 '(long-name     "UCS glyphs for Unicode"
1165                   chars         256
1166                   dimension     3
1167                   columns       2
1168                   graphic       2
1169                   direction     l2r
1170                   =>iso-ir      177
1171                   mother        =>>>ucs@iso))
1172   (make-charset '=>>>ucs@jis
1173                 "UCS Representative glyphs for JIS X0208/0212/0213"
1174                 '(long-name     "UCS glyphs for JIS"
1175                   chars         256
1176                   dimension     3
1177                   columns       2
1178                   graphic       2
1179                   direction     l2r
1180                   =>iso-ir      177
1181                   mother        =>>>ucs@unicode))
1182   (make-charset '=>>>ucs@jis/2004
1183                 "UCS Representative glyphs for JIS X 0213:2004"
1184                 '(long-name     "UCS glyphs for JIS:2004"
1185                   chars         256
1186                   dimension     3
1187                   columns       2
1188                   graphic       2
1189                   direction     l2r
1190                   =>iso-ir      177
1191                   mother        =>>>ucs@jis))
1192   (make-charset '=>>>ucs@ks
1193                 "UCS Representative glyphs for Korean Standards"
1194                 '(long-name     "UCS glyphs for KS"
1195                   chars         256
1196                   dimension     3
1197                   columns       2
1198                   graphic       2
1199                   direction     l2r
1200                   =>iso-ir      177
1201                   mother        =>>>ucs@unicode))
1202   (make-charset '=>>>ucs@cns
1203                 "UCS Representative glyphs for CNS 11643 sources"
1204                 '(long-name     "UCS glyphs for CNS"
1205                   chars         256
1206                   dimension     3
1207                   columns       2
1208                   graphic       2
1209                   direction     l2r
1210                   =>iso-ir      177
1211                   mother        =>>>ucs@unicode))
1212
1213   (make-charset '=ucs@iso
1214                 "ISO/IEC 10646 for its representative glyphs"
1215                 '(long-name     "UCS for ISO"
1216                   chars         256
1217                   dimension     3
1218                   columns       2
1219                   graphic       2
1220                   direction     l2r
1221                   =>iso-ir      177
1222                   mother        =>>>ucs@iso))
1223   (make-charset '=ucs@unicode
1224                 "Unicode for its representative glyphs"
1225                 '(long-name     "UCS for Unicode"
1226                   chars         256
1227                   dimension     3
1228                   columns       2
1229                   graphic       2
1230                   direction     l2r
1231                   =>iso-ir      177
1232                   mother        =ucs@iso))
1233   (make-charset '=ucs@gb
1234                 "ISO/IEC 10646 for GB"
1235                 '(long-name     "UCS for GB"
1236                   chars         256
1237                   dimension     3
1238                   columns       2
1239                   graphic       2
1240                   direction     l2r
1241                   =>iso-ir      177
1242                   mother        =ucs@unicode))
1243   (define-charset-alias 'ucs-gb '=ucs@gb)
1244   (make-charset '=ucs@gb/fw
1245                 "ISO/IEC 10646 for GB with fullwidth"
1246                 '(long-name     "UCS for GB-fullwidth"
1247                   chars         256
1248                   dimension     3
1249                   columns       2
1250                   graphic       2
1251                   direction     l2r
1252                   =>iso-ir      177
1253                   mother        =ucs@gb))
1254   (make-charset '=ucs-bmp@gb
1255                 "ISO/IEC 10646 BMP for GB"
1256                 '(long-name     "BMP for GB"
1257                   chars         256
1258                   dimension     3
1259                   columns       2
1260                   graphic       2
1261                   direction     l2r
1262                   mother        =ucs@gb
1263                   min-code      #x0000
1264                   max-code      #xFFFF))
1265   (make-charset '=ucs@cns
1266                 "ISO/IEC 10646 for CNS 11643"
1267                 '(long-name     "UCS for CNS"
1268                   chars         256
1269                   dimension     3
1270                   columns       2
1271                   graphic       2
1272                   direction     l2r
1273                   =>iso-ir      177
1274                   mother        =ucs@unicode))
1275   (define-charset-alias 'ucs-cns '=ucs@cns)
1276   (make-charset '=ucs@cns/fw
1277                 "ISO/IEC 10646 for CNS 11643 with fullwidth"
1278                 '(long-name     "UCS for CNS-fullwidth"
1279                   chars         256
1280                   dimension     3
1281                   columns       2
1282                   graphic       2
1283                   direction     l2r
1284                   =>iso-ir      177
1285                   mother        =ucs@cns))
1286   (make-charset '=ucs-bmp@cns
1287                 "ISO/IEC 10646 BMP for CNS"
1288                 '(long-name     "BMP for CNS"
1289                   chars         256
1290                   dimension     3
1291                   columns       2
1292                   graphic       2
1293                   direction     l2r
1294                   mother        =ucs@cns
1295                   min-code      #x0000
1296                   max-code      #xFFFF))
1297   (make-charset '=ucs@jis
1298                 "ISO/IEC 10646 for JIS X0208/0212/0213"
1299                 '(long-name     "UCS for JIS"
1300                   chars         256
1301                   dimension     3
1302                   columns       2
1303                   graphic       2
1304                   direction     l2r
1305                   =>iso-ir      177
1306                   mother        =ucs@unicode))
1307   (define-charset-alias 'ucs-jis '=ucs@jis)
1308   (make-charset '=ucs@jis/fw
1309                 "ISO/IEC 10646 for JIS X0208/0212/0213 with fullwidth"
1310                 '(long-name     "UCS for JIS-fullwidth"
1311                   chars         256
1312                   dimension     3
1313                   columns       2
1314                   graphic       2
1315                   direction     l2r
1316                   =>iso-ir      177
1317                   mother        =ucs@jis))
1318   (make-charset '=ucs-bmp@jis
1319                 "ISO/IEC 10646 BMP for JIS"
1320                 '(long-name     "BMP for JIS"
1321                   chars         256
1322                   dimension     3
1323                   columns       2
1324                   graphic       2
1325                   direction     l2r
1326                   mother        =ucs@jis
1327                   min-code      #x0000
1328                   max-code      #xFFFF))
1329   ;; (make-charset '=ucs@jis/1983
1330   ;;               "ISO/IEC 10646 for JIS X 0208:1983"
1331   ;;               '(long-name     "UCS for JIS:1983"
1332   ;;                 chars         256
1333   ;;                 dimension     3
1334   ;;                 columns       2
1335   ;;                 graphic       2
1336   ;;                 direction     l2r
1337   ;;                 =>iso-ir      177
1338   ;;                 mother        =ucs@jis))
1339   (make-charset '=ucs@jis/1990
1340                 "ISO/IEC 10646 for JIS X 0208/0212:1990"
1341                 '(long-name     "UCS for JIS:1990"
1342                   chars         256
1343                   dimension     3
1344                   columns       2
1345                   graphic       2
1346                   direction     l2r
1347                   =>iso-ir      177
1348                   mother        =ucs@jis))
1349   (define-charset-alias '=ucs@jis-1990 '=ucs@jis/1990)
1350   (define-charset-alias '=ucs-jis-1990 '=ucs@jis/1990)
1351   (make-charset '=ucs@jis/2000
1352                 "ISO/IEC 10646 for JIS X 0213:2000"
1353                 '(long-name     "UCS for JIS:2000"
1354                   chars         256
1355                   dimension     3
1356                   columns       2
1357                   graphic       2
1358                   direction     l2r
1359                   =>iso-ir      177
1360                   mother        =ucs@jis))
1361   (define-charset-alias '=ucs@jis-2000 '=ucs@jis/2000)
1362   (define-charset-alias '=ucs-jis-2000 '=ucs@jis/2000)
1363   (make-charset '=ucs@jis/2004
1364                 "ISO/IEC 10646 for JIS X 0213:2004"
1365                 '(long-name     "UCS for JIS:2004"
1366                   chars         256
1367                   dimension     3
1368                   columns       2
1369                   graphic       2
1370                   direction     l2r
1371                   =>iso-ir      177
1372                   mother        =ucs@jis))
1373   (make-charset '=ucs@JP
1374                 "UCS for common glyphs used in Japan"
1375                 '(long-name     "UCS for Japan"
1376                   chars         256
1377                   dimension     3
1378                   columns       2
1379                   graphic       2
1380                   direction     l2r
1381                   =>iso-ir      177
1382                   mother        =ucs@jis/2004))
1383   (define-charset-alias '=ucs@jp '=ucs@JP)
1384   (make-charset '=ucs@ks
1385                 "ISO/IEC 10646 for Korean Standards"
1386                 '(long-name     "UCS for KS"
1387                   chars         256
1388                   dimension     3
1389                   columns       2
1390                   graphic       2
1391                   direction     l2r
1392                   =>iso-ir      177
1393                   mother        =ucs@unicode))
1394   (define-charset-alias 'ucs-ks '=ucs@ks)
1395   (make-charset '=ucs-bmp@ks
1396                 "ISO/IEC 10646 BMP for KS"
1397                 '(long-name     "BMP for KS"
1398                   chars         256
1399                   dimension     3
1400                   columns       2
1401                   graphic       2
1402                   direction     l2r
1403                   mother        =ucs@ks
1404                   min-code      #x0000
1405                   max-code      #xFFFF))
1406   (make-charset '=ucs@cns11643
1407                 "ISO/IEC 10646 for CNS based on www.cns11643.gov.tw"
1408                 '(long-name     "UCS for CNS11643"
1409                   chars         256
1410                   dimension     3
1411                   columns       2
1412                   graphic       2
1413                   direction     l2r
1414                   =>iso-ir      177
1415                   mother        =ucs@cns))
1416   (make-charset '=ucs@big5
1417                 "ISO/IEC 10646 for Big5"
1418                 '(long-name     "UCS for Big5"
1419                   chars         256
1420                   dimension     3
1421                   columns       2
1422                   graphic       2
1423                   direction     l2r
1424                   =>iso-ir      177
1425                   mother        =>>ucs@cns))
1426   (define-charset-alias 'ucs-big5 '=ucs@big5)
1427   (make-charset '=ucs@big5/cns11643
1428                 "ISO/IEC 10646 for Big5 based on www.cns11643.gov.tw"
1429                 '(long-name     "UCS for Big5@CNS11643"
1430                   chars         256
1431                   dimension     3
1432                   columns       2
1433                   graphic       2
1434                   direction     l2r
1435                   =>iso-ir      177
1436                   mother        =ucs@big5))
1437
1438   (make-charset
1439    '=ucs-radicals
1440    "CJK Radicals of UCS"
1441    '(long-name "UCS-Radicals"
1442                chars 256
1443                dimension 2
1444                columns 2
1445                graphic 2
1446                direction l2r
1447                registry "-zhRadicals-.*-ucs-0"
1448                mother ucs-bmp
1449                min-code #x2E00 max-code #x2FFF))
1450   (make-charset
1451    '=ucs-radicals@unicode
1452    "CJK Radicals of UCS"
1453    '(long-name "UCS-Radicals"
1454                chars 256
1455                dimension 2
1456                columns 2
1457                graphic 2
1458                direction l2r
1459                registry "-zhRadicals-.*-ucs-0"
1460                mother =ucs@unicode
1461                min-code #x2E00 max-code #x2FFF))
1462   (make-charset
1463    '=ucs-hangul
1464    "Hangul Syllables of UCS"
1465    '(long-name "UCS-Hangul-Syllables"
1466                chars 256
1467                dimension 2
1468                columns 2
1469                graphic 2
1470                direction l2r
1471                registry "-Hangul-.*-ucs-0"
1472                mother =ucs
1473                min-code #xAC00 max-code #xD7AF))
1474   (make-charset
1475    '=ucs-bmp-cjk
1476    "CJK Characters in BMP of UCS"
1477    '(long-name "UCS-BMP-CJK"
1478                chars 256
1479                dimension 2
1480                columns 2
1481                graphic 2
1482                direction l2r
1483                registry "-zh-.*-ucs-0"
1484                mother ucs-bmp
1485                min-code #x2E00
1486                max-code #x9FA5
1487                ;; max-code #xA4CF
1488                ))
1489   (make-charset
1490    '=ucs-bmp-cjk@unicode
1491    "CJK Characters in BMP of Unicode"
1492    '(long-name "Unicode-BMP-CJK"
1493                chars 256
1494                dimension 2
1495                columns 2
1496                graphic 2
1497                direction l2r
1498                registry "-zh-.*-ucs-0"
1499                mother =ucs@unicode
1500                min-code #x2E00
1501                max-code #x9FA5
1502                ;; max-code #xA4CF
1503                ))
1504   (make-charset
1505    '==>ucs-bmp-cjk@bucs
1506    "CJK Characters in BMP of BUCS"
1507    '(long-name "BUCS-BMP-CJK"
1508                chars 256
1509                dimension 2
1510                columns 2
1511                graphic 2
1512                direction l2r
1513                registry "-zh-.*-ucs-0"
1514                mother ==>ucs@bucs
1515                min-code #x2E00
1516                max-code #x9FA5
1517                ;; max-code #xA4CF
1518                ))
1519   (make-charset
1520    '=ucs-sip-ext-b
1521    "CJK Ideographs Extension B"
1522    '(long-name "UCS CJK Ext-B"
1523                chars 256
1524                dimension 2
1525                columns 2
1526                graphic 2
1527                direction l2r
1528                registry "\\(iso10646\\|ucs02\\)-2$"
1529                mother ucs
1530                min-code #x20000 max-code #x2A6D6
1531                code-offset #x20000))
1532   (make-charset
1533    '=ucs-sip-ext-b@iso
1534    "CJK Ideographs Extension B (ISO/IEC 10646-2)"
1535    '(long-name "UCS CJK Ext-B"
1536                chars 256
1537                dimension 2
1538                columns 2
1539                graphic 2
1540                direction l2r
1541                registry "\\(iso10646\\|ucs02\\)-2$"
1542                mother =ucs@iso
1543                min-code #x20000 max-code #x2A6D6
1544                code-offset #x20000))
1545
1546   (make-charset
1547    '=adobe-japan1-base
1548    "Adobe-Japan1 Character Collection for CID-Keyed Fonts"
1549    `(long-name "Adobe-Japan1"
1550                chars 256
1551                dimension 2
1552                columns 2
1553                graphic 2
1554                direction l2r
1555                registry "AdobeJapan1-[0-6]$"
1556                min-code ,(lsh #x6300 16)
1557                max-code ,(+ (lsh #x6300 16) 23057)
1558                code-offset      ,(lsh #x6300 16)))
1559   (make-charset
1560    '=adobe-japan1-0
1561    "Adobe-Japan1-0 Character Collection for CID-Keyed Fonts"
1562    '(long-name "Adobe-Japan1-0"
1563                chars 256
1564                dimension 2
1565                columns 2
1566                graphic 2
1567                direction l2r
1568                mother =adobe-japan1-base
1569                min-code 0
1570                max-code 8283
1571                registry "AdobeJapan1-0$"))
1572   (make-charset
1573    '=adobe-japan1-1
1574    "Adobe-Japan1-1 Character Collection for CID-Keyed Fonts"
1575    '(long-name "Adobe-Japan1-1"
1576                chars 256
1577                dimension 2
1578                columns 2
1579                graphic 2
1580                direction l2r
1581                mother =adobe-japan1-0
1582                min-code 0
1583                max-code 8358
1584                registry "AdobeJapan1-1$"))
1585   (make-charset
1586    '=adobe-japan1-2
1587    "Adobe-Japan1-2 Character Collection for CID-Keyed Fonts"
1588    '(long-name "Adobe-Japan1-2"
1589                chars 256
1590                dimension 2
1591                columns 2
1592                graphic 2
1593                direction l2r
1594                mother =adobe-japan1-1
1595                min-code 0
1596                max-code 8719
1597                registry "AdobeJapan1-2$"))
1598   (make-charset
1599    '=adobe-japan1-3
1600    "Adobe-Japan1-3 Character Collection for CID-Keyed Fonts"
1601    '(long-name "Adobe-Japan1-3"
1602                chars 256
1603                dimension 2
1604                columns 2
1605                graphic 2
1606                direction l2r
1607                mother =adobe-japan1-2
1608                min-code 0
1609                max-code 9353
1610                registry "AdobeJapan1-3$"))
1611   (make-charset
1612    '=adobe-japan1-4
1613    "Adobe-Japan1-4 Character Collection for CID-Keyed Fonts"
1614    '(long-name "Adobe-Japan1-4"
1615                chars 256
1616                dimension 2
1617                columns 2
1618                graphic 2
1619                direction l2r
1620                mother =adobe-japan1-3
1621                min-code 0
1622                max-code 15443
1623                registry "AdobeJapan1-4$"))
1624   (make-charset
1625    '=adobe-japan1-5
1626    "Adobe-Japan1-5 Character Collection for CID-Keyed Fonts"
1627    '(long-name "Adobe-Japan1-5"
1628                chars 256
1629                dimension 2
1630                columns 2
1631                graphic 2
1632                direction l2r
1633                mother =adobe-japan1-4
1634                min-code 0
1635                max-code 20316
1636                registry "AdobeJapan1-5$"))
1637   (make-charset
1638    '=adobe-japan1-6
1639    "Adobe-Japan1-6 Character Collection for CID-Keyed Fonts"
1640    '(long-name "Adobe-Japan1-6"
1641                chars 256
1642                dimension 2
1643                columns 2
1644                graphic 2
1645                direction l2r
1646                mother =adobe-japan1-5
1647                min-code 0
1648                max-code 23057
1649                registry "AdobeJapan1-6$"))
1650
1651   (make-charset
1652    '=hanyo-denshi/ja
1653    "JA (JIS X0208) part of Han'you-Denshi characters"
1654    `(long-name "Han'you-Denshi/JA"
1655                chars 94
1656                dimension 2
1657                columns 2
1658                graphic 2
1659                direction l2r
1660                registry "HanyoDenshi\\.JA-0$"
1661                min-code ,(lsh #x6400 16)
1662                max-code ,(+ (lsh #x6400 16) (1- (* 94 94)))
1663                code-offset ,(lsh #x6400 16)))
1664   (make-charset
1665    '=hanyo-denshi/jb
1666    "JB (JIS X0212) part of Han'you-Denshi characters"
1667    `(long-name "Han'you-Denshi/JB"
1668                chars 94
1669                dimension 2
1670                columns 2
1671                graphic 2
1672                direction l2r
1673                registry "HanyoDenshi\\.JB-0$"
1674                min-code    ,(+ (lsh #x6400 16) (* 94 94))
1675                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 2)))
1676                code-offset ,(+ (lsh #x6400 16) (* 94 94))))
1677   (make-charset
1678    '=hanyo-denshi/jc
1679    "JC (JIS X0213:2000 Plane 1) part of Han'you-Denshi characters"
1680    `(long-name "Han'you-Denshi/JC"
1681                chars 94
1682                dimension 2
1683                columns 2
1684                graphic 2
1685                direction l2r
1686                registry "HanyoDenshi\\.JC-0$"
1687                min-code    ,(+ (lsh #x6400 16) (* 94 94 2))
1688                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 3)))
1689                code-offset ,(+ (lsh #x6400 16) (* 94 94 2))))
1690   (make-charset
1691    '=hanyo-denshi/jd
1692    "JD (JIS X0213:2000 Plane 1) part of Han'you-Denshi characters"
1693    `(long-name "Han'you-Denshi/JD"
1694                chars 94
1695                dimension 2
1696                columns 2
1697                graphic 2
1698                direction l2r
1699                registry "HanyoDenshi\\.JD-0$"
1700                min-code    ,(+ (lsh #x6400 16) (* 94 94 3))
1701                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 4)))
1702                code-offset ,(+ (lsh #x6400 16) (* 94 94 3))))
1703   (make-charset
1704    '=hanyo-denshi/ft
1705    "FT (FDPC additional) part of Han'you-Denshi characters"
1706    `(long-name "Han'you-Denshi/FT"
1707                chars 94
1708                dimension 2
1709                columns 2
1710                graphic 2
1711                direction l2r
1712                registry "HanyoDenshi\\.FT-0$"
1713                min-code    ,(+ (lsh #x6400 16) (* 94 94 4))
1714                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 5)))
1715                code-offset ,(+ (lsh #x6400 16) (* 94 94 4))))
1716   (make-charset
1717    '=hanyo-denshi/ia
1718    "IA part of Han'you-Denshi characters"
1719    `(long-name "Han'you-Denshi/IA"
1720                chars 94
1721                dimension 2
1722                columns 2
1723                graphic 2
1724                direction l2r
1725                registry "HanyoDenshi\\.IA-0$"
1726                min-code    ,(+ (lsh #x6400 16) (* 94 94 5))
1727                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 6)))
1728                code-offset ,(+ (lsh #x6400 16) (* 94 94 5))))
1729   (make-charset
1730    '=hanyo-denshi/ib
1731    "IB part of Han'you-Denshi characters"
1732    `(long-name "Han'you-Denshi/IB"
1733                chars 94
1734                dimension 2
1735                columns 2
1736                graphic 2
1737                direction l2r
1738                registry "HanyoDenshi\\.IB-0$"
1739                min-code    ,(+ (lsh #x6400 16) (* 94 94 6))
1740                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 7)))
1741                code-offset ,(+ (lsh #x6400 16) (* 94 94 6))))
1742   (make-charset
1743    '=hanyo-denshi/hg
1744    "HG (HyouGai Kanji) part of Han'you-Denshi characters"
1745    `(long-name "Han'you-Denshi/HG"
1746                chars 94
1747                dimension 2
1748                columns 2
1749                graphic 2
1750                direction l2r
1751                registry "HanyoDenshi\\.HG-0$"
1752                min-code    ,(+ (lsh #x6400 16) (* 94 94 7))
1753                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 8)))
1754                code-offset ,(+ (lsh #x6400 16) (* 94 94 7))))
1755   (make-charset
1756    '=hanyo-denshi/ip
1757    "IP (for IPA) part of Han'you-Denshi characters"
1758    `(long-name "Han'you-Denshi/IP"
1759                chars 256
1760                dimension 2
1761                columns 2
1762                graphic 2
1763                direction l2r
1764                registry "HanyoDenshi\\.IP-0$"
1765                min-code    ,(+ (lsh #x6402 16) #x4E00)
1766                max-code    ,(+ (lsh #x6402 16) #x9FFF)
1767                code-offset ,(+ (lsh #x6402 16))))
1768   (make-charset
1769    '=hanyo-denshi/jt
1770    "JT (Juuki Touitsu Moji) part of Han'you-Denshi characters"
1771    `(long-name "Han'you-Denshi/JT"
1772                chars 256
1773                dimension 2
1774                columns 2
1775                graphic 2
1776                direction l2r
1777                registry "HanyoDenshi\\.JT-0$"
1778                min-code    ,(+ (lsh #x6402 16) #xAC00)
1779                max-code    ,(+ (lsh #x6402 16) #xD7AF)
1780                code-offset ,(+ (lsh #x6402 16))))
1781   (make-charset
1782    '=hanyo-denshi/ks
1783    "KS (KoSeki) part of Han'you-Denshi characters"
1784    `(long-name "Han'you-Denshi/KS font encoding"
1785                chars 256
1786                dimension 3
1787                columns 2
1788                graphic 2
1789                direction l2r))
1790   (make-charset
1791    '=hanyo-denshi/ks/mf
1792    "font encoding for KS (KoSeki) characters"
1793    `(long-name "Han'you-Denshi/KS font encoding"
1794                chars 256
1795                dimension 2
1796                columns 2
1797                graphic 2
1798                direction l2r
1799                registry "HanyoDenshi\\.KSMF-0$"
1800                min-code       ,(lsh #x6403 16)
1801                max-code    ,(+ (lsh #x6403 16) #xFFFF)
1802                code-offset    ,(lsh #x6403 16)))
1803
1804   (make-charset
1805    '=>>hanyo-denshi/ft
1806    "Han'you-Denshi/FT abstract glyphs"
1807    '(long-name "Han'you-Denshi/FT glyphs"
1808                chars 94
1809                dimension 2
1810                columns 2
1811                graphic 2
1812                direction l2r
1813                registry "HanyoDenshi\\.FT-0$"
1814                mother =hanyo-denshi/ft))
1815   (make-charset
1816    '=>>hanyo-denshi/ib
1817    "Han'you-Denshi/IB abstract glyphs"
1818    '(long-name "Han'you-Denshi/IB abstract glyphs"
1819                chars 94
1820                dimension 2
1821                columns 2
1822                graphic 2
1823                direction l2r
1824                registry "HanyoDenshi\\.IB-0$"
1825                mother =hanyo-denshi/ib))
1826   (make-charset
1827    '=>>hanyo-denshi/jt
1828    "JT (Juuki Touitsu Moji) abstract glyphs"
1829    '(long-name "Han'you-Denshi/JT glyphs"
1830                chars 256
1831                dimension 2
1832                columns 2
1833                graphic 2
1834                direction l2r
1835                registry "HanyoDenshi\\.JT-0$"
1836                mother =hanyo-denshi/jt))
1837   (make-charset
1838    '=>>hanyo-denshi/ks
1839    "Han'you-Denshi/KS abstract glyphs"
1840    '(long-name "Han'you-Denshi/KS glyphs"
1841                chars 256
1842                dimension 3
1843                columns 2
1844                graphic 2
1845                direction l2r
1846                mother =hanyo-denshi/ks))
1847   )
1848
1849 ;;; mule-conf.el ends here