Sync up with r21-4-22-chise-0_25-9.
[chise/xemacs-chise.git] / lisp / mule / mule-conf.el
1 ;;; mule-conf.el --- configure multilingual environment
2
3 ;; Copyright (C) 1995,1999 Electrotechnical Laboratory, JAPAN.
4 ;; Licensed to the Free Software Foundation.
5 ;; Copyright (C) 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2008,
6 ;;   2009, 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-forms (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@1978
334    "JIS X 0208:1978 abstract glyph-forms."
335    '(registry "jisx0208\\.1978"
336               dimension 2
337               chars 94
338               mother =>>>jis-x0208
339               =>iso-ir 42
340               ;; final ?@
341               graphic 0))
342   (make-charset
343    '=>>>jis-x0208@1983
344    "JIS X 0208:1983 abstract glyph-forms."
345    '(registry "jisx0208\\.1983"
346               dimension 2
347               chars 94
348               mother =>>>jis-x0208
349               =>iso-ir 87
350               graphic 0))
351   (make-charset
352    '=>>>jis-x0208@1990
353    "JIS X 0208:1990 abstract glyph-forms."
354    '(registry "jisx0208\\.1990"
355               dimension 2
356               chars 94
357               mother =>>>jis-x0208
358               =>iso-ir 168
359               ;; final ?B
360               graphic 0))
361   (make-charset
362    '=>>>jis-x0213-1
363    "JIS X 0213 Plain 1 abstract glyph-forms (unchanged part)"
364    '(registry "jisx0213\\(\\.[0-9]+\\)?-1"
365               dimension 2
366               chars 94
367               mother =jis-x0213-1
368               =>iso-ir 228
369               ;; final ?O
370               graphic 0
371               ;; partial t
372               ))
373   (make-charset
374    '=>>>jis-x0213-1@2000
375    "JIS X 0213:2000 Plain 1 abstract glyph-forms"
376    '(registry "jisx0213\\(\\.2000\\)-1"
377               dimension 2
378               chars 94
379               mother =>>>jis-x0213-1
380               =>iso-ir 228
381               ;; final ?O
382               graphic 0
383               ;; partial t
384               ))
385   (make-charset
386    '=>>>jis-x0213-1@2004
387    "JIS X 0213:2004 Plain 1 abstract glyph-forms"
388    '(mother =>>>jis-x0213-1
389             =>iso-ir 233
390             ;; registry "jisx0213\\(\\.2004\\)-1"
391             dimension 2
392             chars 94
393             graphic 0))
394   (make-charset
395    '=>>>jis-x0213-2
396    "JIS X 0213 Plain 2 abstract glyph-forms"
397    '(mother =jis-x0213-2
398             =>iso-ir 229
399             registry "jisx0213\\(\\.\\(2000\\|2004\\)\\)?-2"
400             dimension 2
401             chars 94
402             graphic 0))
403
404   (make-charset
405    '=>>jis-x0208
406    "JIS X 0208 abstract glyphs (unchanged part)."
407    '(registry "jisx0208\\.1990"
408               dimension 2
409               chars 94
410               mother =>>>jis-x0208
411               =>iso-ir 168
412               ;; final ?B
413               graphic 0))
414   (make-charset
415    '=>>jis-x0208@1978
416    "JIS X 0208:1978 abstract glyphs."
417    '(registry "jisx0208\\.1978"
418               dimension 2
419               chars 94
420               mother =>>jis-x0208
421               =>iso-ir 42
422               ;; final ?@
423               graphic 0))
424   (make-charset
425    '=>>jis-x0208@1983
426    "JIS X 0208:1983 abstract glyphs."
427    '(registry "jisx0208\\.1983"
428               dimension 2
429               chars 94
430               mother =>>jis-x0208
431               =>iso-ir 87
432               graphic 0))
433   (make-charset
434    '=>>jis-x0208@1990
435    "JIS X 0208:1990 abstract glyphs."
436    '(registry "jisx0208\\.1990"
437               dimension 2
438               chars 94
439               mother =>>jis-x0208
440               =>iso-ir 168
441               graphic 0))
442
443   (make-charset
444    '=>>jis-x0213-1
445    "JIS X 0213 Plain 1 abstract glyphs (unchanged part)"
446    '(registry "jisx0213\\(\\.[0-9]+\\)?-1"
447               dimension 2
448               chars 94
449               mother =>>>jis-x0213-1
450               =>iso-ir 228
451               ;; final ?O
452               graphic 0
453               ;; partial t
454               ))
455   (make-charset
456    '=>>jis-x0213-1@2000
457    "JIS X 0213:2000 Plain 1 abstract glyphs"
458    '(registry "jisx0213\\(\\.2000\\)-1"
459               dimension 2
460               chars 94
461               mother =>>jis-x0213-1
462               =>iso-ir 228
463               ;; final ?O
464               graphic 0
465               ;; partial t
466               ))
467   (make-charset
468    '=>>jis-x0213-2
469    "JIS X 0213 Plain 2 abstract glyphs"
470    '(registry "jisx0213\\(\\.\\(2000\\|2004\\)\\)?-2"
471               dimension 2
472               chars 94
473               mother =>>>jis-x0213-2
474               =>iso-ir 229
475               ;; final ?P
476               graphic 0))
477   (make-charset
478    '=>>jis-x0213-1@2004
479    "JIS X 0213:2004 Plain 1 abstract glyphs"
480    '(registry "jisx0213\\(\\.2004\\)-1"
481               dimension 2
482               chars 94
483               mother =>>jis-x0213-1
484               =>iso-ir 233
485               ;; final ?Q
486               graphic 0
487               ;; partial t
488               ))
489
490   (make-charset
491    '=>jis-x0208@usual
492    "JIS X 0208 based on usual unification."
493    '(registry "jisx0208\\.1990"
494               dimension 2
495               chars 94
496               mother =>>jis-x0208
497               =>iso-ir 168
498               ;; final ?B
499               graphic 0))
500   (make-charset
501    '=>jis-x0208
502    "JIS X 0208 based on the unchanged unification rules."
503    '(registry "jisx0208\\.1990"
504               dimension 2
505               chars 94
506               mother =>jis-x0208@usual
507               =>iso-ir 168
508               ;; final ?B
509               graphic 0))
510   (define-charset-alias '<=>jis-x0208 '=>jis-x0208)
511   (make-charset
512    '=>jis-x0208@1997
513    "JIS X 0208 based on the unification rule of 1997 edition."
514    '(registry "jisx0208\\.1990"
515               dimension 2
516               chars 94
517               mother =>jis-x0208
518               =>iso-ir 168
519               ;; final ?B
520               graphic 0))
521   (define-charset-alias '<=>jis-x0208@1997 '=>jis-x0208@1997)
522   (define-charset-alias '  =jis-x0208@1997 '=>jis-x0208@1997)
523
524   (make-charset
525    '=>jis-x0213-1
526    "JIS X 0213 Plain 1 abstract characters (unchanged part)"
527    '(registry "jisx0213\\(\\.[0-9]+\\)?-1"
528               dimension 2
529               chars 94
530               mother =>>jis-x0213-1
531               =>iso-ir 228
532               ;; final ?O
533               graphic 0
534               ;; partial t
535               ))
536   (define-charset-alias '<=>jis-x0213-1 '=>jis-x0213-1)
537   (make-charset
538    '=>jis-x0213-1@2000
539    "JIS X 0213:2000 Plain 1 abstract characters"
540    '(registry "jisx0213\\(\\.2000\\)-1"
541               dimension 2
542               chars 94
543               mother =>jis-x0213-1
544               =>iso-ir 228
545               ;; final ?O
546               graphic 0
547               ;; partial t
548               ))
549   (define-charset-alias '<=>jis-x0213-1@2000 '=>jis-x0213-1@2000)
550   (make-charset
551    '=>jis-x0213-1@2004
552    "JIS X 0213:2004 Plain 1 abstract characters"
553    '(registry "jisx0213\\(\\.2004\\)-1"
554               dimension 2
555               chars 94
556               mother =>jis-x0213-1
557               =>iso-ir 233
558               ;; final ?Q
559               graphic 0
560               ;; partial t
561               ))
562   (define-charset-alias '<=>jis-x0213-1@2004 '=>jis-x0213-1@2004)
563   (make-charset
564    '=>jis-x0213-2@usual
565    "JIS X 0213 Plain 2 based on usual unification."
566    '(registry "jisx0213\\(\\.\\(2000\\|2004\\)\\)?-2"
567               dimension 2
568               chars 94
569               mother =>>jis-x0213-2
570               =>iso-ir 229
571               ;; final ?P
572               graphic 0))
573   (make-charset
574    '=>jis-x0213-2
575    "JIS X 0213 Plain 2 abstract characters"
576    '(registry "jisx0213\\(\\.\\(2000\\|2004\\)\\)?-2"
577               dimension 2
578               chars 94
579               mother =>jis-x0213-2@usual
580               =>iso-ir 229
581               ;; final ?P
582               graphic 0))
583
584   (make-charset '=big5-cdp
585                 "Big5 with CDP extension"
586                 '(long-name     "Big5-CDP"
587                   chars         256
588                   dimension     2
589                   columns       2
590                   graphic       2
591                   direction     l2r
592                   registry      "big5\\.cdp-0"
593                   mother        chinese-big5
594                   min-code      #x8140
595                   max-code      #x8DFE))
596   (define-charset-alias 'chinese-big5-cdp '=big5-cdp)
597
598   (make-charset '=>>big5-cdp
599                 "Abstract glyphs of Big5-CDP"
600                 '(long-name     "Big5-CDP glyphs"
601                   chars         256
602                   dimension     2
603                   columns       2
604                   graphic       2
605                   direction     l2r
606                   registry      "big5\\.cdp-0"
607                   mother        =big5-cdp))
608
609   (make-charset '=>big5-cdp
610                 "Big5-CDP abstract characters"
611                 '(long-name     "Big5-CDP abstract characters"
612                   chars         256
613                   dimension     2
614                   columns       2
615                   graphic       2
616                   direction     l2r
617                   registry      "big5\\.cdp-0"
618                   mother        =>>big5-cdp))
619
620   (make-charset '=gt
621                 "GT 2000"
622                 `(long-name     "GT"
623                   chars         256
624                   dimension     3
625                   columns       2
626                   graphic       2
627                   direction     l2r
628                   registry      ""
629                   min-code      ,(lsh #x6100 16)
630                   max-code      ,(+ (lsh #x6100 16) 67547)
631                   code-offset   ,(lsh #x6100 16)))
632   (define-charset-alias 'ideograph-gt '=gt)
633   (make-charset '=>>>gt
634                 "GT 2000 abstract glyph-forms"
635                 '(long-name     "GT abstract glyph-forms"
636                   chars         256
637                   dimension     3
638                   columns       2
639                   graphic       2
640                   direction     l2r
641                   mother        =gt))
642   (make-charset '=>>gt
643                 "GT 2000 abstract glyphs"
644                 '(long-name     "GT abstract glyphs"
645                   chars         256
646                   dimension     3
647                   columns       2
648                   graphic       2
649                   direction     l2r
650                   mother        =>>>gt))
651   (define-charset-alias '<=>gt '=>>gt)
652   (define-charset-alias '<==>gt '=>>gt)
653   (make-charset '=>gt
654                 "GT 2000 abstract characters"
655                 '(long-name     "abstract GT characters"
656                   chars         256
657                   dimension     3
658                   columns       2
659                   graphic       2
660                   direction     l2r
661                   mother        =>>gt))
662   (make-charset '=gt-k
663                 "Ideographic components of GT"
664                 `(long-name     "GT components"
665                   chars         256
666                   dimension     2
667                   columns       2
668                   graphic       2
669                   direction     l2r
670                   registry      ""
671                   min-code      ,(lsh #x6110 16)
672                   max-code      ,(+ (lsh #x6110 16) 17090)
673                   code-offset   ,(lsh #x6110 16)))
674   (define-charset-alias 'ideograph-gt-k '=gt-k)
675   (make-charset '=>>gt-k
676                 "abstract glyphs of GT-K"
677                 '(long-name     "GT-K abstract glyphs"
678                   chars         256
679                   dimension     2
680                   columns       2
681                   graphic       2
682                   direction     l2r
683                   mother        =gt-k))
684   (make-charset '=>gt-k
685                 "GT-K abstract characters"
686                 '(long-name     "GT-K abstract characters"
687                   chars         256
688                   dimension     2
689                   columns       2
690                   graphic       2
691                   direction     l2r
692                   mother        =>>gt-k))
693   (let ((i 1))
694     (while (<= i 11)
695       (make-charset
696        (intern (format "=gt-pj-%d" i))
697        (format "GT 2000 (pseudo JIS encoding) part %d" i)
698        `(long-name ,(format "GT PJ %d" i)
699                    chars 94
700                    dimension 2
701                    columns 2
702                    graphic 0
703                    direction l2r
704                    registry ,(format "\\(GTpj-%d\\|jisx0208\\.GT-%d\\)$" i i)))
705       (define-charset-alias
706         (intern (format "ideograph-gt-pj-%d" i))
707         (intern (format "=gt-pj-%d" i)))
708       (setq i (1+ i))))
709   (make-charset
710    '=gt-pj-k1
711    "Ideographic parts of GT (pseudo JIS encoding) part 1"
712    '(long-name "GT K1"
713                chars 94
714                dimension 2
715                columns 2
716                graphic 0
717                direction l2r
718                registry "\\(GTKpj-1\\|jisx0208\\.GTK-1\\)$"))
719   (define-charset-alias 'ideograph-gt-pj-k1 '=gt-pj-k1)
720   (make-charset
721    '=gt-pj-k2
722    "Ideographic parts of GT (pseudo JIS encoding) part 2"
723    '(long-name "GT K2"
724                chars 94
725                dimension 2
726                columns 2
727                graphic 0
728                direction l2r
729                registry "\\(GTKpj-2\\|jisx0208\\.GTK-2\\)$"))
730   (define-charset-alias 'ideograph-gt-pj-k2 '=gt-pj-k2)
731
732   (make-charset '=daikanwa
733                 "Daikanwa dictionary (unchanged part)"
734                 `(long-name     "Daikanwa"
735                   chars         256
736                   dimension     2
737                   columns       2
738                   graphic       2
739                   direction     l2r
740                   registry      "Daikanwa\\(\\.[0-9]+\\)?-3"
741                   min-code      #xE00000
742                   max-code      ,(+ #xE00000 50100)
743                   code-offset   #xE00000))
744   (define-charset-alias 'ideograph-daikanwa '=daikanwa)
745
746   (make-charset '=daikanwa@rev1
747                 "Daikanwa dictionary (revised version)"
748                 `(long-name     "Daikanwa Rev."
749                   chars         256
750                   dimension     2
751                   columns       2
752                   graphic       2
753                   direction     l2r
754                   registry      "Daikanwa\\(\\.[0-9]+\\)?-2"
755                   mother        =daikanwa
756                   ))
757   (define-charset-alias 'ideograph-daikanwa-2 '=daikanwa@rev1)
758   (define-charset-alias '=daikanwa-rev1 '=daikanwa@rev1)
759
760   (make-charset '=daikanwa@rev2
761                 "Daikanwa dictionary (revised version 2)"
762                 `(long-name     "Daikanwa"
763                   chars         256
764                   dimension     2
765                   columns       2
766                   graphic       2
767                   direction     l2r
768                   registry      "Daikanwa\\(\\.[0-9]+\\)?-3"
769                   mother        =daikanwa
770                   min-code      1
771                   max-code      49964
772                   ;; min-code   #xE00000
773                   ;; max-code   ,(+ #xE00000 50100)
774                   ;; code-offset        #xE00000
775                   ))
776   (define-charset-alias '=daikanwa-rev2 '=daikanwa@rev2)
777
778   (make-charset '=daikanwa/+p
779                 "Daikanwa dictionary (ddddd')"
780                 `(long-name     "Daikanwa ddddd'"
781                   chars         256
782                   dimension     2
783                   columns       2
784                   graphic       2
785                   direction     l2r))
786   (make-charset '=daikanwa/+2p
787                 "Daikanwa dictionary (ddddd'')"
788                 `(long-name     "Daikanwa ddddd''"
789                   chars         256
790                   dimension     2
791                   columns       2
792                   graphic       2
793                   direction     l2r))
794   (make-charset '=daikanwa/ho
795                 "Daikanwa dictionary (Hokan)"
796                 `(long-name     "Daikanwa-ho"
797                   chars         256
798                   dimension     2
799                   columns       2
800                   graphic       2
801                   direction     l2r))
802
803   (make-charset '=>>daikanwa
804                 "Daikanwa abstract glyphs"
805                 '(long-name     "Daikanwa glyphs"
806                   chars         256
807                   dimension     2
808                   columns       2
809                   graphic       2
810                   direction     l2r
811                   registry      "Daikanwa\\(\\.[0-9]+\\)?-3"
812                   mother        =daikanwa))
813
814   (make-charset '=>daikanwa
815                 "Daikanwa abstract characters"
816                 '(long-name     "abstract Daikanwa"
817                   chars         256
818                   dimension     2
819                   columns       2
820                   graphic       2
821                   direction     l2r
822                   registry      "Daikanwa\\(\\.[0-9]+\\)?-3"
823                   mother        =>>daikanwa))
824
825   (make-charset '=shinjigen
826                 "Kadokawa ShinJigen dictionary (common parts)"
827                 `(long-name     "Shinjigen common parts"
828                   chars         256
829                   dimension     2
830                   columns       2
831                   graphic       2
832                   direction     l2r
833                   registry      "Shinjigen\\(\\.[0-9]+\\)?-*"))
834
835   (make-charset '=shinjigen@1ed
836                 "Kadokawa ShinJigen dictionary (the first edition)"
837                 `(long-name     "Shinjigen-1"
838                   chars         256
839                   dimension     2
840                   columns       2
841                   graphic       2
842                   direction     l2r
843                   mother        =shinjigen
844                   registry      "Shinjigen\\(\\.[0-9]+\\)?-1"))
845   (define-charset-alias 'shinjigen-1 '=shinjigen@1ed)
846
847   (make-charset '=shinjigen@1ed/24pr
848                 "Kadokawa ShinJigen dictionary (the 24th impression)"
849                 `(long-name     "Shinjigen-1 24pr"
850                   chars         256
851                   dimension     2
852                   columns       2
853                   graphic       2
854                   direction     l2r
855                   mother        =shinjigen@1ed))
856
857   (make-charset '=shinjigen@rev
858                 "Kadokawa ShinJigen dictionary (the revised edition)"
859                 `(long-name     "Shinjigen-2"
860                   chars         256
861                   dimension     2
862                   columns       2
863                   graphic       2
864                   direction     l2r
865                   mother        =shinjigen
866                   registry      "Shinjigen\\(\\.[0-9]+\\)?-2"))
867   (define-charset-alias 'shinjigen-2 '=shinjigen@rev)
868   (make-charset '=shinjigen/+p@rev
869                 "ShinJigen (the second edition) number with '"
870                 `(long-name     "Shinjigen-2 with '"
871                   chars         256
872                   dimension     2
873                   columns       2
874                   graphic       2
875                   direction     l2r))
876   (define-charset-alias 'shinjigen-2-p '=shinjigen/+p@rev)
877
878   (make-charset '=big5-pua
879                 "Big5 with private used area"
880                 '(long-name     "Big5-PUA"
881                   chars         256
882                   dimension     2
883                   columns       2
884                   graphic       2
885                   direction     l2r
886                   mother        chinese-big5
887                   registry      "Big5\\.ETEN"))
888   (define-charset-alias 'chinese-big5-pua '=big5-pua)
889   (make-charset '=big5-eten
890                 "Big5 ETEN"
891                 '(long-name     "Big5-ETEN"
892                   chars         256
893                   dimension     2
894                   columns       2
895                   graphic       2
896                   direction     l2r
897                   mother        chinese-big5
898                   min-code      #x8140
899                   max-code      #xFEFE
900                   registry      "Big5\\.ETEN"))
901   (define-charset-alias 'chinese-big5-eten '=big5-eten)
902   (make-charset 'chinese-big5-eten-a
903                 "Big5 ETEN (#xF9D6 .. #xF9FE)"
904                 '(long-name     "Big5-ETEN-a"
905                   chars         256
906                   dimension     2
907                   columns       2
908                   graphic       2
909                   direction     l2r
910                   mother        chinese-big5
911                   min-code      #xF9D6
912                   max-code      #xF9FE
913                   registry      "Big5\\.ETEN"))
914   (make-charset 'chinese-big5-eten-b
915                 "Big5 ETEN (#xC6A1 .. #xC8FE)"
916                 '(long-name     "Big5-ETEN-b"
917                   chars         256
918                   dimension     2
919                   columns       2
920                   graphic       2
921                   direction     l2r
922                   mother        chinese-big5
923                   min-code      #xC6A1
924                   max-code      #xC8FE
925                   registry      "Big5\\.ETEN"))
926
927   (let* ((i 1)
928          (hzk-min (+ (lsh #x6200 16) 65536))
929          (hzk-max (+ hzk-min 65535)))
930     (while (<= i 12)
931       (make-charset
932        (intern (format "=hanziku-%d" i))
933        (format "HANZIKU (pseudo BIG5 encoding) part %d" i)
934        `(long-name ,(format "HANZIKU-%d" i)
935                    chars 256
936                    dimension 2
937                    columns 2
938                    graphic 2
939                    direction l2r
940                    registry ,(format "hanziku-%d$" i i)
941                    min-code ,hzk-min
942                    max-code ,hzk-max
943                    code-offset ,hzk-min))
944       (define-charset-alias
945         (intern (format "ideograph-hanziku-%d" i))
946         (intern (format "=hanziku-%d" i)))
947       (setq hzk-min (1+ hzk-max)
948             hzk-max (+ hzk-min 65535))
949       (setq i (1+ i))))
950
951   (make-charset '=cbeta "CBETA private characters"
952                 '(long-name     "CBETA PUA"
953                   chars         256
954                   dimension     2
955                   registry      "cbeta-0"
956                   graphic       2
957                   min-code      #xE20000
958                   max-code      #xE2FFFF
959                   code-offset   #xE20000
960                   columns       2
961                   direction     l2r))
962   (define-charset-alias 'ideograph-cbeta '=cbeta)
963
964   (make-charset '=>>cbeta "CBETA abstract glyphs"
965                 '(long-name     "CBETA glyphs"
966                   chars         256
967                   dimension     2
968                   registry      "cbeta-0"
969                   graphic       2
970                   columns       2
971                   direction     l2r
972                   mother        =cbeta))
973
974   (make-charset '=zinbun-oracle
975                 "Oracle Bones Script"
976                 `(long-name     "Oracle Bones Script in Zinbun, Kyoto Univ."
977                   chars         256
978                   dimension     2
979                   registry      "zob1968-0"
980                   graphic       2
981                   min-code      #xE70000
982                   max-code      ,(+ #xE70000 8192)
983                   code-offset   #xE70000
984                   columns       2
985                   direction     l2r))
986
987   (make-charset '=>zinbun-oracle
988                 "Abstract Oracle Bones"
989                 '(long-name     "Abstract characters of Zinbun Oracle Bones."
990                   chars         256
991                   dimension     2
992                   mother        =zinbun-oracle
993                   registry      "zob1968-0"
994                   graphic       2
995                   columns       2
996                   direction     l2r))
997
998   (make-charset '=jef-china3
999                 "JEF + CHINA3 private characters"
1000                 '(long-name     "JEF + CHINA3"
1001                   chars         256
1002                   dimension     2
1003                   columns       2
1004                   graphic       2
1005                   direction     l2r
1006                   registry      "china3jef-0"
1007                   min-code      #xE80000
1008                   max-code      #xE8FFFF
1009                   code-offset   #xE80000))
1010   (define-charset-alias 'china3-jef '=jef-china3)
1011
1012   (make-charset '=ruimoku-v6
1013                 "private characters used in RUIMOKU Version.6"
1014                 `(long-name     "RUI6"
1015                   chars         256
1016                   dimension     2
1017                   columns       2
1018                   graphic       2
1019                   direction     l2r
1020                   registry      "rui6-0"
1021                   ;; mother     ucs
1022                   min-code      #xE90000 ; #xE000
1023                   max-code      #xE908FF ; #xE8FF
1024                   code-offset   ,(- #xE90000 #xE000)))
1025   (make-charset '=>>ruimoku-v6
1026                 "RUIMOKU Version.6 glyphs"
1027                 '(long-name     "RUI6 glyphs"
1028                   chars         256
1029                   dimension     2
1030                   columns       2
1031                   graphic       2
1032                   direction     l2r
1033                   registry      "rui6-0"
1034                   mother        =ruimoku-v6))
1035
1036   (make-charset '==>ucs@bucs
1037                 "Basic Subset of Coded Character Sets (BUCS)"
1038                 '(long-name     "BUCS abstract characters"
1039                   chars         256
1040                   dimension     3
1041                   columns       2
1042                   graphic       2
1043                   direction     l2r
1044                   =>iso-ir      177
1045                   mother        =ucs))
1046
1047   (make-charset '=>ucs@iso
1048                 "Abstract characters of ISO/IEC 10646 representatives"
1049                 '(long-name     "UCS characters for ISO"
1050                   chars         256
1051                   dimension     3
1052                   columns       2
1053                   graphic       2
1054                   direction     l2r
1055                   =>iso-ir      177
1056                   mother        =ucs))
1057   (make-charset '=>ucs@unicode
1058                 "Abstract characters of Unicode representatives"
1059                 '(long-name     "UCS characters for Unicode"
1060                   chars         256
1061                   dimension     3
1062                   columns       2
1063                   graphic       2
1064                   direction     l2r
1065                   =>iso-ir      177
1066                   mother        =>ucs@iso))
1067   (make-charset '=>ucs@jis
1068                 "UCS Representative characters for JIS X0208/0212/0213"
1069                 '(long-name     "UCS characters for JIS"
1070                   chars         256
1071                   dimension     3
1072                   columns       2
1073                   graphic       2
1074                   direction     l2r
1075                   =>iso-ir      177
1076                   mother        =>ucs@unicode))
1077   (make-charset '=>ucs@JP
1078                 "UCS Representative characters for Japanese usual unification"
1079                 '(long-name     "UCS characters for JP"
1080                   chars         256
1081                   dimension     3
1082                   columns       2
1083                   graphic       2
1084                   direction     l2r
1085                   =>iso-ir      177
1086                   mother        =>ucs@jis))
1087   (make-charset '=>ucs@ks
1088                 "UCS Representative characters for Korean Standards"
1089                 '(long-name     "UCS characters for KS"
1090                   chars         256
1091                   dimension     3
1092                   columns       2
1093                   graphic       2
1094                   direction     l2r
1095                   =>iso-ir      177
1096                   mother        =>ucs@unicode))
1097   (make-charset '=>ucs@cns
1098                 "UCS representatives characters for CNS 11643 sources"
1099                 '(long-name     "UCS characters for CNS 11643"
1100                   chars         256
1101                   dimension     3
1102                   columns       2
1103                   graphic       2
1104                   direction     l2r
1105                   =>iso-ir      177
1106                   mother        =>ucs@unicode))
1107
1108   (make-charset '=>>ucs@iso
1109                 "Representative abstract-glyphs of ISO/IEC 10646"
1110                 '(long-name     "UCS abstract glyphs for UCS"
1111                   chars         256
1112                   dimension     3
1113                   columns       2
1114                   graphic       2
1115                   direction     l2r
1116                   =>iso-ir      177
1117                   mother        =>ucs@iso))
1118   (make-charset '=>>ucs@unicode
1119                 "Representative abstract-glyphs of Unicode"
1120                 '(long-name     "Unicode abstract glyphs"
1121                   chars         256
1122                   dimension     3
1123                   columns       2
1124                   graphic       2
1125                   direction     l2r
1126                   =>iso-ir      177
1127                   mother        =>>ucs@iso))
1128   (make-charset '=>>ucs@jis
1129                 "UCS Representative abstract-glyphs for JIS X0208/0212/0213"
1130                 '(long-name     "UCS abstract glyphs for JIS"
1131                   chars         256
1132                   dimension     3
1133                   columns       2
1134                   graphic       2
1135                   direction     l2r
1136                   =>iso-ir      177
1137                   mother        =>>ucs@unicode))
1138   (make-charset '=>>ucs@jis/1990
1139                 "UCS Representative glyphs for JIS X 0208/0212:1990"
1140                 '(long-name     "UCS glyphs for JIS:1990"
1141                   chars         256
1142                   dimension     3
1143                   columns       2
1144                   graphic       2
1145                   direction     l2r
1146                   =>iso-ir      177
1147                   mother        =>>ucs@jis))
1148   (make-charset '=>>ucs@jis/2000
1149                 "UCS Representative glyphs for JIS X 0213:2000"
1150                 '(long-name     "UCS glyphs for JIS:2000"
1151                   chars         256
1152                   dimension     3
1153                   columns       2
1154                   graphic       2
1155                   direction     l2r
1156                   =>iso-ir      177
1157                   mother        =>>ucs@jis))
1158   (make-charset '=>>ucs@jis/2004
1159                 "UCS Representative glyphs for JIS X 0213:2004"
1160                 '(long-name     "UCS glyphs for JIS:2004"
1161                   chars         256
1162                   dimension     3
1163                   columns       2
1164                   graphic       2
1165                   direction     l2r
1166                   =>iso-ir      177
1167                   mother        =>>ucs@jis))
1168   (make-charset '=>>ucs@JP
1169                 "UCS abstract-glyphs based on Japanese style glyphs"
1170                 '(long-name     "UCS glyphs for JP"
1171                   chars         256
1172                   dimension     3
1173                   columns       2
1174                   graphic       2
1175                   direction     l2r
1176                   =>iso-ir      177
1177                   mother        =>>ucs@jis/2004))
1178   (make-charset '=>>ucs@ks
1179                 "UCS Representative glyphs for Korean Standards"
1180                 '(long-name     "UCS glyphs for KS"
1181                   chars         256
1182                   dimension     3
1183                   columns       2
1184                   graphic       2
1185                   direction     l2r
1186                   =>iso-ir      177
1187                   mother        =>>ucs@unicode))
1188   (make-charset '=>>ucs@cns
1189                 "UCS Representative glyphs for CNS 11643 sources"
1190                 '(long-name     "UCS glyphs for CNS"
1191                   chars         256
1192                   dimension     3
1193                   columns       2
1194                   graphic       2
1195                   direction     l2r
1196                   =>iso-ir      177
1197                   mother        =>>ucs@unicode))
1198
1199   (make-charset '=>>>ucs@iso
1200                 "Representative glyph-forms of ISO/IEC 10646"
1201                 '(long-name     "UCS glyph-forms for UCS"
1202                   chars         256
1203                   dimension     3
1204                   columns       2
1205                   graphic       2
1206                   direction     l2r
1207                   =>iso-ir      177
1208                   mother        =>>ucs@iso))
1209   (make-charset '=>>>ucs@unicode
1210                 "Representative glyph-forms of Unicode"
1211                 '(long-name     "UCS glyph-forms for Unicode"
1212                   chars         256
1213                   dimension     3
1214                   columns       2
1215                   graphic       2
1216                   direction     l2r
1217                   =>iso-ir      177
1218                   mother        =>>>ucs@iso))
1219   (make-charset '=>>>ucs@jis
1220                 "UCS Representative glyph-forms for JIS X0208/0212/0213"
1221                 '(long-name     "UCS glyph-forms for JIS"
1222                   chars         256
1223                   dimension     3
1224                   columns       2
1225                   graphic       2
1226                   direction     l2r
1227                   =>iso-ir      177
1228                   mother        =>>>ucs@unicode))
1229   (make-charset '=>>>ucs@jis/1990
1230                 "UCS Representative glyph-forms for JIS X 0208/0212:1990"
1231                 '(long-name     "UCS glyph-forms for JIS:1990"
1232                   chars         256
1233                   dimension     3
1234                   columns       2
1235                   graphic       2
1236                   direction     l2r
1237                   =>iso-ir      177
1238                   mother        =>>>ucs@jis))
1239   (make-charset '=>>>ucs@jis/2000
1240                 "UCS Representative glyph-forms for JIS X 0213:2000"
1241                 '(long-name     "UCS glyph-forms for JIS:2000"
1242                   chars         256
1243                   dimension     3
1244                   columns       2
1245                   graphic       2
1246                   direction     l2r
1247                   =>iso-ir      177
1248                   mother        =>>>ucs@jis))
1249   (make-charset '=>>>ucs@jis/2004
1250                 "UCS Representative glyph-forms for JIS X 0213:2004"
1251                 '(long-name     "UCS glyph-forms for JIS:2004"
1252                   chars         256
1253                   dimension     3
1254                   columns       2
1255                   graphic       2
1256                   direction     l2r
1257                   =>iso-ir      177
1258                   mother        =>>>ucs@jis))
1259   (make-charset '=>>>ucs@ks
1260                 "UCS Representative glyph-forms for Korean Standards"
1261                 '(long-name     "UCS glyph-forms for KS"
1262                   chars         256
1263                   dimension     3
1264                   columns       2
1265                   graphic       2
1266                   direction     l2r
1267                   =>iso-ir      177
1268                   mother        =>>>ucs@unicode))
1269   (make-charset '=>>>ucs@cns
1270                 "UCS Representative glyph-forms for CNS 11643 sources"
1271                 '(long-name     "UCS glyph-forms for CNS"
1272                   chars         256
1273                   dimension     3
1274                   columns       2
1275                   graphic       2
1276                   direction     l2r
1277                   =>iso-ir      177
1278                   mother        =>>>ucs@unicode))
1279
1280   (make-charset '=ucs@iso
1281                 "ISO/IEC 10646 for its representative glyphs"
1282                 '(long-name     "UCS for ISO"
1283                   chars         256
1284                   dimension     3
1285                   columns       2
1286                   graphic       2
1287                   direction     l2r
1288                   =>iso-ir      177
1289                   mother        =>>>ucs@iso))
1290   (make-charset '=ucs@unicode
1291                 "Unicode for its representative glyphs"
1292                 '(long-name     "UCS for Unicode"
1293                   chars         256
1294                   dimension     3
1295                   columns       2
1296                   graphic       2
1297                   direction     l2r
1298                   =>iso-ir      177
1299                   mother        =ucs@iso))
1300   (make-charset '=ucs@gb
1301                 "ISO/IEC 10646 for GB"
1302                 '(long-name     "UCS for GB"
1303                   chars         256
1304                   dimension     3
1305                   columns       2
1306                   graphic       2
1307                   direction     l2r
1308                   =>iso-ir      177
1309                   mother        =ucs@unicode))
1310   (define-charset-alias 'ucs-gb '=ucs@gb)
1311   (make-charset '=ucs@gb/fw
1312                 "ISO/IEC 10646 for GB with fullwidth"
1313                 '(long-name     "UCS for GB-fullwidth"
1314                   chars         256
1315                   dimension     3
1316                   columns       2
1317                   graphic       2
1318                   direction     l2r
1319                   =>iso-ir      177
1320                   mother        =ucs@gb))
1321   (make-charset '=ucs-bmp@gb
1322                 "ISO/IEC 10646 BMP for GB"
1323                 '(long-name     "BMP for GB"
1324                   chars         256
1325                   dimension     3
1326                   columns       2
1327                   graphic       2
1328                   direction     l2r
1329                   mother        =ucs@gb
1330                   min-code      #x0000
1331                   max-code      #xFFFF))
1332   (make-charset '=ucs@cns
1333                 "ISO/IEC 10646 for CNS 11643"
1334                 '(long-name     "UCS for CNS"
1335                   chars         256
1336                   dimension     3
1337                   columns       2
1338                   graphic       2
1339                   direction     l2r
1340                   =>iso-ir      177
1341                   mother        =ucs@unicode))
1342   (define-charset-alias 'ucs-cns '=ucs@cns)
1343   (make-charset '=ucs@cns/fw
1344                 "ISO/IEC 10646 for CNS 11643 with fullwidth"
1345                 '(long-name     "UCS for CNS-fullwidth"
1346                   chars         256
1347                   dimension     3
1348                   columns       2
1349                   graphic       2
1350                   direction     l2r
1351                   =>iso-ir      177
1352                   mother        =ucs@cns))
1353   (make-charset '=ucs-bmp@cns
1354                 "ISO/IEC 10646 BMP for CNS"
1355                 '(long-name     "BMP for CNS"
1356                   chars         256
1357                   dimension     3
1358                   columns       2
1359                   graphic       2
1360                   direction     l2r
1361                   mother        =ucs@cns
1362                   min-code      #x0000
1363                   max-code      #xFFFF))
1364   (make-charset '=ucs@jis
1365                 "ISO/IEC 10646 for JIS X0208/0212/0213"
1366                 '(long-name     "UCS for JIS"
1367                   chars         256
1368                   dimension     3
1369                   columns       2
1370                   graphic       2
1371                   direction     l2r
1372                   =>iso-ir      177
1373                   mother        =ucs@unicode))
1374   (define-charset-alias 'ucs-jis '=ucs@jis)
1375   (make-charset '=ucs@jis/fw
1376                 "ISO/IEC 10646 for JIS X0208/0212/0213 with fullwidth"
1377                 '(long-name     "UCS for JIS-fullwidth"
1378                   chars         256
1379                   dimension     3
1380                   columns       2
1381                   graphic       2
1382                   direction     l2r
1383                   =>iso-ir      177
1384                   mother        =ucs@jis))
1385   (make-charset '=ucs-bmp@jis
1386                 "ISO/IEC 10646 BMP for JIS"
1387                 '(long-name     "BMP for JIS"
1388                   chars         256
1389                   dimension     3
1390                   columns       2
1391                   graphic       2
1392                   direction     l2r
1393                   mother        =ucs@jis
1394                   min-code      #x0000
1395                   max-code      #xFFFF))
1396   ;; (make-charset '=ucs@jis/1983
1397   ;;               "ISO/IEC 10646 for JIS X 0208:1983"
1398   ;;               '(long-name     "UCS for JIS:1983"
1399   ;;                 chars         256
1400   ;;                 dimension     3
1401   ;;                 columns       2
1402   ;;                 graphic       2
1403   ;;                 direction     l2r
1404   ;;                 =>iso-ir      177
1405   ;;                 mother        =ucs@jis))
1406   (make-charset '=ucs@jis/1990
1407                 "ISO/IEC 10646 for JIS X 0208/0212:1990"
1408                 '(long-name     "UCS for JIS:1990"
1409                   chars         256
1410                   dimension     3
1411                   columns       2
1412                   graphic       2
1413                   direction     l2r
1414                   =>iso-ir      177
1415                   mother        =ucs@jis))
1416   (define-charset-alias '=ucs@jis-1990 '=ucs@jis/1990)
1417   (define-charset-alias '=ucs-jis-1990 '=ucs@jis/1990)
1418   (make-charset '=ucs@jis/2000
1419                 "ISO/IEC 10646 for JIS X 0213:2000"
1420                 '(long-name     "UCS for JIS:2000"
1421                   chars         256
1422                   dimension     3
1423                   columns       2
1424                   graphic       2
1425                   direction     l2r
1426                   =>iso-ir      177
1427                   mother        =ucs@jis))
1428   (define-charset-alias '=ucs@jis-2000 '=ucs@jis/2000)
1429   (define-charset-alias '=ucs-jis-2000 '=ucs@jis/2000)
1430   (make-charset '=ucs@jis/2004
1431                 "ISO/IEC 10646 for JIS X 0213:2004"
1432                 '(long-name     "UCS for JIS:2004"
1433                   chars         256
1434                   dimension     3
1435                   columns       2
1436                   graphic       2
1437                   direction     l2r
1438                   =>iso-ir      177
1439                   mother        =ucs@jis))
1440   (make-charset '=ucs@JP
1441                 "UCS for common glyphs used in Japan"
1442                 '(long-name     "UCS for Japan"
1443                   chars         256
1444                   dimension     3
1445                   columns       2
1446                   graphic       2
1447                   direction     l2r
1448                   =>iso-ir      177
1449                   mother        =ucs@jis/2004))
1450   (define-charset-alias '=ucs@jp '=ucs@JP)
1451   (make-charset '=ucs@ks
1452                 "ISO/IEC 10646 for Korean Standards"
1453                 '(long-name     "UCS for KS"
1454                   chars         256
1455                   dimension     3
1456                   columns       2
1457                   graphic       2
1458                   direction     l2r
1459                   =>iso-ir      177
1460                   mother        =ucs@unicode))
1461   (define-charset-alias 'ucs-ks '=ucs@ks)
1462   (make-charset '=ucs-bmp@ks
1463                 "ISO/IEC 10646 BMP for KS"
1464                 '(long-name     "BMP for KS"
1465                   chars         256
1466                   dimension     3
1467                   columns       2
1468                   graphic       2
1469                   direction     l2r
1470                   mother        =ucs@ks
1471                   min-code      #x0000
1472                   max-code      #xFFFF))
1473   (make-charset '=ucs@cns11643
1474                 "ISO/IEC 10646 for CNS based on www.cns11643.gov.tw"
1475                 '(long-name     "UCS for CNS11643"
1476                   chars         256
1477                   dimension     3
1478                   columns       2
1479                   graphic       2
1480                   direction     l2r
1481                   =>iso-ir      177
1482                   mother        =ucs@cns))
1483   (make-charset '=ucs@big5
1484                 "ISO/IEC 10646 for Big5"
1485                 '(long-name     "UCS for Big5"
1486                   chars         256
1487                   dimension     3
1488                   columns       2
1489                   graphic       2
1490                   direction     l2r
1491                   =>iso-ir      177
1492                   mother        =>>ucs@cns))
1493   (define-charset-alias 'ucs-big5 '=ucs@big5)
1494   (make-charset '=ucs@big5/cns11643
1495                 "ISO/IEC 10646 for Big5 based on www.cns11643.gov.tw"
1496                 '(long-name     "UCS for Big5@CNS11643"
1497                   chars         256
1498                   dimension     3
1499                   columns       2
1500                   graphic       2
1501                   direction     l2r
1502                   =>iso-ir      177
1503                   mother        =ucs@big5))
1504
1505   (make-charset
1506    '=ucs-radicals
1507    "CJK Radicals of UCS"
1508    '(long-name "UCS-Radicals"
1509                chars 256
1510                dimension 2
1511                columns 2
1512                graphic 2
1513                direction l2r
1514                registry "-zhRadicals-.*-ucs-0"
1515                mother ucs-bmp
1516                min-code #x2E00 max-code #x2FFF))
1517   (make-charset
1518    '=ucs-radicals@unicode
1519    "CJK Radicals of UCS"
1520    '(long-name "UCS-Radicals"
1521                chars 256
1522                dimension 2
1523                columns 2
1524                graphic 2
1525                direction l2r
1526                registry "-zhRadicals-.*-ucs-0"
1527                mother =ucs@unicode
1528                min-code #x2E00 max-code #x2FFF))
1529   (make-charset
1530    '=ucs-hangul
1531    "Hangul Syllables of UCS"
1532    '(long-name "UCS-Hangul-Syllables"
1533                chars 256
1534                dimension 2
1535                columns 2
1536                graphic 2
1537                direction l2r
1538                registry "-Hangul-.*-ucs-0"
1539                mother =ucs
1540                min-code #xAC00 max-code #xD7AF))
1541   (make-charset
1542    '=ucs-bmp-cjk
1543    "CJK Characters in BMP of UCS"
1544    '(long-name "UCS-BMP-CJK"
1545                chars 256
1546                dimension 2
1547                columns 2
1548                graphic 2
1549                direction l2r
1550                registry "-zh-.*-ucs-0"
1551                mother ucs-bmp
1552                min-code #x2E00
1553                max-code #x9FA5
1554                ;; max-code #xA4CF
1555                ))
1556   (make-charset
1557    '=ucs-bmp-cjk@unicode
1558    "CJK Characters in BMP of Unicode"
1559    '(long-name "Unicode-BMP-CJK"
1560                chars 256
1561                dimension 2
1562                columns 2
1563                graphic 2
1564                direction l2r
1565                registry "-zh-.*-ucs-0"
1566                mother =ucs@unicode
1567                min-code #x2E00
1568                max-code #x9FA5
1569                ;; max-code #xA4CF
1570                ))
1571   (make-charset
1572    '==>ucs-bmp-cjk@bucs
1573    "CJK Characters in BMP of BUCS"
1574    '(long-name "BUCS-BMP-CJK"
1575                chars 256
1576                dimension 2
1577                columns 2
1578                graphic 2
1579                direction l2r
1580                registry "-zh-.*-ucs-0"
1581                mother ==>ucs@bucs
1582                min-code #x2E00
1583                max-code #x9FA5
1584                ;; max-code #xA4CF
1585                ))
1586   (make-charset
1587    '=ucs-sip-ext-b
1588    "CJK Ideographs Extension B"
1589    '(long-name "UCS CJK Ext-B"
1590                chars 256
1591                dimension 2
1592                columns 2
1593                graphic 2
1594                direction l2r
1595                registry "\\(iso10646\\|ucs02\\)-2$"
1596                mother ucs
1597                min-code #x20000 max-code #x2A6D6
1598                code-offset #x20000))
1599   (make-charset
1600    '=ucs-sip-ext-b@iso
1601    "CJK Ideographs Extension B (ISO/IEC 10646-2)"
1602    '(long-name "UCS CJK Ext-B"
1603                chars 256
1604                dimension 2
1605                columns 2
1606                graphic 2
1607                direction l2r
1608                registry "\\(iso10646\\|ucs02\\)-2$"
1609                mother =ucs@iso
1610                min-code #x20000 max-code #x2A6D6
1611                code-offset #x20000))
1612
1613   (make-charset
1614    '=adobe-japan1-base
1615    "Adobe-Japan1 Character Collection for CID-Keyed Fonts"
1616    `(long-name "Adobe-Japan1"
1617                chars 256
1618                dimension 2
1619                columns 2
1620                graphic 2
1621                direction l2r
1622                registry "AdobeJapan1-[0-6]$"
1623                min-code ,(lsh #x6300 16)
1624                max-code ,(+ (lsh #x6300 16) 23057)
1625                code-offset      ,(lsh #x6300 16)))
1626   (make-charset
1627    '=adobe-japan1-0
1628    "Adobe-Japan1-0 Character Collection for CID-Keyed Fonts"
1629    '(long-name "Adobe-Japan1-0"
1630                chars 256
1631                dimension 2
1632                columns 2
1633                graphic 2
1634                direction l2r
1635                mother =adobe-japan1-base
1636                min-code 0
1637                max-code 8283
1638                registry "AdobeJapan1-0$"))
1639   (make-charset
1640    '=adobe-japan1-1
1641    "Adobe-Japan1-1 Character Collection for CID-Keyed Fonts"
1642    '(long-name "Adobe-Japan1-1"
1643                chars 256
1644                dimension 2
1645                columns 2
1646                graphic 2
1647                direction l2r
1648                mother =adobe-japan1-0
1649                min-code 0
1650                max-code 8358
1651                registry "AdobeJapan1-1$"))
1652   (make-charset
1653    '=adobe-japan1-2
1654    "Adobe-Japan1-2 Character Collection for CID-Keyed Fonts"
1655    '(long-name "Adobe-Japan1-2"
1656                chars 256
1657                dimension 2
1658                columns 2
1659                graphic 2
1660                direction l2r
1661                mother =adobe-japan1-1
1662                min-code 0
1663                max-code 8719
1664                registry "AdobeJapan1-2$"))
1665   (make-charset
1666    '=adobe-japan1-3
1667    "Adobe-Japan1-3 Character Collection for CID-Keyed Fonts"
1668    '(long-name "Adobe-Japan1-3"
1669                chars 256
1670                dimension 2
1671                columns 2
1672                graphic 2
1673                direction l2r
1674                mother =adobe-japan1-2
1675                min-code 0
1676                max-code 9353
1677                registry "AdobeJapan1-3$"))
1678   (make-charset
1679    '=adobe-japan1-4
1680    "Adobe-Japan1-4 Character Collection for CID-Keyed Fonts"
1681    '(long-name "Adobe-Japan1-4"
1682                chars 256
1683                dimension 2
1684                columns 2
1685                graphic 2
1686                direction l2r
1687                mother =adobe-japan1-3
1688                min-code 0
1689                max-code 15443
1690                registry "AdobeJapan1-4$"))
1691   (make-charset
1692    '=adobe-japan1-5
1693    "Adobe-Japan1-5 Character Collection for CID-Keyed Fonts"
1694    '(long-name "Adobe-Japan1-5"
1695                chars 256
1696                dimension 2
1697                columns 2
1698                graphic 2
1699                direction l2r
1700                mother =adobe-japan1-4
1701                min-code 0
1702                max-code 20316
1703                registry "AdobeJapan1-5$"))
1704   (make-charset
1705    '=adobe-japan1-6
1706    "Adobe-Japan1-6 Character Collection for CID-Keyed Fonts"
1707    '(long-name "Adobe-Japan1-6"
1708                chars 256
1709                dimension 2
1710                columns 2
1711                graphic 2
1712                direction l2r
1713                mother =adobe-japan1-5
1714                min-code 0
1715                max-code 23057
1716                registry "AdobeJapan1-6$"))
1717   (make-charset
1718    '=>>adobe-japan1
1719    "Adobe-Japan1 abstract glyphs"
1720    '(long-name "Adobe-Japan1 abstract glyphs"
1721                chars 256
1722                dimension 2
1723                columns 2
1724                graphic 2
1725                direction l2r
1726                mother =adobe-japan1-6
1727                registry "AdobeJapan1-6$"))
1728
1729   (make-charset
1730    '=hanyo-denshi/ja
1731    "JA (JIS X0208) part of Han'you-Denshi characters"
1732    `(long-name "Han'you-Denshi/JA"
1733                chars 94
1734                dimension 2
1735                columns 2
1736                graphic 2
1737                direction l2r
1738                registry "HanyoDenshi\\.JA-0$"
1739                min-code ,(lsh #x6400 16)
1740                max-code ,(+ (lsh #x6400 16) (1- (* 94 94)))
1741                code-offset ,(lsh #x6400 16)))
1742   (make-charset
1743    '=hanyo-denshi/jb
1744    "JB (JIS X0212) part of Han'you-Denshi characters"
1745    `(long-name "Han'you-Denshi/JB"
1746                chars 94
1747                dimension 2
1748                columns 2
1749                graphic 2
1750                direction l2r
1751                registry "HanyoDenshi\\.JB-0$"
1752                min-code    ,(+ (lsh #x6400 16) (* 94 94))
1753                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 2)))
1754                code-offset ,(+ (lsh #x6400 16) (* 94 94))))
1755   (make-charset
1756    '=hanyo-denshi/jc
1757    "JC (JIS X0213:2000 Plane 1) part of Han'you-Denshi characters"
1758    `(long-name "Han'you-Denshi/JC"
1759                chars 94
1760                dimension 2
1761                columns 2
1762                graphic 2
1763                direction l2r
1764                registry "HanyoDenshi\\.JC-0$"
1765                min-code    ,(+ (lsh #x6400 16) (* 94 94 2))
1766                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 3)))
1767                code-offset ,(+ (lsh #x6400 16) (* 94 94 2))))
1768   (make-charset
1769    '=hanyo-denshi/jd
1770    "JD (JIS X0213:2000 Plane 1) part of Han'you-Denshi characters"
1771    `(long-name "Han'you-Denshi/JD"
1772                chars 94
1773                dimension 2
1774                columns 2
1775                graphic 2
1776                direction l2r
1777                registry "HanyoDenshi\\.JD-0$"
1778                min-code    ,(+ (lsh #x6400 16) (* 94 94 3))
1779                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 4)))
1780                code-offset ,(+ (lsh #x6400 16) (* 94 94 3))))
1781   (make-charset
1782    '=hanyo-denshi/ft
1783    "FT (FDPC additional) part of Han'you-Denshi characters"
1784    `(long-name "Han'you-Denshi/FT"
1785                chars 94
1786                dimension 2
1787                columns 2
1788                graphic 2
1789                direction l2r
1790                registry "HanyoDenshi\\.FT-0$"
1791                min-code    ,(+ (lsh #x6400 16) (* 94 94 4))
1792                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 5)))
1793                code-offset ,(+ (lsh #x6400 16) (* 94 94 4))))
1794   (make-charset
1795    '=hanyo-denshi/ia
1796    "IA part of Han'you-Denshi characters"
1797    `(long-name "Han'you-Denshi/IA"
1798                chars 94
1799                dimension 2
1800                columns 2
1801                graphic 2
1802                direction l2r
1803                registry "HanyoDenshi\\.IA-0$"
1804                min-code    ,(+ (lsh #x6400 16) (* 94 94 5))
1805                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 6)))
1806                code-offset ,(+ (lsh #x6400 16) (* 94 94 5))))
1807   (make-charset
1808    '=hanyo-denshi/ib
1809    "IB part of Han'you-Denshi characters"
1810    `(long-name "Han'you-Denshi/IB"
1811                chars 94
1812                dimension 2
1813                columns 2
1814                graphic 2
1815                direction l2r
1816                registry "HanyoDenshi\\.IB-0$"
1817                min-code    ,(+ (lsh #x6400 16) (* 94 94 6))
1818                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 7)))
1819                code-offset ,(+ (lsh #x6400 16) (* 94 94 6))))
1820   (make-charset
1821    '=hanyo-denshi/hg
1822    "HG (HyouGai Kanji) part of Han'you-Denshi characters"
1823    `(long-name "Han'you-Denshi/HG"
1824                chars 94
1825                dimension 2
1826                columns 2
1827                graphic 2
1828                direction l2r
1829                registry "HanyoDenshi\\.HG-0$"
1830                min-code    ,(+ (lsh #x6400 16) (* 94 94 7))
1831                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 8)))
1832                code-offset ,(+ (lsh #x6400 16) (* 94 94 7))))
1833   (make-charset
1834    '=hanyo-denshi/ip
1835    "IP (for IPA) part of Han'you-Denshi characters"
1836    `(long-name "Han'you-Denshi/IP"
1837                chars 256
1838                dimension 2
1839                columns 2
1840                graphic 2
1841                direction l2r
1842                registry "HanyoDenshi\\.IP-0$"
1843                min-code    ,(+ (lsh #x6402 16) #x4E00)
1844                max-code    ,(+ (lsh #x6402 16) #x9FFF)
1845                code-offset ,(+ (lsh #x6402 16))))
1846   (make-charset
1847    '=hanyo-denshi/jt
1848    "JT (Juuki Touitsu Moji) part of Han'you-Denshi characters"
1849    `(long-name "Han'you-Denshi/JT"
1850                chars 256
1851                dimension 2
1852                columns 2
1853                graphic 2
1854                direction l2r
1855                registry "HanyoDenshi\\.JT-0$"
1856                min-code    ,(+ (lsh #x6402 16) #xAC00)
1857                max-code    ,(+ (lsh #x6402 16) #xD7AF)
1858                code-offset ,(+ (lsh #x6402 16))))
1859   (make-charset
1860    '=hanyo-denshi/ks
1861    "KS (KoSeki) part of Han'you-Denshi characters"
1862    `(long-name "Han'you-Denshi/KS font encoding"
1863                chars 256
1864                dimension 3
1865                columns 2
1866                graphic 2
1867                direction l2r))
1868   (make-charset
1869    '=hanyo-denshi/ks/mf
1870    "font encoding for KS (KoSeki) characters"
1871    `(long-name "Han'you-Denshi/KS font encoding"
1872                chars 256
1873                dimension 2
1874                columns 2
1875                graphic 2
1876                direction l2r
1877                registry "HanyoDenshi\\.KSMF-0$"
1878                min-code       ,(lsh #x6403 16)
1879                max-code    ,(+ (lsh #x6403 16) #xFFFF)
1880                code-offset    ,(lsh #x6403 16)))
1881
1882   (make-charset
1883    '=>>>hanyo-denshi/jt
1884    "JT (Juuki Touitsu Moji) abstract glyph-forms"
1885    '(long-name "Han'you-Denshi/JT glyph-forms"
1886                chars 256
1887                dimension 2
1888                columns 2
1889                graphic 2
1890                direction l2r
1891                registry "HanyoDenshi\\.JT-0$"
1892                mother =hanyo-denshi/jt))
1893
1894   (make-charset
1895    '=>>hanyo-denshi/ft
1896    "Han'you-Denshi/FT abstract glyphs"
1897    '(long-name "Han'you-Denshi/FT glyphs"
1898                chars 94
1899                dimension 2
1900                columns 2
1901                graphic 2
1902                direction l2r
1903                registry "HanyoDenshi\\.FT-0$"
1904                mother =hanyo-denshi/ft))
1905   (make-charset
1906    '=>>hanyo-denshi/ia
1907    "Han'you-Denshi/IA abstract glyphs"
1908    '(long-name "Han'you-Denshi/IA glyphs"
1909                chars 94
1910                dimension 2
1911                columns 2
1912                graphic 2
1913                direction l2r
1914                registry "HanyoDenshi\\.IA-0$"
1915                mother =hanyo-denshi/ia))
1916   (make-charset
1917    '=>>hanyo-denshi/ib
1918    "Han'you-Denshi/IB abstract glyphs"
1919    '(long-name "Han'you-Denshi/IB abstract glyphs"
1920                chars 94
1921                dimension 2
1922                columns 2
1923                graphic 2
1924                direction l2r
1925                registry "HanyoDenshi\\.IB-0$"
1926                mother =hanyo-denshi/ib))
1927   (make-charset
1928    '=>>hanyo-denshi/jt
1929    "JT (Juuki Touitsu Moji) abstract glyphs"
1930    '(long-name "Han'you-Denshi/JT glyphs"
1931                chars 256
1932                dimension 2
1933                columns 2
1934                graphic 2
1935                direction l2r
1936                registry "HanyoDenshi\\.JT-0$"
1937                mother =>>>hanyo-denshi/jt))
1938   (make-charset
1939    '=>>hanyo-denshi/ks
1940    "Han'you-Denshi/KS abstract glyphs"
1941    '(long-name "Han'you-Denshi/KS glyphs"
1942                chars 256
1943                dimension 3
1944                columns 2
1945                graphic 2
1946                direction l2r
1947                mother =hanyo-denshi/ks))
1948   )
1949
1950 ;;; mule-conf.el ends here