3969b9a8beea85275e609573a00b0bf3ca3e341f
[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 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 glyphs (unchanged part)."
325    '(registry "jisx0208\\.1990"
326               dimension 2
327               chars 94
328               mother =jis-x0208
329               =>iso-ir 168
330               ;; final ?B
331               graphic 0))
332   (make-charset
333    '=>>jis-x0208@1978
334    "JIS X 0208:1978 abstract glyphs (unchanged part)."
335    '(registry "jisx0208\\.1978"
336               dimension 2
337               chars 94
338               mother =>>jis-x0208
339               =>iso-ir 42
340               ;; final ?@
341               graphic 0))
342
343   (make-charset
344    '=>>jis-x0213-1
345    "JIS X 0213 Plain 1 abstract glyphs (unchanged part)"
346    '(registry "jisx0213\\(\\.[0-9]+\\)?-1"
347               dimension 2
348               chars 94
349               mother =jis-x0213-1
350               =>iso-ir 228
351               ;; final ?O
352               graphic 0
353               ;; partial t
354               ))
355   (make-charset
356    '=>>jis-x0213-1@2000
357    "JIS X 0213:2000 Plain 1 abstract glyphs"
358    '(registry "jisx0213\\(\\.2000\\)-1"
359               dimension 2
360               chars 94
361               mother =>>jis-x0213-1
362               =>iso-ir 228
363               ;; final ?O
364               graphic 0
365               ;; partial t
366               ))
367   (make-charset
368    '=>>jis-x0213-2
369    "JIS X 0213 Plain 2 abstract glyphs"
370    '(registry "jisx0213\\(\\.\\(2000\\|2004\\)\\)?-2"
371               dimension 2
372               chars 94
373               mother =jis-x0213-2
374               =>iso-ir 229
375               ;; final ?P
376               graphic 0))
377   (make-charset
378    '=>>jis-x0213-1@2004
379    "JIS X 0213:2004 Plain 1 abstract glyphs"
380    '(registry "jisx0213\\(\\.2004\\)-1"
381               dimension 2
382               chars 94
383               mother =>>jis-x0213-1
384               =>iso-ir 233
385               ;; final ?Q
386               graphic 0
387               ;; partial t
388               ))
389
390   (make-charset
391    '=>jis-x0208
392    "JIS X 0208 based on the unchanged unification rules."
393    '(registry "jisx0208\\.1990"
394               dimension 2
395               chars 94
396               mother =>>jis-x0208
397               =>iso-ir 168
398               ;; final ?B
399               graphic 0))
400   (define-charset-alias '<=>jis-x0208 '=>jis-x0208)
401   (make-charset
402    '=>jis-x0208@1997
403    "JIS X 0208 based on the unification rule of 1997 edition."
404    '(registry "jisx0208\\.1990"
405               dimension 2
406               chars 94
407               mother =>jis-x0208
408               =>iso-ir 168
409               ;; final ?B
410               graphic 0))
411   (define-charset-alias '<=>jis-x0208@1997 '=>jis-x0208@1997)
412   (define-charset-alias '  =jis-x0208@1997 '=>jis-x0208@1997)
413
414   (make-charset
415    '=>jis-x0213-1
416    "JIS X 0213 Plain 1 abstract characters (unchanged part)"
417    '(registry "jisx0213\\(\\.[0-9]+\\)?-1"
418               dimension 2
419               chars 94
420               mother =>>jis-x0213-1
421               =>iso-ir 228
422               ;; final ?O
423               graphic 0
424               ;; partial t
425               ))
426   (define-charset-alias '<=>jis-x0213-1 '=>jis-x0213-1)
427   (make-charset
428    '=>jis-x0213-1@2000
429    "JIS X 0213:2000 Plain 1 abstract characters"
430    '(registry "jisx0213\\(\\.2000\\)-1"
431               dimension 2
432               chars 94
433               mother =>jis-x0213-1
434               =>iso-ir 228
435               ;; final ?O
436               graphic 0
437               ;; partial t
438               ))
439   (define-charset-alias '<=>jis-x0213-1@2000 '=>jis-x0213-1@2000)
440   (make-charset
441    '=>jis-x0213-1@2004
442    "JIS X 0213:2004 Plain 1 abstract characters"
443    '(registry "jisx0213\\(\\.2004\\)-1"
444               dimension 2
445               chars 94
446               mother =>jis-x0213-1
447               =>iso-ir 233
448               ;; final ?Q
449               graphic 0
450               ;; partial t
451               ))
452   (define-charset-alias '<=>jis-x0213-1@2004 '=>jis-x0213-1@2004)
453   (make-charset
454    '=>jis-x0213-2
455    "JIS X 0213 Plain 2 abstract characters"
456    '(registry "jisx0213\\(\\.\\(2000\\|2004\\)\\)?-2"
457               dimension 2
458               chars 94
459               mother =>>jis-x0213-2
460               =>iso-ir 229
461               ;; final ?P
462               graphic 0))
463
464   (make-charset '=big5-cdp
465                 "Big5 with CDP extension"
466                 '(long-name     "Big5-CDP"
467                   chars         256
468                   dimension     2
469                   columns       2
470                   graphic       2
471                   direction     l2r
472                   registry      "big5\\.cdp-0"
473                   mother        chinese-big5
474                   min-code      #x8140
475                   max-code      #x8DFE))
476   (define-charset-alias 'chinese-big5-cdp '=big5-cdp)
477
478   (make-charset '=>>big5-cdp
479                 "Abstract glyphs of Big5-CDP"
480                 '(long-name     "Big5-CDP"
481                   chars         256
482                   dimension     2
483                   columns       2
484                   graphic       2
485                   direction     l2r
486                   registry      "big5\\.cdp-0"
487                   mother        =big5-cdp))
488
489   (make-charset '=gt
490                 "GT 2000"
491                 `(long-name     "GT"
492                   chars         256
493                   dimension     3
494                   columns       2
495                   graphic       2
496                   direction     l2r
497                   registry      ""
498                   min-code      ,(lsh #x6100 16)
499                   max-code      ,(+ (lsh #x6100 16) 67547)
500                   code-offset   ,(lsh #x6100 16)))
501   (define-charset-alias 'ideograph-gt '=gt)
502   (make-charset '=>>gt
503                 "GT 2000 abstract glyphs"
504                 '(long-name     "GT abstract glyphs"
505                   chars         256
506                   dimension     3
507                   columns       2
508                   graphic       2
509                   direction     l2r
510                   mother        =gt))
511   (define-charset-alias '<=>gt '=>>gt)
512   (define-charset-alias '<==>gt '=>>gt)
513   (make-charset '=>gt
514                 "GT 2000 abstract characters"
515                 '(long-name     "abstract GT characters"
516                   chars         256
517                   dimension     3
518                   columns       2
519                   graphic       2
520                   direction     l2r
521                   mother        =>>gt))
522   (make-charset '=gt-k
523                 "Ideographic components of GT"
524                 `(long-name     "GT components"
525                   chars         256
526                   dimension     2
527                   columns       2
528                   graphic       2
529                   direction     l2r
530                   registry      ""
531                   min-code      ,(lsh #x6110 16)
532                   max-code      ,(+ (lsh #x6110 16) 17090)
533                   code-offset   ,(lsh #x6110 16)))
534   (define-charset-alias 'ideograph-gt-k '=gt-k)
535   (make-charset '=>>gt-k
536                 "abstract glyphs of GT-K"
537                 '(long-name     "GT-K abstract glyphs"
538                   chars         256
539                   dimension     2
540                   columns       2
541                   graphic       2
542                   direction     l2r
543                   mother        =gt-k))
544   (let ((i 1))
545     (while (<= i 11)
546       (make-charset
547        (intern (format "=gt-pj-%d" i))
548        (format "GT 2000 (pseudo JIS encoding) part %d" i)
549        `(long-name ,(format "GT PJ %d" i)
550                    chars 94
551                    dimension 2
552                    columns 2
553                    graphic 0
554                    direction l2r
555                    registry ,(format "\\(GTpj-%d\\|jisx0208\\.GT-%d\\)$" i i)))
556       (define-charset-alias
557         (intern (format "ideograph-gt-pj-%d" i))
558         (intern (format "=gt-pj-%d" i)))
559       (setq i (1+ i))))
560   (make-charset
561    '=gt-pj-k1
562    "Ideographic parts of GT (pseudo JIS encoding) part 1"
563    '(long-name "GT K1"
564                chars 94
565                dimension 2
566                columns 2
567                graphic 0
568                direction l2r
569                registry "\\(GTKpj-1\\|jisx0208\\.GTK-1\\)$"))
570   (define-charset-alias 'ideograph-gt-pj-k1 '=gt-pj-k1)
571   (make-charset
572    '=gt-pj-k2
573    "Ideographic parts of GT (pseudo JIS encoding) part 2"
574    '(long-name "GT K2"
575                chars 94
576                dimension 2
577                columns 2
578                graphic 0
579                direction l2r
580                registry "\\(GTKpj-2\\|jisx0208\\.GTK-2\\)$"))
581   (define-charset-alias 'ideograph-gt-pj-k2 '=gt-pj-k2)
582
583   (make-charset '=daikanwa
584                 "Daikanwa dictionary (revised version 2)"
585                 `(long-name     "Daikanwa"
586                   chars         256
587                   dimension     2
588                   columns       2
589                   graphic       2
590                   direction     l2r
591                   registry      "Daikanwa\\(\\.[0-9]+\\)?-3"
592                   min-code      #xE00000
593                   max-code      ,(+ #xE00000 50100)
594                   code-offset   #xE00000))
595   (define-charset-alias 'ideograph-daikanwa '=daikanwa)
596
597   (make-charset '=daikanwa@rev1
598                 "Daikanwa dictionary (revised version)"
599                 `(long-name     "Daikanwa Rev."
600                   chars         256
601                   dimension     2
602                   columns       2
603                   graphic       2
604                   direction     l2r
605                   registry      "Daikanwa\\(\\.[0-9]+\\)?-2"
606                   mother        =daikanwa
607                   ))
608   (define-charset-alias 'ideograph-daikanwa-2 '=daikanwa@rev1)
609   (define-charset-alias '=daikanwa-rev1 '=daikanwa@rev1)
610
611   (make-charset '=daikanwa@rev2
612                 "Daikanwa dictionary (revised version 2)"
613                 `(long-name     "Daikanwa"
614                   chars         256
615                   dimension     2
616                   columns       2
617                   graphic       2
618                   direction     l2r
619                   registry      "Daikanwa\\(\\.[0-9]+\\)?-3"
620                   mother        =daikanwa
621                   min-code      1
622                   max-code      49964
623                   ;; min-code   #xE00000
624                   ;; max-code   ,(+ #xE00000 50100)
625                   ;; code-offset        #xE00000
626                   ))
627   (define-charset-alias '=daikanwa-rev2 '=daikanwa@rev2)
628
629   (make-charset '=shinjigen
630                 "Kadokawa ShinJigen dictionary (common parts)"
631                 `(long-name     "Shinjigen common parts"
632                   chars         256
633                   dimension     2
634                   columns       2
635                   graphic       2
636                   direction     l2r
637                   registry      "Shinjigen\\(\\.[0-9]+\\)?-*"))
638
639   (make-charset '=shinjigen@1ed
640                 "Kadokawa ShinJigen dictionary (the first edition)"
641                 `(long-name     "Shinjigen-1"
642                   chars         256
643                   dimension     2
644                   columns       2
645                   graphic       2
646                   direction     l2r
647                   mother        =shinjigen
648                   registry      "Shinjigen\\(\\.[0-9]+\\)?-1"))
649   (define-charset-alias 'shinjigen-1 '=shinjigen@1ed)
650
651   (make-charset '=shinjigen@1ed/24pr
652                 "Kadokawa ShinJigen dictionary (the 24th impression)"
653                 `(long-name     "Shinjigen-1 24pr"
654                   chars         256
655                   dimension     2
656                   columns       2
657                   graphic       2
658                   direction     l2r
659                   mother        =shinjigen@1ed))
660
661   (make-charset '=shinjigen@rev
662                 "Kadokawa ShinJigen dictionary (the revised edition)"
663                 `(long-name     "Shinjigen-2"
664                   chars         256
665                   dimension     2
666                   columns       2
667                   graphic       2
668                   direction     l2r
669                   mother        =shinjigen
670                   registry      "Shinjigen\\(\\.[0-9]+\\)?-2"))
671   (define-charset-alias 'shinjigen-2 '=shinjigen@rev)
672   (make-charset '=shinjigen/+p@rev
673                 "ShinJigen (the second edition) number with '"
674                 `(long-name     "Shinjigen-2 with '"
675                   chars         256
676                   dimension     2
677                   columns       2
678                   graphic       2
679                   direction     l2r))
680   (define-charset-alias 'shinjigen-2-p '=shinjigen/+p@rev)
681
682   (make-charset '=big5-pua
683                 "Big5 with private used area"
684                 '(long-name     "Big5-PUA"
685                   chars         256
686                   dimension     2
687                   columns       2
688                   graphic       2
689                   direction     l2r
690                   mother        chinese-big5
691                   registry      "Big5\\.ETEN"))
692   (define-charset-alias 'chinese-big5-pua '=big5-pua)
693   (make-charset '=big5-eten
694                 "Big5 ETEN"
695                 '(long-name     "Big5-ETEN"
696                   chars         256
697                   dimension     2
698                   columns       2
699                   graphic       2
700                   direction     l2r
701                   mother        chinese-big5
702                   min-code      #x8140
703                   max-code      #xFEFE
704                   registry      "Big5\\.ETEN"))
705   (define-charset-alias 'chinese-big5-eten '=big5-eten)
706   (make-charset 'chinese-big5-eten-a
707                 "Big5 ETEN (#xF9D6 .. #xF9FE)"
708                 '(long-name     "Big5-ETEN-a"
709                   chars         256
710                   dimension     2
711                   columns       2
712                   graphic       2
713                   direction     l2r
714                   mother        chinese-big5
715                   min-code      #xF9D6
716                   max-code      #xF9FE
717                   registry      "Big5\\.ETEN"))
718   (make-charset 'chinese-big5-eten-b
719                 "Big5 ETEN (#xC6A1 .. #xC8FE)"
720                 '(long-name     "Big5-ETEN-b"
721                   chars         256
722                   dimension     2
723                   columns       2
724                   graphic       2
725                   direction     l2r
726                   mother        chinese-big5
727                   min-code      #xC6A1
728                   max-code      #xC8FE
729                   registry      "Big5\\.ETEN"))
730
731   (let* ((i 1)
732          (hzk-min (+ (lsh #x6200 16) 65536))
733          (hzk-max (+ hzk-min 65535)))
734     (while (<= i 12)
735       (make-charset
736        (intern (format "=hanziku-%d" i))
737        (format "HANZIKU (pseudo BIG5 encoding) part %d" i)
738        `(long-name ,(format "HANZIKU-%d" i)
739                    chars 256
740                    dimension 2
741                    columns 2
742                    graphic 2
743                    direction l2r
744                    registry ,(format "hanziku-%d$" i i)
745                    min-code ,hzk-min
746                    max-code ,hzk-max
747                    code-offset ,hzk-min))
748       (define-charset-alias
749         (intern (format "ideograph-hanziku-%d" i))
750         (intern (format "=hanziku-%d" i)))
751       (setq hzk-min (1+ hzk-max)
752             hzk-max (+ hzk-min 65535))
753       (setq i (1+ i))))
754
755   (make-charset '=cbeta "CBETA private characters"
756                 '(long-name     "CBETA PUA"
757                   chars         256
758                   dimension     2
759                   registry      "cbeta-0"
760                   graphic       2
761                   min-code      #xE20000
762                   max-code      #xE2FFFF
763                   code-offset   #xE20000
764                   columns       2
765                   direction     l2r))
766   (define-charset-alias 'ideograph-cbeta '=cbeta)
767
768   (make-charset '=zinbun-oracle
769                 "Oracle Bones Script"
770                 `(long-name     "Oracle Bones Script in Zinbun, Kyoto Univ."
771                   chars         256
772                   dimension     2
773                   registry      "zob1968-0"
774                   graphic       2
775                   min-code      #xE70000
776                   max-code      ,(+ #xE70000 8192)
777                   code-offset   #xE70000
778                   columns       2
779                   direction     l2r))
780
781   (make-charset '=>zinbun-oracle
782                 "Abstract Oracle Bones"
783                 '(long-name     "Abstract characters of Zinbun Oracle Bones."
784                   chars         256
785                   dimension     2
786                   mother        =zinbun-oracle
787                   registry      "zob1968-0"
788                   graphic       2
789                   columns       2
790                   direction     l2r))
791
792   (make-charset '=jef-china3
793                 "JEF + CHINA3 private characters"
794                 '(long-name     "JEF + CHINA3"
795                   chars         256
796                   dimension     2
797                   columns       2
798                   graphic       2
799                   direction     l2r
800                   registry      "china3jef-0"
801                   min-code      #xE80000
802                   max-code      #xE8FFFF
803                   code-offset   #xE80000))
804   (define-charset-alias 'china3-jef '=jef-china3)
805
806   (make-charset '=ruimoku-v6
807                 "private characters used in RUIMOKU Version.6"
808                 `(long-name     "RUI6"
809                   chars         256
810                   dimension     2
811                   columns       2
812                   graphic       2
813                   direction     l2r
814                   registry      "rui6-0"
815                   ;; mother     ucs
816                   min-code      #xE90000 ; #xE000
817                   max-code      #xE908FF ; #xE8FF
818                   code-offset   ,(- #xE90000 #xE000)))
819
820   (make-charset '=>>ucs@iso
821                 "Representative abstract glyphs of ISO/IEC 10646"
822                 '(long-name     "UCS glyphs for UCS"
823                   chars         256
824                   dimension     3
825                   columns       2
826                   graphic       2
827                   direction     l2r
828                   =>iso-ir      177
829                   mother        =ucs))
830   (make-charset '=>>ucs@unicode
831                 "Representative abstract glyphs of Unicode"
832                 '(long-name     "Unicode abstract glyphs"
833                   chars         256
834                   dimension     3
835                   columns       2
836                   graphic       2
837                   direction     l2r
838                   =>iso-ir      177
839                   mother        =>>ucs@iso))
840   (make-charset '=>>ucs@jis
841                 "UCS Representative glyphs for JIS X0208/0212/0213"
842                 '(long-name     "UCS glyphs for JIS"
843                   chars         256
844                   dimension     3
845                   columns       2
846                   graphic       2
847                   direction     l2r
848                   =>iso-ir      177
849                   mother        =>>ucs@unicode))
850   (make-charset '=>>ucs@jis/1990
851                 "UCS Representative glyphs for JIS X 0208/0212:1990"
852                 '(long-name     "UCS glyphs for JIS:1990"
853                   chars         256
854                   dimension     3
855                   columns       2
856                   graphic       2
857                   direction     l2r
858                   =>iso-ir      177
859                   mother        =>>ucs@jis))
860   (make-charset '=>>ucs@jis/2000
861                 "UCS Representative glyphs for JIS X 0213:2000"
862                 '(long-name     "UCS glyphs for JIS:2000"
863                   chars         256
864                   dimension     3
865                   columns       2
866                   graphic       2
867                   direction     l2r
868                   =>iso-ir      177
869                   mother        =>>ucs@jis))
870   (make-charset '=>>ucs@jis/2004
871                 "UCS Representative glyphs for JIS X 0213:2004"
872                 '(long-name     "UCS glyphs for JIS:2004"
873                   chars         256
874                   dimension     3
875                   columns       2
876                   graphic       2
877                   direction     l2r
878                   =>iso-ir      177
879                   mother        =>>ucs@jis))
880   (make-charset '=>>ucs@cns
881                 "UCS Representative glyphs for CNS 11643 sources"
882                 '(long-name     "UCS glyphs for CNS"
883                   chars         256
884                   dimension     3
885                   columns       2
886                   graphic       2
887                   direction     l2r
888                   =>iso-ir      177
889                   mother        =>>ucs@unicode))
890
891   (make-charset '=ucs@iso
892                 "ISO/IEC 10646 for its representative glyphs"
893                 '(long-name     "UCS for ISO"
894                   chars         256
895                   dimension     3
896                   columns       2
897                   graphic       2
898                   direction     l2r
899                   =>iso-ir      177
900                   mother        =>>ucs@iso))
901   (make-charset '=ucs@unicode
902                 "Unicode for its representative glyphs"
903                 '(long-name     "UCS for Unicode"
904                   chars         256
905                   dimension     3
906                   columns       2
907                   graphic       2
908                   direction     l2r
909                   =>iso-ir      177
910                   mother        =ucs@iso))
911   (make-charset '=ucs@gb
912                 "ISO/IEC 10646 for GB"
913                 '(long-name     "UCS for GB"
914                   chars         256
915                   dimension     3
916                   columns       2
917                   graphic       2
918                   direction     l2r
919                   =>iso-ir      177
920                   mother        =ucs@unicode))
921   (define-charset-alias 'ucs-gb '=ucs@gb)
922   (make-charset '=ucs@gb/fw
923                 "ISO/IEC 10646 for GB with fullwidth"
924                 '(long-name     "UCS for GB-fullwidth"
925                   chars         256
926                   dimension     3
927                   columns       2
928                   graphic       2
929                   direction     l2r
930                   =>iso-ir      177
931                   mother        =ucs@gb))
932   (make-charset '=ucs-bmp@gb
933                 "ISO/IEC 10646 BMP for GB"
934                 '(long-name     "BMP for GB"
935                   chars         256
936                   dimension     3
937                   columns       2
938                   graphic       2
939                   direction     l2r
940                   mother        =ucs@gb
941                   min-code      #x0000
942                   max-code      #xFFFF))
943   (make-charset '=ucs@cns
944                 "ISO/IEC 10646 for CNS 11643"
945                 '(long-name     "UCS for CNS"
946                   chars         256
947                   dimension     3
948                   columns       2
949                   graphic       2
950                   direction     l2r
951                   =>iso-ir      177
952                   mother        =ucs@unicode))
953   (define-charset-alias 'ucs-cns '=ucs@cns)
954   (make-charset '=ucs@cns/fw
955                 "ISO/IEC 10646 for CNS 11643 with fullwidth"
956                 '(long-name     "UCS for CNS-fullwidth"
957                   chars         256
958                   dimension     3
959                   columns       2
960                   graphic       2
961                   direction     l2r
962                   =>iso-ir      177
963                   mother        =ucs@cns))
964   (make-charset '=ucs-bmp@cns
965                 "ISO/IEC 10646 BMP for CNS"
966                 '(long-name     "BMP for CNS"
967                   chars         256
968                   dimension     3
969                   columns       2
970                   graphic       2
971                   direction     l2r
972                   mother        =ucs@cns
973                   min-code      #x0000
974                   max-code      #xFFFF))
975   (make-charset '=ucs@jis
976                 "ISO/IEC 10646 for JIS X0208/0212/0213"
977                 '(long-name     "UCS for JIS"
978                   chars         256
979                   dimension     3
980                   columns       2
981                   graphic       2
982                   direction     l2r
983                   =>iso-ir      177
984                   mother        =ucs@unicode))
985   (define-charset-alias 'ucs-jis '=ucs@jis)
986   (make-charset '=ucs@jis/fw
987                 "ISO/IEC 10646 for JIS X0208/0212/0213 with fullwidth"
988                 '(long-name     "UCS for JIS-fullwidth"
989                   chars         256
990                   dimension     3
991                   columns       2
992                   graphic       2
993                   direction     l2r
994                   =>iso-ir      177
995                   mother        =ucs@jis))
996   (make-charset '=ucs-bmp@jis
997                 "ISO/IEC 10646 BMP for JIS"
998                 '(long-name     "BMP for JIS"
999                   chars         256
1000                   dimension     3
1001                   columns       2
1002                   graphic       2
1003                   direction     l2r
1004                   mother        =ucs@jis
1005                   min-code      #x0000
1006                   max-code      #xFFFF))
1007   (make-charset '=ucs@jis/1990
1008                 "ISO/IEC 10646 for JIS X 0208/0212:1990"
1009                 '(long-name     "UCS for JIS:1990"
1010                   chars         256
1011                   dimension     3
1012                   columns       2
1013                   graphic       2
1014                   direction     l2r
1015                   =>iso-ir      177
1016                   mother        =ucs@jis))
1017   (define-charset-alias '=ucs@jis-1990 '=ucs@jis/1990)
1018   (define-charset-alias '=ucs-jis-1990 '=ucs@jis/1990)
1019   (make-charset '=ucs@jis/2000
1020                 "ISO/IEC 10646 for JIS X 0213:2000"
1021                 '(long-name     "UCS for JIS:2000"
1022                   chars         256
1023                   dimension     3
1024                   columns       2
1025                   graphic       2
1026                   direction     l2r
1027                   =>iso-ir      177
1028                   mother        =ucs@jis))
1029   (define-charset-alias '=ucs@jis-2000 '=ucs@jis/2000)
1030   (define-charset-alias '=ucs-jis-2000 '=ucs@jis/2000)
1031   (make-charset '=ucs@jis/2004
1032                 "ISO/IEC 10646 for JIS X 0213:2004"
1033                 '(long-name     "UCS for JIS:2004"
1034                   chars         256
1035                   dimension     3
1036                   columns       2
1037                   graphic       2
1038                   direction     l2r
1039                   =>iso-ir      177
1040                   mother        =ucs@jis))
1041   (make-charset '=ucs@JP
1042                 "UCS for common glyphs used in Japan"
1043                 '(long-name     "UCS for Japan"
1044                   chars         256
1045                   dimension     3
1046                   columns       2
1047                   graphic       2
1048                   direction     l2r
1049                   =>iso-ir      177
1050                   mother        =ucs@jis/2004))
1051   (define-charset-alias '=ucs@jp '=ucs@JP)
1052   (make-charset '=ucs@ks
1053                 "ISO/IEC 10646 for Korean Standards"
1054                 '(long-name     "UCS for KS"
1055                   chars         256
1056                   dimension     3
1057                   columns       2
1058                   graphic       2
1059                   direction     l2r
1060                   =>iso-ir      177
1061                   mother        =ucs@unicode))
1062   (define-charset-alias 'ucs-ks '=ucs@ks)
1063   (make-charset '=ucs-bmp@ks
1064                 "ISO/IEC 10646 BMP for KS"
1065                 '(long-name     "BMP for KS"
1066                   chars         256
1067                   dimension     3
1068                   columns       2
1069                   graphic       2
1070                   direction     l2r
1071                   mother        =ucs@ks
1072                   min-code      #x0000
1073                   max-code      #xFFFF))
1074   (make-charset '=ucs@cns11643
1075                 "ISO/IEC 10646 for CNS based on www.cns11643.gov.tw"
1076                 '(long-name     "UCS for CNS11643"
1077                   chars         256
1078                   dimension     3
1079                   columns       2
1080                   graphic       2
1081                   direction     l2r
1082                   =>iso-ir      177
1083                   mother        =ucs@cns))
1084   (make-charset '=ucs@big5
1085                 "ISO/IEC 10646 for Big5"
1086                 '(long-name     "UCS for Big5"
1087                   chars         256
1088                   dimension     3
1089                   columns       2
1090                   graphic       2
1091                   direction     l2r
1092                   =>iso-ir      177
1093                   mother        =>>ucs@unicode))
1094   (define-charset-alias 'ucs-big5 '=ucs@big5)
1095   (make-charset '=ucs@big5/cns11643
1096                 "ISO/IEC 10646 for Big5 based on www.cns11643.gov.tw"
1097                 '(long-name     "UCS for Big5@CNS11643"
1098                   chars         256
1099                   dimension     3
1100                   columns       2
1101                   graphic       2
1102                   direction     l2r
1103                   =>iso-ir      177
1104                   mother        =ucs@big5))
1105
1106   (make-charset
1107    '=ucs-radicals
1108    "CJK Radicals of UCS"
1109    '(long-name "UCS-Radicals"
1110                chars 256
1111                dimension 2
1112                columns 2
1113                graphic 2
1114                direction l2r
1115                registry "-zhRadicals-.*-ucs-0"
1116                mother ucs-bmp
1117                min-code #x2E00 max-code #x2FFF))
1118   (make-charset
1119    '=ucs-radicals@unicode
1120    "CJK Radicals of UCS"
1121    '(long-name "UCS-Radicals"
1122                chars 256
1123                dimension 2
1124                columns 2
1125                graphic 2
1126                direction l2r
1127                registry "-zhRadicals-.*-ucs-0"
1128                mother =ucs@unicode
1129                min-code #x2E00 max-code #x2FFF))
1130   (make-charset
1131    '=ucs-hangul
1132    "Hangul Syllables of UCS"
1133    '(long-name "UCS-Hangul-Syllables"
1134                chars 256
1135                dimension 2
1136                columns 2
1137                graphic 2
1138                direction l2r
1139                registry "-Hangul-.*-ucs-0"
1140                mother =ucs
1141                min-code #xAC00 max-code #xD7AF))
1142   (make-charset
1143    '=ucs-bmp-cjk
1144    "CJK Characters in BMP of UCS"
1145    '(long-name "UCS-BMP-CJK"
1146                chars 256
1147                dimension 2
1148                columns 2
1149                graphic 2
1150                direction l2r
1151                registry "-zh-.*-ucs-0"
1152                mother ucs-bmp
1153                min-code #x2E00
1154                max-code #x9FA5
1155                ;; max-code #xA4CF
1156                ))
1157   (make-charset
1158    '=ucs-bmp-cjk@unicode
1159    "CJK Characters in BMP of Unicode"
1160    '(long-name "Unicode-BMP-CJK"
1161                chars 256
1162                dimension 2
1163                columns 2
1164                graphic 2
1165                direction l2r
1166                registry "-zh-.*-ucs-0"
1167                mother =ucs@unicode
1168                min-code #x2E00
1169                max-code #x9FA5
1170                ;; max-code #xA4CF
1171                ))
1172   (make-charset
1173    '=ucs-sip-ext-b
1174    "CJK Ideographs Extension B"
1175    '(long-name "UCS CJK Ext-B"
1176                chars 256
1177                dimension 2
1178                columns 2
1179                graphic 2
1180                direction l2r
1181                registry "\\(iso10646\\|ucs02\\)-2$"
1182                mother ucs
1183                min-code #x20000 max-code #x2A6D6
1184                code-offset #x20000))
1185   (make-charset
1186    '=ucs-sip-ext-b@iso
1187    "CJK Ideographs Extension B (ISO/IEC 10646-2)"
1188    '(long-name "UCS CJK Ext-B"
1189                chars 256
1190                dimension 2
1191                columns 2
1192                graphic 2
1193                direction l2r
1194                registry "\\(iso10646\\|ucs02\\)-2$"
1195                mother =ucs@iso
1196                min-code #x20000 max-code #x2A6D6
1197                code-offset #x20000))
1198
1199   (make-charset
1200    '=adobe-japan1-base
1201    "Adobe-Japan1 Character Collection for CID-Keyed Fonts"
1202    `(long-name "Adobe-Japan1"
1203                chars 256
1204                dimension 2
1205                columns 2
1206                graphic 2
1207                direction l2r
1208                registry "AdobeJapan1-[0-6]$"
1209                min-code ,(lsh #x6300 16)
1210                max-code ,(+ (lsh #x6300 16) 23057)
1211                code-offset      ,(lsh #x6300 16)))
1212   (make-charset
1213    '=adobe-japan1-0
1214    "Adobe-Japan1-0 Character Collection for CID-Keyed Fonts"
1215    '(long-name "Adobe-Japan1-0"
1216                chars 256
1217                dimension 2
1218                columns 2
1219                graphic 2
1220                direction l2r
1221                mother =adobe-japan1-base
1222                min-code 0
1223                max-code 8283
1224                registry "AdobeJapan1-0$"))
1225   (make-charset
1226    '=adobe-japan1-1
1227    "Adobe-Japan1-1 Character Collection for CID-Keyed Fonts"
1228    '(long-name "Adobe-Japan1-1"
1229                chars 256
1230                dimension 2
1231                columns 2
1232                graphic 2
1233                direction l2r
1234                mother =adobe-japan1-0
1235                min-code 0
1236                max-code 8358
1237                registry "AdobeJapan1-1$"))
1238   (make-charset
1239    '=adobe-japan1-2
1240    "Adobe-Japan1-2 Character Collection for CID-Keyed Fonts"
1241    '(long-name "Adobe-Japan1-2"
1242                chars 256
1243                dimension 2
1244                columns 2
1245                graphic 2
1246                direction l2r
1247                mother =adobe-japan1-1
1248                min-code 0
1249                max-code 8719
1250                registry "AdobeJapan1-2$"))
1251   (make-charset
1252    '=adobe-japan1-3
1253    "Adobe-Japan1-3 Character Collection for CID-Keyed Fonts"
1254    '(long-name "Adobe-Japan1-3"
1255                chars 256
1256                dimension 2
1257                columns 2
1258                graphic 2
1259                direction l2r
1260                mother =adobe-japan1-2
1261                min-code 0
1262                max-code 9353
1263                registry "AdobeJapan1-3$"))
1264   (make-charset
1265    '=adobe-japan1-4
1266    "Adobe-Japan1-4 Character Collection for CID-Keyed Fonts"
1267    '(long-name "Adobe-Japan1-4"
1268                chars 256
1269                dimension 2
1270                columns 2
1271                graphic 2
1272                direction l2r
1273                mother =adobe-japan1-3
1274                min-code 0
1275                max-code 15443
1276                registry "AdobeJapan1-4$"))
1277   (make-charset
1278    '=adobe-japan1-5
1279    "Adobe-Japan1-5 Character Collection for CID-Keyed Fonts"
1280    '(long-name "Adobe-Japan1-5"
1281                chars 256
1282                dimension 2
1283                columns 2
1284                graphic 2
1285                direction l2r
1286                mother =adobe-japan1-4
1287                min-code 0
1288                max-code 20316
1289                registry "AdobeJapan1-5$"))
1290   (make-charset
1291    '=adobe-japan1-6
1292    "Adobe-Japan1-6 Character Collection for CID-Keyed Fonts"
1293    '(long-name "Adobe-Japan1-6"
1294                chars 256
1295                dimension 2
1296                columns 2
1297                graphic 2
1298                direction l2r
1299                mother =adobe-japan1-5
1300                min-code 0
1301                max-code 23057
1302                registry "AdobeJapan1-6$"))
1303   )
1304
1305 ;;; mule-conf.el ends here