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