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