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