(=>>big5-cdp): New abstract glyph-set for XEmacs CHISE.
[chise/xemacs-chise.git-] / lisp / mule / mule-conf.el
1 ;;; mule-conf.el --- configure multilingual environment
2
3 ;; Copyright (C) 1995,1999 Electrotechnical Laboratory, JAPAN.
4 ;; Licensed to the Free Software Foundation.
5 ;; Copyright (C) 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2008,
6 ;;   2009, 2010 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@cns
851                 "UCS Representative glyphs for CNS 11643 sources"
852                 '(long-name     "UCS glyphs for CNS"
853                   chars         256
854                   dimension     3
855                   columns       2
856                   graphic       2
857                   direction     l2r
858                   =>iso-ir      177
859                   mother        =>>ucs@unicode))
860
861   (make-charset '=ucs@iso
862                 "ISO/IEC 10646 for its representative glyphs"
863                 '(long-name     "UCS for ISO"
864                   chars         256
865                   dimension     3
866                   columns       2
867                   graphic       2
868                   direction     l2r
869                   =>iso-ir      177
870                   mother        =>>ucs@iso))
871   (make-charset '=ucs@unicode
872                 "Unicode for its representative glyphs"
873                 '(long-name     "UCS for Unicode"
874                   chars         256
875                   dimension     3
876                   columns       2
877                   graphic       2
878                   direction     l2r
879                   =>iso-ir      177
880                   mother        =ucs@iso))
881   (make-charset '=ucs@gb
882                 "ISO/IEC 10646 for GB"
883                 '(long-name     "UCS for GB"
884                   chars         256
885                   dimension     3
886                   columns       2
887                   graphic       2
888                   direction     l2r
889                   =>iso-ir      177
890                   mother        =ucs@unicode))
891   (define-charset-alias 'ucs-gb '=ucs@gb)
892   (make-charset '=ucs@gb/fw
893                 "ISO/IEC 10646 for GB with fullwidth"
894                 '(long-name     "UCS for GB-fullwidth"
895                   chars         256
896                   dimension     3
897                   columns       2
898                   graphic       2
899                   direction     l2r
900                   =>iso-ir      177
901                   mother        =ucs@gb))
902   (make-charset '=ucs-bmp@gb
903                 "ISO/IEC 10646 BMP for GB"
904                 '(long-name     "BMP for GB"
905                   chars         256
906                   dimension     3
907                   columns       2
908                   graphic       2
909                   direction     l2r
910                   mother        =ucs@gb
911                   min-code      #x0000
912                   max-code      #xFFFF))
913   (make-charset '=ucs@cns
914                 "ISO/IEC 10646 for CNS 11643"
915                 '(long-name     "UCS for CNS"
916                   chars         256
917                   dimension     3
918                   columns       2
919                   graphic       2
920                   direction     l2r
921                   =>iso-ir      177
922                   mother        =ucs@unicode))
923   (define-charset-alias 'ucs-cns '=ucs@cns)
924   (make-charset '=ucs@cns/fw
925                 "ISO/IEC 10646 for CNS 11643 with fullwidth"
926                 '(long-name     "UCS for CNS-fullwidth"
927                   chars         256
928                   dimension     3
929                   columns       2
930                   graphic       2
931                   direction     l2r
932                   =>iso-ir      177
933                   mother        =ucs@cns))
934   (make-charset '=ucs-bmp@cns
935                 "ISO/IEC 10646 BMP for CNS"
936                 '(long-name     "BMP for CNS"
937                   chars         256
938                   dimension     3
939                   columns       2
940                   graphic       2
941                   direction     l2r
942                   mother        =ucs@cns
943                   min-code      #x0000
944                   max-code      #xFFFF))
945   (make-charset '=ucs@jis
946                 "ISO/IEC 10646 for JIS X0208/0212/0213"
947                 '(long-name     "UCS for JIS"
948                   chars         256
949                   dimension     3
950                   columns       2
951                   graphic       2
952                   direction     l2r
953                   =>iso-ir      177
954                   mother        =ucs@unicode))
955   (define-charset-alias 'ucs-jis '=ucs@jis)
956   (make-charset '=ucs@jis/fw
957                 "ISO/IEC 10646 for JIS X0208/0212/0213 with fullwidth"
958                 '(long-name     "UCS for JIS-fullwidth"
959                   chars         256
960                   dimension     3
961                   columns       2
962                   graphic       2
963                   direction     l2r
964                   =>iso-ir      177
965                   mother        =ucs@jis))
966   (make-charset '=ucs-bmp@jis
967                 "ISO/IEC 10646 BMP for JIS"
968                 '(long-name     "BMP for JIS"
969                   chars         256
970                   dimension     3
971                   columns       2
972                   graphic       2
973                   direction     l2r
974                   mother        =ucs@jis
975                   min-code      #x0000
976                   max-code      #xFFFF))
977   (make-charset '=ucs@jis/1990
978                 "ISO/IEC 10646 for JIS X 0208/0212:1990"
979                 '(long-name     "UCS for JIS:1990"
980                   chars         256
981                   dimension     3
982                   columns       2
983                   graphic       2
984                   direction     l2r
985                   =>iso-ir      177
986                   mother        =ucs@jis))
987   (define-charset-alias '=ucs@jis-1990 '=ucs@jis/1990)
988   (define-charset-alias '=ucs-jis-1990 '=ucs@jis/1990)
989   (make-charset '=ucs@jis/2000
990                 "ISO/IEC 10646 for JIS X 0213:2000"
991                 '(long-name     "UCS for JIS:2000"
992                   chars         256
993                   dimension     3
994                   columns       2
995                   graphic       2
996                   direction     l2r
997                   =>iso-ir      177
998                   mother        =ucs@jis))
999   (define-charset-alias '=ucs@jis-2000 '=ucs@jis/2000)
1000   (define-charset-alias '=ucs-jis-2000 '=ucs@jis/2000)
1001   (make-charset '=ucs@jis/2004
1002                 "ISO/IEC 10646 for JIS X 0213:2004"
1003                 '(long-name     "UCS for JIS:2004"
1004                   chars         256
1005                   dimension     3
1006                   columns       2
1007                   graphic       2
1008                   direction     l2r
1009                   =>iso-ir      177
1010                   mother        =ucs@jis))
1011   (make-charset '=ucs@JP
1012                 "UCS for common glyphs used in Japan"
1013                 '(long-name     "UCS for Japan"
1014                   chars         256
1015                   dimension     3
1016                   columns       2
1017                   graphic       2
1018                   direction     l2r
1019                   =>iso-ir      177
1020                   mother        =ucs@jis/2004))
1021   (define-charset-alias '=ucs@jp '=ucs@JP)
1022   (make-charset '=ucs@ks
1023                 "ISO/IEC 10646 for Korean Standards"
1024                 '(long-name     "UCS for KS"
1025                   chars         256
1026                   dimension     3
1027                   columns       2
1028                   graphic       2
1029                   direction     l2r
1030                   =>iso-ir      177
1031                   mother        =ucs@unicode))
1032   (define-charset-alias 'ucs-ks '=ucs@ks)
1033   (make-charset '=ucs-bmp@ks
1034                 "ISO/IEC 10646 BMP for KS"
1035                 '(long-name     "BMP for KS"
1036                   chars         256
1037                   dimension     3
1038                   columns       2
1039                   graphic       2
1040                   direction     l2r
1041                   mother        =ucs@ks
1042                   min-code      #x0000
1043                   max-code      #xFFFF))
1044   (make-charset '=ucs@cns11643
1045                 "ISO/IEC 10646 for CNS based on www.cns11643.gov.tw"
1046                 '(long-name     "UCS for CNS11643"
1047                   chars         256
1048                   dimension     3
1049                   columns       2
1050                   graphic       2
1051                   direction     l2r
1052                   =>iso-ir      177
1053                   mother        =ucs@cns))
1054   (make-charset '=ucs@big5
1055                 "ISO/IEC 10646 for Big5"
1056                 '(long-name     "UCS for Big5"
1057                   chars         256
1058                   dimension     3
1059                   columns       2
1060                   graphic       2
1061                   direction     l2r
1062                   =>iso-ir      177
1063                   mother        =>>ucs@unicode))
1064   (define-charset-alias 'ucs-big5 '=ucs@big5)
1065   (make-charset '=ucs@big5/cns11643
1066                 "ISO/IEC 10646 for Big5 based on www.cns11643.gov.tw"
1067                 '(long-name     "UCS for Big5@CNS11643"
1068                   chars         256
1069                   dimension     3
1070                   columns       2
1071                   graphic       2
1072                   direction     l2r
1073                   =>iso-ir      177
1074                   mother        =ucs@big5))
1075
1076   (make-charset
1077    '=ucs-radicals
1078    "CJK Radicals of UCS"
1079    '(long-name "UCS-Radicals"
1080                chars 256
1081                dimension 2
1082                columns 2
1083                graphic 2
1084                direction l2r
1085                registry "-zhRadicals-.*-ucs-0"
1086                mother ucs-bmp
1087                min-code #x2E00 max-code #x2FFF))
1088   (make-charset
1089    '=ucs-radicals@unicode
1090    "CJK Radicals of UCS"
1091    '(long-name "UCS-Radicals"
1092                chars 256
1093                dimension 2
1094                columns 2
1095                graphic 2
1096                direction l2r
1097                registry "-zhRadicals-.*-ucs-0"
1098                mother =ucs@unicode
1099                min-code #x2E00 max-code #x2FFF))
1100   (make-charset
1101    '=ucs-hangul
1102    "Hangul Syllables of UCS"
1103    '(long-name "UCS-Hangul-Syllables"
1104                chars 256
1105                dimension 2
1106                columns 2
1107                graphic 2
1108                direction l2r
1109                registry "-Hangul-.*-ucs-0"
1110                mother =ucs
1111                min-code #xAC00 max-code #xD7AF))
1112   (make-charset
1113    '=ucs-bmp-cjk
1114    "CJK Characters in BMP of UCS"
1115    '(long-name "UCS-BMP-CJK"
1116                chars 256
1117                dimension 2
1118                columns 2
1119                graphic 2
1120                direction l2r
1121                registry "-zh-.*-ucs-0"
1122                mother ucs-bmp
1123                min-code #x2E00
1124                max-code #x9FA5
1125                ;; max-code #xA4CF
1126                ))
1127   (make-charset
1128    '=ucs-bmp-cjk@unicode
1129    "CJK Characters in BMP of Unicode"
1130    '(long-name "Unicode-BMP-CJK"
1131                chars 256
1132                dimension 2
1133                columns 2
1134                graphic 2
1135                direction l2r
1136                registry "-zh-.*-ucs-0"
1137                mother =ucs@unicode
1138                min-code #x2E00
1139                max-code #x9FA5
1140                ;; max-code #xA4CF
1141                ))
1142   (make-charset
1143    '=ucs-sip-ext-b
1144    "CJK Ideographs Extension B"
1145    '(long-name "UCS CJK Ext-B"
1146                chars 256
1147                dimension 2
1148                columns 2
1149                graphic 2
1150                direction l2r
1151                registry "\\(iso10646\\|ucs02\\)-2$"
1152                mother ucs
1153                min-code #x20000 max-code #x2A6D6
1154                code-offset #x20000))
1155   (make-charset
1156    '=ucs-sip-ext-b@iso
1157    "CJK Ideographs Extension B (ISO/IEC 10646-2)"
1158    '(long-name "UCS CJK Ext-B"
1159                chars 256
1160                dimension 2
1161                columns 2
1162                graphic 2
1163                direction l2r
1164                registry "\\(iso10646\\|ucs02\\)-2$"
1165                mother =ucs@iso
1166                min-code #x20000 max-code #x2A6D6
1167                code-offset #x20000))
1168
1169   (make-charset
1170    '=adobe-japan1-base
1171    "Adobe-Japan1 Character Collection for CID-Keyed Fonts"
1172    `(long-name "Adobe-Japan1"
1173                chars 256
1174                dimension 2
1175                columns 2
1176                graphic 2
1177                direction l2r
1178                registry "AdobeJapan1-[0-6]$"
1179                min-code ,(lsh #x6300 16)
1180                max-code ,(+ (lsh #x6300 16) 23057)
1181                code-offset      ,(lsh #x6300 16)))
1182   (make-charset
1183    '=adobe-japan1-0
1184    "Adobe-Japan1-0 Character Collection for CID-Keyed Fonts"
1185    '(long-name "Adobe-Japan1-0"
1186                chars 256
1187                dimension 2
1188                columns 2
1189                graphic 2
1190                direction l2r
1191                mother =adobe-japan1-base
1192                min-code 0
1193                max-code 8283
1194                registry "AdobeJapan1-0$"))
1195   (make-charset
1196    '=adobe-japan1-1
1197    "Adobe-Japan1-1 Character Collection for CID-Keyed Fonts"
1198    '(long-name "Adobe-Japan1-1"
1199                chars 256
1200                dimension 2
1201                columns 2
1202                graphic 2
1203                direction l2r
1204                mother =adobe-japan1-0
1205                min-code 0
1206                max-code 8358
1207                registry "AdobeJapan1-1$"))
1208   (make-charset
1209    '=adobe-japan1-2
1210    "Adobe-Japan1-2 Character Collection for CID-Keyed Fonts"
1211    '(long-name "Adobe-Japan1-2"
1212                chars 256
1213                dimension 2
1214                columns 2
1215                graphic 2
1216                direction l2r
1217                mother =adobe-japan1-1
1218                min-code 0
1219                max-code 8719
1220                registry "AdobeJapan1-2$"))
1221   (make-charset
1222    '=adobe-japan1-3
1223    "Adobe-Japan1-3 Character Collection for CID-Keyed Fonts"
1224    '(long-name "Adobe-Japan1-3"
1225                chars 256
1226                dimension 2
1227                columns 2
1228                graphic 2
1229                direction l2r
1230                mother =adobe-japan1-2
1231                min-code 0
1232                max-code 9353
1233                registry "AdobeJapan1-3$"))
1234   (make-charset
1235    '=adobe-japan1-4
1236    "Adobe-Japan1-4 Character Collection for CID-Keyed Fonts"
1237    '(long-name "Adobe-Japan1-4"
1238                chars 256
1239                dimension 2
1240                columns 2
1241                graphic 2
1242                direction l2r
1243                mother =adobe-japan1-3
1244                min-code 0
1245                max-code 15443
1246                registry "AdobeJapan1-4$"))
1247   (make-charset
1248    '=adobe-japan1-5
1249    "Adobe-Japan1-5 Character Collection for CID-Keyed Fonts"
1250    '(long-name "Adobe-Japan1-5"
1251                chars 256
1252                dimension 2
1253                columns 2
1254                graphic 2
1255                direction l2r
1256                mother =adobe-japan1-4
1257                min-code 0
1258                max-code 20316
1259                registry "AdobeJapan1-5$"))
1260   (make-charset
1261    '=adobe-japan1-6
1262    "Adobe-Japan1-6 Character Collection for CID-Keyed Fonts"
1263    '(long-name "Adobe-Japan1-6"
1264                chars 256
1265                dimension 2
1266                columns 2
1267                graphic 2
1268                direction l2r
1269                mother =adobe-japan1-5
1270                min-code 0
1271                max-code 23057
1272                registry "AdobeJapan1-6$"))
1273   )
1274
1275 ;;; mule-conf.el ends here