Sync up with r21-4-22-chise-0_25-6.
[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 '=zinbun-oracle
965                 "Oracle Bones Script"
966                 `(long-name     "Oracle Bones Script in Zinbun, Kyoto Univ."
967                   chars         256
968                   dimension     2
969                   registry      "zob1968-0"
970                   graphic       2
971                   min-code      #xE70000
972                   max-code      ,(+ #xE70000 8192)
973                   code-offset   #xE70000
974                   columns       2
975                   direction     l2r))
976
977   (make-charset '=>zinbun-oracle
978                 "Abstract Oracle Bones"
979                 '(long-name     "Abstract characters of Zinbun Oracle Bones."
980                   chars         256
981                   dimension     2
982                   mother        =zinbun-oracle
983                   registry      "zob1968-0"
984                   graphic       2
985                   columns       2
986                   direction     l2r))
987
988   (make-charset '=jef-china3
989                 "JEF + CHINA3 private characters"
990                 '(long-name     "JEF + CHINA3"
991                   chars         256
992                   dimension     2
993                   columns       2
994                   graphic       2
995                   direction     l2r
996                   registry      "china3jef-0"
997                   min-code      #xE80000
998                   max-code      #xE8FFFF
999                   code-offset   #xE80000))
1000   (define-charset-alias 'china3-jef '=jef-china3)
1001
1002   (make-charset '=ruimoku-v6
1003                 "private characters used in RUIMOKU Version.6"
1004                 `(long-name     "RUI6"
1005                   chars         256
1006                   dimension     2
1007                   columns       2
1008                   graphic       2
1009                   direction     l2r
1010                   registry      "rui6-0"
1011                   ;; mother     ucs
1012                   min-code      #xE90000 ; #xE000
1013                   max-code      #xE908FF ; #xE8FF
1014                   code-offset   ,(- #xE90000 #xE000)))
1015   (make-charset '=>>ruimoku-v6
1016                 "RUIMOKU Version.6 glyphs"
1017                 '(long-name     "RUI6 glyphs"
1018                   chars         256
1019                   dimension     2
1020                   columns       2
1021                   graphic       2
1022                   direction     l2r
1023                   registry      "rui6-0"
1024                   mother        =ruimoku-v6))
1025
1026   (make-charset '==>ucs@bucs
1027                 "Basic Subset of Coded Character Sets (BUCS)"
1028                 '(long-name     "BUCS abstract characters"
1029                   chars         256
1030                   dimension     3
1031                   columns       2
1032                   graphic       2
1033                   direction     l2r
1034                   =>iso-ir      177
1035                   mother        =ucs))
1036
1037   (make-charset '=>ucs@iso
1038                 "Abstract characters of ISO/IEC 10646 representatives"
1039                 '(long-name     "UCS characters for ISO"
1040                   chars         256
1041                   dimension     3
1042                   columns       2
1043                   graphic       2
1044                   direction     l2r
1045                   =>iso-ir      177
1046                   mother        =ucs))
1047   (make-charset '=>ucs@unicode
1048                 "Abstract characters of Unicode representatives"
1049                 '(long-name     "UCS characters for Unicode"
1050                   chars         256
1051                   dimension     3
1052                   columns       2
1053                   graphic       2
1054                   direction     l2r
1055                   =>iso-ir      177
1056                   mother        =>ucs@iso))
1057   (make-charset '=>ucs@jis
1058                 "UCS Representative characters for JIS X0208/0212/0213"
1059                 '(long-name     "UCS characters for JIS"
1060                   chars         256
1061                   dimension     3
1062                   columns       2
1063                   graphic       2
1064                   direction     l2r
1065                   =>iso-ir      177
1066                   mother        =>ucs@unicode))
1067   (make-charset '=>ucs@JP
1068                 "UCS Representative characters for Japanese usual unification"
1069                 '(long-name     "UCS characters for JP"
1070                   chars         256
1071                   dimension     3
1072                   columns       2
1073                   graphic       2
1074                   direction     l2r
1075                   =>iso-ir      177
1076                   mother        =>ucs@jis))
1077   (make-charset '=>ucs@ks
1078                 "UCS Representative characters for Korean Standards"
1079                 '(long-name     "UCS characters for KS"
1080                   chars         256
1081                   dimension     3
1082                   columns       2
1083                   graphic       2
1084                   direction     l2r
1085                   =>iso-ir      177
1086                   mother        =>ucs@unicode))
1087   (make-charset '=>ucs@cns
1088                 "UCS representatives characters for CNS 11643 sources"
1089                 '(long-name     "UCS characters for CNS 11643"
1090                   chars         256
1091                   dimension     3
1092                   columns       2
1093                   graphic       2
1094                   direction     l2r
1095                   =>iso-ir      177
1096                   mother        =>ucs@unicode))
1097
1098   (make-charset '=>>ucs@iso
1099                 "Representative abstract-glyphs of ISO/IEC 10646"
1100                 '(long-name     "UCS abstract glyphs for UCS"
1101                   chars         256
1102                   dimension     3
1103                   columns       2
1104                   graphic       2
1105                   direction     l2r
1106                   =>iso-ir      177
1107                   mother        =>ucs@iso))
1108   (make-charset '=>>ucs@unicode
1109                 "Representative abstract-glyphs of Unicode"
1110                 '(long-name     "Unicode abstract glyphs"
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@jis
1119                 "UCS Representative abstract-glyphs for JIS X0208/0212/0213"
1120                 '(long-name     "UCS abstract glyphs for JIS"
1121                   chars         256
1122                   dimension     3
1123                   columns       2
1124                   graphic       2
1125                   direction     l2r
1126                   =>iso-ir      177
1127                   mother        =>>ucs@unicode))
1128   (make-charset '=>>ucs@jis/1990
1129                 "UCS Representative glyphs for JIS X 0208/0212:1990"
1130                 '(long-name     "UCS glyphs for JIS:1990"
1131                   chars         256
1132                   dimension     3
1133                   columns       2
1134                   graphic       2
1135                   direction     l2r
1136                   =>iso-ir      177
1137                   mother        =>>ucs@jis))
1138   (make-charset '=>>ucs@jis/2000
1139                 "UCS Representative glyphs for JIS X 0213:2000"
1140                 '(long-name     "UCS glyphs for JIS:2000"
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/2004
1149                 "UCS Representative glyphs for JIS X 0213:2004"
1150                 '(long-name     "UCS glyphs for JIS:2004"
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@JP
1159                 "UCS abstract-glyphs based on Japanese style glyphs"
1160                 '(long-name     "UCS glyphs for JP"
1161                   chars         256
1162                   dimension     3
1163                   columns       2
1164                   graphic       2
1165                   direction     l2r
1166                   =>iso-ir      177
1167                   mother        =>>ucs@jis/2004))
1168   (make-charset '=>>ucs@ks
1169                 "UCS Representative glyphs for Korean Standards"
1170                 '(long-name     "UCS glyphs for KS"
1171                   chars         256
1172                   dimension     3
1173                   columns       2
1174                   graphic       2
1175                   direction     l2r
1176                   =>iso-ir      177
1177                   mother        =>>ucs@unicode))
1178   (make-charset '=>>ucs@cns
1179                 "UCS Representative glyphs for CNS 11643 sources"
1180                 '(long-name     "UCS glyphs for CNS"
1181                   chars         256
1182                   dimension     3
1183                   columns       2
1184                   graphic       2
1185                   direction     l2r
1186                   =>iso-ir      177
1187                   mother        =>>ucs@unicode))
1188
1189   (make-charset '=>>>ucs@iso
1190                 "Representative glyph-forms of ISO/IEC 10646"
1191                 '(long-name     "UCS glyph-forms for UCS"
1192                   chars         256
1193                   dimension     3
1194                   columns       2
1195                   graphic       2
1196                   direction     l2r
1197                   =>iso-ir      177
1198                   mother        =>>ucs@iso))
1199   (make-charset '=>>>ucs@unicode
1200                 "Representative glyph-forms of Unicode"
1201                 '(long-name     "UCS glyph-forms for Unicode"
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@jis
1210                 "UCS Representative glyph-forms for JIS X0208/0212/0213"
1211                 '(long-name     "UCS glyph-forms for JIS"
1212                   chars         256
1213                   dimension     3
1214                   columns       2
1215                   graphic       2
1216                   direction     l2r
1217                   =>iso-ir      177
1218                   mother        =>>>ucs@unicode))
1219   (make-charset '=>>>ucs@jis/1990
1220                 "UCS Representative glyph-forms for JIS X 0208/0212:1990"
1221                 '(long-name     "UCS glyph-forms for JIS:1990"
1222                   chars         256
1223                   dimension     3
1224                   columns       2
1225                   graphic       2
1226                   direction     l2r
1227                   =>iso-ir      177
1228                   mother        =>>>ucs@jis))
1229   (make-charset '=>>>ucs@jis/2000
1230                 "UCS Representative glyph-forms for JIS X 0213:2000"
1231                 '(long-name     "UCS glyph-forms for JIS:2000"
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/2004
1240                 "UCS Representative glyph-forms for JIS X 0213:2004"
1241                 '(long-name     "UCS glyph-forms for JIS:2004"
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@ks
1250                 "UCS Representative glyph-forms for Korean Standards"
1251                 '(long-name     "UCS glyph-forms for KS"
1252                   chars         256
1253                   dimension     3
1254                   columns       2
1255                   graphic       2
1256                   direction     l2r
1257                   =>iso-ir      177
1258                   mother        =>>>ucs@unicode))
1259   (make-charset '=>>>ucs@cns
1260                 "UCS Representative glyph-forms for CNS 11643 sources"
1261                 '(long-name     "UCS glyph-forms for CNS"
1262                   chars         256
1263                   dimension     3
1264                   columns       2
1265                   graphic       2
1266                   direction     l2r
1267                   =>iso-ir      177
1268                   mother        =>>>ucs@unicode))
1269
1270   (make-charset '=ucs@iso
1271                 "ISO/IEC 10646 for its representative glyphs"
1272                 '(long-name     "UCS for ISO"
1273                   chars         256
1274                   dimension     3
1275                   columns       2
1276                   graphic       2
1277                   direction     l2r
1278                   =>iso-ir      177
1279                   mother        =>>>ucs@iso))
1280   (make-charset '=ucs@unicode
1281                 "Unicode for its representative glyphs"
1282                 '(long-name     "UCS for Unicode"
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@gb
1291                 "ISO/IEC 10646 for GB"
1292                 '(long-name     "UCS for GB"
1293                   chars         256
1294                   dimension     3
1295                   columns       2
1296                   graphic       2
1297                   direction     l2r
1298                   =>iso-ir      177
1299                   mother        =ucs@unicode))
1300   (define-charset-alias 'ucs-gb '=ucs@gb)
1301   (make-charset '=ucs@gb/fw
1302                 "ISO/IEC 10646 for GB with fullwidth"
1303                 '(long-name     "UCS for GB-fullwidth"
1304                   chars         256
1305                   dimension     3
1306                   columns       2
1307                   graphic       2
1308                   direction     l2r
1309                   =>iso-ir      177
1310                   mother        =ucs@gb))
1311   (make-charset '=ucs-bmp@gb
1312                 "ISO/IEC 10646 BMP for GB"
1313                 '(long-name     "BMP for GB"
1314                   chars         256
1315                   dimension     3
1316                   columns       2
1317                   graphic       2
1318                   direction     l2r
1319                   mother        =ucs@gb
1320                   min-code      #x0000
1321                   max-code      #xFFFF))
1322   (make-charset '=ucs@cns
1323                 "ISO/IEC 10646 for CNS 11643"
1324                 '(long-name     "UCS for CNS"
1325                   chars         256
1326                   dimension     3
1327                   columns       2
1328                   graphic       2
1329                   direction     l2r
1330                   =>iso-ir      177
1331                   mother        =ucs@unicode))
1332   (define-charset-alias 'ucs-cns '=ucs@cns)
1333   (make-charset '=ucs@cns/fw
1334                 "ISO/IEC 10646 for CNS 11643 with fullwidth"
1335                 '(long-name     "UCS for CNS-fullwidth"
1336                   chars         256
1337                   dimension     3
1338                   columns       2
1339                   graphic       2
1340                   direction     l2r
1341                   =>iso-ir      177
1342                   mother        =ucs@cns))
1343   (make-charset '=ucs-bmp@cns
1344                 "ISO/IEC 10646 BMP for CNS"
1345                 '(long-name     "BMP for CNS"
1346                   chars         256
1347                   dimension     3
1348                   columns       2
1349                   graphic       2
1350                   direction     l2r
1351                   mother        =ucs@cns
1352                   min-code      #x0000
1353                   max-code      #xFFFF))
1354   (make-charset '=ucs@jis
1355                 "ISO/IEC 10646 for JIS X0208/0212/0213"
1356                 '(long-name     "UCS for JIS"
1357                   chars         256
1358                   dimension     3
1359                   columns       2
1360                   graphic       2
1361                   direction     l2r
1362                   =>iso-ir      177
1363                   mother        =ucs@unicode))
1364   (define-charset-alias 'ucs-jis '=ucs@jis)
1365   (make-charset '=ucs@jis/fw
1366                 "ISO/IEC 10646 for JIS X0208/0212/0213 with fullwidth"
1367                 '(long-name     "UCS for JIS-fullwidth"
1368                   chars         256
1369                   dimension     3
1370                   columns       2
1371                   graphic       2
1372                   direction     l2r
1373                   =>iso-ir      177
1374                   mother        =ucs@jis))
1375   (make-charset '=ucs-bmp@jis
1376                 "ISO/IEC 10646 BMP for JIS"
1377                 '(long-name     "BMP for JIS"
1378                   chars         256
1379                   dimension     3
1380                   columns       2
1381                   graphic       2
1382                   direction     l2r
1383                   mother        =ucs@jis
1384                   min-code      #x0000
1385                   max-code      #xFFFF))
1386   ;; (make-charset '=ucs@jis/1983
1387   ;;               "ISO/IEC 10646 for JIS X 0208:1983"
1388   ;;               '(long-name     "UCS for JIS:1983"
1389   ;;                 chars         256
1390   ;;                 dimension     3
1391   ;;                 columns       2
1392   ;;                 graphic       2
1393   ;;                 direction     l2r
1394   ;;                 =>iso-ir      177
1395   ;;                 mother        =ucs@jis))
1396   (make-charset '=ucs@jis/1990
1397                 "ISO/IEC 10646 for JIS X 0208/0212:1990"
1398                 '(long-name     "UCS for JIS:1990"
1399                   chars         256
1400                   dimension     3
1401                   columns       2
1402                   graphic       2
1403                   direction     l2r
1404                   =>iso-ir      177
1405                   mother        =ucs@jis))
1406   (define-charset-alias '=ucs@jis-1990 '=ucs@jis/1990)
1407   (define-charset-alias '=ucs-jis-1990 '=ucs@jis/1990)
1408   (make-charset '=ucs@jis/2000
1409                 "ISO/IEC 10646 for JIS X 0213:2000"
1410                 '(long-name     "UCS for JIS:2000"
1411                   chars         256
1412                   dimension     3
1413                   columns       2
1414                   graphic       2
1415                   direction     l2r
1416                   =>iso-ir      177
1417                   mother        =ucs@jis))
1418   (define-charset-alias '=ucs@jis-2000 '=ucs@jis/2000)
1419   (define-charset-alias '=ucs-jis-2000 '=ucs@jis/2000)
1420   (make-charset '=ucs@jis/2004
1421                 "ISO/IEC 10646 for JIS X 0213:2004"
1422                 '(long-name     "UCS for JIS:2004"
1423                   chars         256
1424                   dimension     3
1425                   columns       2
1426                   graphic       2
1427                   direction     l2r
1428                   =>iso-ir      177
1429                   mother        =ucs@jis))
1430   (make-charset '=ucs@JP
1431                 "UCS for common glyphs used in Japan"
1432                 '(long-name     "UCS for Japan"
1433                   chars         256
1434                   dimension     3
1435                   columns       2
1436                   graphic       2
1437                   direction     l2r
1438                   =>iso-ir      177
1439                   mother        =ucs@jis/2004))
1440   (define-charset-alias '=ucs@jp '=ucs@JP)
1441   (make-charset '=ucs@ks
1442                 "ISO/IEC 10646 for Korean Standards"
1443                 '(long-name     "UCS for KS"
1444                   chars         256
1445                   dimension     3
1446                   columns       2
1447                   graphic       2
1448                   direction     l2r
1449                   =>iso-ir      177
1450                   mother        =ucs@unicode))
1451   (define-charset-alias 'ucs-ks '=ucs@ks)
1452   (make-charset '=ucs-bmp@ks
1453                 "ISO/IEC 10646 BMP for KS"
1454                 '(long-name     "BMP for KS"
1455                   chars         256
1456                   dimension     3
1457                   columns       2
1458                   graphic       2
1459                   direction     l2r
1460                   mother        =ucs@ks
1461                   min-code      #x0000
1462                   max-code      #xFFFF))
1463   (make-charset '=ucs@cns11643
1464                 "ISO/IEC 10646 for CNS based on www.cns11643.gov.tw"
1465                 '(long-name     "UCS for CNS11643"
1466                   chars         256
1467                   dimension     3
1468                   columns       2
1469                   graphic       2
1470                   direction     l2r
1471                   =>iso-ir      177
1472                   mother        =ucs@cns))
1473   (make-charset '=ucs@big5
1474                 "ISO/IEC 10646 for Big5"
1475                 '(long-name     "UCS for Big5"
1476                   chars         256
1477                   dimension     3
1478                   columns       2
1479                   graphic       2
1480                   direction     l2r
1481                   =>iso-ir      177
1482                   mother        =>>ucs@cns))
1483   (define-charset-alias 'ucs-big5 '=ucs@big5)
1484   (make-charset '=ucs@big5/cns11643
1485                 "ISO/IEC 10646 for Big5 based on www.cns11643.gov.tw"
1486                 '(long-name     "UCS for Big5@CNS11643"
1487                   chars         256
1488                   dimension     3
1489                   columns       2
1490                   graphic       2
1491                   direction     l2r
1492                   =>iso-ir      177
1493                   mother        =ucs@big5))
1494
1495   (make-charset
1496    '=ucs-radicals
1497    "CJK Radicals of UCS"
1498    '(long-name "UCS-Radicals"
1499                chars 256
1500                dimension 2
1501                columns 2
1502                graphic 2
1503                direction l2r
1504                registry "-zhRadicals-.*-ucs-0"
1505                mother ucs-bmp
1506                min-code #x2E00 max-code #x2FFF))
1507   (make-charset
1508    '=ucs-radicals@unicode
1509    "CJK Radicals of UCS"
1510    '(long-name "UCS-Radicals"
1511                chars 256
1512                dimension 2
1513                columns 2
1514                graphic 2
1515                direction l2r
1516                registry "-zhRadicals-.*-ucs-0"
1517                mother =ucs@unicode
1518                min-code #x2E00 max-code #x2FFF))
1519   (make-charset
1520    '=ucs-hangul
1521    "Hangul Syllables of UCS"
1522    '(long-name "UCS-Hangul-Syllables"
1523                chars 256
1524                dimension 2
1525                columns 2
1526                graphic 2
1527                direction l2r
1528                registry "-Hangul-.*-ucs-0"
1529                mother =ucs
1530                min-code #xAC00 max-code #xD7AF))
1531   (make-charset
1532    '=ucs-bmp-cjk
1533    "CJK Characters in BMP of UCS"
1534    '(long-name "UCS-BMP-CJK"
1535                chars 256
1536                dimension 2
1537                columns 2
1538                graphic 2
1539                direction l2r
1540                registry "-zh-.*-ucs-0"
1541                mother ucs-bmp
1542                min-code #x2E00
1543                max-code #x9FA5
1544                ;; max-code #xA4CF
1545                ))
1546   (make-charset
1547    '=ucs-bmp-cjk@unicode
1548    "CJK Characters in BMP of Unicode"
1549    '(long-name "Unicode-BMP-CJK"
1550                chars 256
1551                dimension 2
1552                columns 2
1553                graphic 2
1554                direction l2r
1555                registry "-zh-.*-ucs-0"
1556                mother =ucs@unicode
1557                min-code #x2E00
1558                max-code #x9FA5
1559                ;; max-code #xA4CF
1560                ))
1561   (make-charset
1562    '==>ucs-bmp-cjk@bucs
1563    "CJK Characters in BMP of BUCS"
1564    '(long-name "BUCS-BMP-CJK"
1565                chars 256
1566                dimension 2
1567                columns 2
1568                graphic 2
1569                direction l2r
1570                registry "-zh-.*-ucs-0"
1571                mother ==>ucs@bucs
1572                min-code #x2E00
1573                max-code #x9FA5
1574                ;; max-code #xA4CF
1575                ))
1576   (make-charset
1577    '=ucs-sip-ext-b
1578    "CJK Ideographs Extension B"
1579    '(long-name "UCS CJK Ext-B"
1580                chars 256
1581                dimension 2
1582                columns 2
1583                graphic 2
1584                direction l2r
1585                registry "\\(iso10646\\|ucs02\\)-2$"
1586                mother ucs
1587                min-code #x20000 max-code #x2A6D6
1588                code-offset #x20000))
1589   (make-charset
1590    '=ucs-sip-ext-b@iso
1591    "CJK Ideographs Extension B (ISO/IEC 10646-2)"
1592    '(long-name "UCS CJK Ext-B"
1593                chars 256
1594                dimension 2
1595                columns 2
1596                graphic 2
1597                direction l2r
1598                registry "\\(iso10646\\|ucs02\\)-2$"
1599                mother =ucs@iso
1600                min-code #x20000 max-code #x2A6D6
1601                code-offset #x20000))
1602
1603   (make-charset
1604    '=adobe-japan1-base
1605    "Adobe-Japan1 Character Collection for CID-Keyed Fonts"
1606    `(long-name "Adobe-Japan1"
1607                chars 256
1608                dimension 2
1609                columns 2
1610                graphic 2
1611                direction l2r
1612                registry "AdobeJapan1-[0-6]$"
1613                min-code ,(lsh #x6300 16)
1614                max-code ,(+ (lsh #x6300 16) 23057)
1615                code-offset      ,(lsh #x6300 16)))
1616   (make-charset
1617    '=adobe-japan1-0
1618    "Adobe-Japan1-0 Character Collection for CID-Keyed Fonts"
1619    '(long-name "Adobe-Japan1-0"
1620                chars 256
1621                dimension 2
1622                columns 2
1623                graphic 2
1624                direction l2r
1625                mother =adobe-japan1-base
1626                min-code 0
1627                max-code 8283
1628                registry "AdobeJapan1-0$"))
1629   (make-charset
1630    '=adobe-japan1-1
1631    "Adobe-Japan1-1 Character Collection for CID-Keyed Fonts"
1632    '(long-name "Adobe-Japan1-1"
1633                chars 256
1634                dimension 2
1635                columns 2
1636                graphic 2
1637                direction l2r
1638                mother =adobe-japan1-0
1639                min-code 0
1640                max-code 8358
1641                registry "AdobeJapan1-1$"))
1642   (make-charset
1643    '=adobe-japan1-2
1644    "Adobe-Japan1-2 Character Collection for CID-Keyed Fonts"
1645    '(long-name "Adobe-Japan1-2"
1646                chars 256
1647                dimension 2
1648                columns 2
1649                graphic 2
1650                direction l2r
1651                mother =adobe-japan1-1
1652                min-code 0
1653                max-code 8719
1654                registry "AdobeJapan1-2$"))
1655   (make-charset
1656    '=adobe-japan1-3
1657    "Adobe-Japan1-3 Character Collection for CID-Keyed Fonts"
1658    '(long-name "Adobe-Japan1-3"
1659                chars 256
1660                dimension 2
1661                columns 2
1662                graphic 2
1663                direction l2r
1664                mother =adobe-japan1-2
1665                min-code 0
1666                max-code 9353
1667                registry "AdobeJapan1-3$"))
1668   (make-charset
1669    '=adobe-japan1-4
1670    "Adobe-Japan1-4 Character Collection for CID-Keyed Fonts"
1671    '(long-name "Adobe-Japan1-4"
1672                chars 256
1673                dimension 2
1674                columns 2
1675                graphic 2
1676                direction l2r
1677                mother =adobe-japan1-3
1678                min-code 0
1679                max-code 15443
1680                registry "AdobeJapan1-4$"))
1681   (make-charset
1682    '=adobe-japan1-5
1683    "Adobe-Japan1-5 Character Collection for CID-Keyed Fonts"
1684    '(long-name "Adobe-Japan1-5"
1685                chars 256
1686                dimension 2
1687                columns 2
1688                graphic 2
1689                direction l2r
1690                mother =adobe-japan1-4
1691                min-code 0
1692                max-code 20316
1693                registry "AdobeJapan1-5$"))
1694   (make-charset
1695    '=adobe-japan1-6
1696    "Adobe-Japan1-6 Character Collection for CID-Keyed Fonts"
1697    '(long-name "Adobe-Japan1-6"
1698                chars 256
1699                dimension 2
1700                columns 2
1701                graphic 2
1702                direction l2r
1703                mother =adobe-japan1-5
1704                min-code 0
1705                max-code 23057
1706                registry "AdobeJapan1-6$"))
1707   (make-charset
1708    '=>>adobe-japan1
1709    "Adobe-Japan1 abstract glyphs"
1710    '(long-name "Adobe-Japan1 abstract glyphs"
1711                chars 256
1712                dimension 2
1713                columns 2
1714                graphic 2
1715                direction l2r
1716                mother =adobe-japan1-6
1717                registry "AdobeJapan1-6$"))
1718
1719   (make-charset
1720    '=hanyo-denshi/ja
1721    "JA (JIS X0208) part of Han'you-Denshi characters"
1722    `(long-name "Han'you-Denshi/JA"
1723                chars 94
1724                dimension 2
1725                columns 2
1726                graphic 2
1727                direction l2r
1728                registry "HanyoDenshi\\.JA-0$"
1729                min-code ,(lsh #x6400 16)
1730                max-code ,(+ (lsh #x6400 16) (1- (* 94 94)))
1731                code-offset ,(lsh #x6400 16)))
1732   (make-charset
1733    '=hanyo-denshi/jb
1734    "JB (JIS X0212) part of Han'you-Denshi characters"
1735    `(long-name "Han'you-Denshi/JB"
1736                chars 94
1737                dimension 2
1738                columns 2
1739                graphic 2
1740                direction l2r
1741                registry "HanyoDenshi\\.JB-0$"
1742                min-code    ,(+ (lsh #x6400 16) (* 94 94))
1743                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 2)))
1744                code-offset ,(+ (lsh #x6400 16) (* 94 94))))
1745   (make-charset
1746    '=hanyo-denshi/jc
1747    "JC (JIS X0213:2000 Plane 1) part of Han'you-Denshi characters"
1748    `(long-name "Han'you-Denshi/JC"
1749                chars 94
1750                dimension 2
1751                columns 2
1752                graphic 2
1753                direction l2r
1754                registry "HanyoDenshi\\.JC-0$"
1755                min-code    ,(+ (lsh #x6400 16) (* 94 94 2))
1756                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 3)))
1757                code-offset ,(+ (lsh #x6400 16) (* 94 94 2))))
1758   (make-charset
1759    '=hanyo-denshi/jd
1760    "JD (JIS X0213:2000 Plane 1) part of Han'you-Denshi characters"
1761    `(long-name "Han'you-Denshi/JD"
1762                chars 94
1763                dimension 2
1764                columns 2
1765                graphic 2
1766                direction l2r
1767                registry "HanyoDenshi\\.JD-0$"
1768                min-code    ,(+ (lsh #x6400 16) (* 94 94 3))
1769                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 4)))
1770                code-offset ,(+ (lsh #x6400 16) (* 94 94 3))))
1771   (make-charset
1772    '=hanyo-denshi/ft
1773    "FT (FDPC additional) part of Han'you-Denshi characters"
1774    `(long-name "Han'you-Denshi/FT"
1775                chars 94
1776                dimension 2
1777                columns 2
1778                graphic 2
1779                direction l2r
1780                registry "HanyoDenshi\\.FT-0$"
1781                min-code    ,(+ (lsh #x6400 16) (* 94 94 4))
1782                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 5)))
1783                code-offset ,(+ (lsh #x6400 16) (* 94 94 4))))
1784   (make-charset
1785    '=hanyo-denshi/ia
1786    "IA part of Han'you-Denshi characters"
1787    `(long-name "Han'you-Denshi/IA"
1788                chars 94
1789                dimension 2
1790                columns 2
1791                graphic 2
1792                direction l2r
1793                registry "HanyoDenshi\\.IA-0$"
1794                min-code    ,(+ (lsh #x6400 16) (* 94 94 5))
1795                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 6)))
1796                code-offset ,(+ (lsh #x6400 16) (* 94 94 5))))
1797   (make-charset
1798    '=hanyo-denshi/ib
1799    "IB part of Han'you-Denshi characters"
1800    `(long-name "Han'you-Denshi/IB"
1801                chars 94
1802                dimension 2
1803                columns 2
1804                graphic 2
1805                direction l2r
1806                registry "HanyoDenshi\\.IB-0$"
1807                min-code    ,(+ (lsh #x6400 16) (* 94 94 6))
1808                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 7)))
1809                code-offset ,(+ (lsh #x6400 16) (* 94 94 6))))
1810   (make-charset
1811    '=hanyo-denshi/hg
1812    "HG (HyouGai Kanji) part of Han'you-Denshi characters"
1813    `(long-name "Han'you-Denshi/HG"
1814                chars 94
1815                dimension 2
1816                columns 2
1817                graphic 2
1818                direction l2r
1819                registry "HanyoDenshi\\.HG-0$"
1820                min-code    ,(+ (lsh #x6400 16) (* 94 94 7))
1821                max-code    ,(+ (lsh #x6400 16) (1- (* 94 94 8)))
1822                code-offset ,(+ (lsh #x6400 16) (* 94 94 7))))
1823   (make-charset
1824    '=hanyo-denshi/ip
1825    "IP (for IPA) part of Han'you-Denshi characters"
1826    `(long-name "Han'you-Denshi/IP"
1827                chars 256
1828                dimension 2
1829                columns 2
1830                graphic 2
1831                direction l2r
1832                registry "HanyoDenshi\\.IP-0$"
1833                min-code    ,(+ (lsh #x6402 16) #x4E00)
1834                max-code    ,(+ (lsh #x6402 16) #x9FFF)
1835                code-offset ,(+ (lsh #x6402 16))))
1836   (make-charset
1837    '=hanyo-denshi/jt
1838    "JT (Juuki Touitsu Moji) part of Han'you-Denshi characters"
1839    `(long-name "Han'you-Denshi/JT"
1840                chars 256
1841                dimension 2
1842                columns 2
1843                graphic 2
1844                direction l2r
1845                registry "HanyoDenshi\\.JT-0$"
1846                min-code    ,(+ (lsh #x6402 16) #xAC00)
1847                max-code    ,(+ (lsh #x6402 16) #xD7AF)
1848                code-offset ,(+ (lsh #x6402 16))))
1849   (make-charset
1850    '=hanyo-denshi/ks
1851    "KS (KoSeki) part of Han'you-Denshi characters"
1852    `(long-name "Han'you-Denshi/KS font encoding"
1853                chars 256
1854                dimension 3
1855                columns 2
1856                graphic 2
1857                direction l2r))
1858   (make-charset
1859    '=hanyo-denshi/ks/mf
1860    "font encoding for KS (KoSeki) characters"
1861    `(long-name "Han'you-Denshi/KS font encoding"
1862                chars 256
1863                dimension 2
1864                columns 2
1865                graphic 2
1866                direction l2r
1867                registry "HanyoDenshi\\.KSMF-0$"
1868                min-code       ,(lsh #x6403 16)
1869                max-code    ,(+ (lsh #x6403 16) #xFFFF)
1870                code-offset    ,(lsh #x6403 16)))
1871
1872   (make-charset
1873    '=>>>hanyo-denshi/jt
1874    "JT (Juuki Touitsu Moji) abstract glyph-forms"
1875    '(long-name "Han'you-Denshi/JT glyph-forms"
1876                chars 256
1877                dimension 2
1878                columns 2
1879                graphic 2
1880                direction l2r
1881                registry "HanyoDenshi\\.JT-0$"
1882                mother =hanyo-denshi/jt))
1883
1884   (make-charset
1885    '=>>hanyo-denshi/ft
1886    "Han'you-Denshi/FT abstract glyphs"
1887    '(long-name "Han'you-Denshi/FT glyphs"
1888                chars 94
1889                dimension 2
1890                columns 2
1891                graphic 2
1892                direction l2r
1893                registry "HanyoDenshi\\.FT-0$"
1894                mother =hanyo-denshi/ft))
1895   (make-charset
1896    '=>>hanyo-denshi/ia
1897    "Han'you-Denshi/IA abstract glyphs"
1898    '(long-name "Han'you-Denshi/IA glyphs"
1899                chars 94
1900                dimension 2
1901                columns 2
1902                graphic 2
1903                direction l2r
1904                registry "HanyoDenshi\\.IA-0$"
1905                mother =hanyo-denshi/ia))
1906   (make-charset
1907    '=>>hanyo-denshi/ib
1908    "Han'you-Denshi/IB abstract glyphs"
1909    '(long-name "Han'you-Denshi/IB abstract glyphs"
1910                chars 94
1911                dimension 2
1912                columns 2
1913                graphic 2
1914                direction l2r
1915                registry "HanyoDenshi\\.IB-0$"
1916                mother =hanyo-denshi/ib))
1917   (make-charset
1918    '=>>hanyo-denshi/jt
1919    "JT (Juuki Touitsu Moji) abstract glyphs"
1920    '(long-name "Han'you-Denshi/JT glyphs"
1921                chars 256
1922                dimension 2
1923                columns 2
1924                graphic 2
1925                direction l2r
1926                registry "HanyoDenshi\\.JT-0$"
1927                mother =>>>hanyo-denshi/jt))
1928   (make-charset
1929    '=>>hanyo-denshi/ks
1930    "Han'you-Denshi/KS abstract glyphs"
1931    '(long-name "Han'you-Denshi/KS glyphs"
1932                chars 256
1933                dimension 3
1934                columns 2
1935                graphic 2
1936                direction l2r
1937                mother =hanyo-denshi/ks))
1938   )
1939
1940 ;;; mule-conf.el ends here