502
|
1 ;;; mule-charset.el --- Charset functions for Mule. -*- coding: iso-2022-7bit; -*-
|
428
|
2
|
788
|
3 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
|
|
4 ;; Copyright (C) 1992, 2001 Free Software Foundation, Inc.
|
|
5 ;; Licensed to the Free Software Foundation.
|
428
|
6 ;; Copyright (C) 1995 Amdahl Corporation.
|
|
7 ;; Copyright (C) 1996 Sun Microsystems.
|
777
|
8 ;; Copyright (C) 2002 Ben Wing.
|
428
|
9
|
|
10 ;; Author: Unknown
|
|
11 ;; Keywords: i18n, mule, internal
|
|
12
|
|
13 ;; This file is part of XEmacs.
|
|
14
|
|
15 ;; XEmacs is free software; you can redistribute it and/or modify it
|
|
16 ;; under the terms of the GNU General Public License as published by
|
|
17 ;; the Free Software Foundation; either version 2, or (at your option)
|
|
18 ;; any later version.
|
|
19
|
|
20 ;; XEmacs is distributed in the hope that it will be useful, but
|
|
21 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
22 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
23 ;; General Public License for more details.
|
|
24
|
|
25 ;; You should have received a copy of the GNU General Public License
|
|
26 ;; along with XEmacs; see the file COPYING. If not, write to the
|
|
27 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
28 ;; Boston, MA 02111-1307, USA.
|
|
29
|
|
30 ;;; Synched up with: Not synched. API at source level synched with FSF 20.3.9.
|
|
31
|
|
32 ;;; Commentary:
|
|
33
|
|
34 ;; These functions are not compatible at the bytecode level with Emacs/Mule,
|
|
35 ;; and they never will be. -sb [1999-05-26]
|
|
36
|
|
37 ;;; Code:
|
|
38
|
|
39 ;;;; Classifying text according to charsets
|
|
40
|
|
41 (defun charsets-in-region (start end &optional buffer)
|
|
42 "Return a list of the charsets in the region between START and END.
|
|
43 BUFFER defaults to the current buffer if omitted."
|
|
44 (let (list)
|
|
45 (save-excursion
|
|
46 (if buffer
|
|
47 (set-buffer buffer))
|
|
48 (save-restriction
|
|
49 (narrow-to-region start end)
|
|
50 (goto-char (point-min))
|
|
51 (while (not (eobp))
|
|
52 (let* (prev-charset
|
|
53 (ch (char-after (point)))
|
|
54 (charset (char-charset ch)))
|
|
55 (if (not (eq prev-charset charset))
|
|
56 (progn
|
|
57 (setq prev-charset charset)
|
|
58 (or (memq charset list)
|
|
59 (setq list (cons charset list))))))
|
|
60 (forward-char))))
|
|
61 list))
|
|
62
|
|
63 (defun charsets-in-string (string)
|
|
64 "Return a list of the charsets in STRING."
|
|
65 (let ((i 0)
|
|
66 (len (length string))
|
|
67 prev-charset charset list)
|
|
68 (while (< i len)
|
|
69 (setq charset (char-charset (aref string i)))
|
|
70 (if (not (eq prev-charset charset))
|
|
71 (progn
|
|
72 (setq prev-charset charset)
|
|
73 (or (memq charset list)
|
|
74 (setq list (cons charset list)))))
|
|
75 (setq i (1+ i)))
|
|
76 list))
|
|
77
|
771
|
78 (defalias 'find-charset-string 'charsets-in-string)
|
|
79 (defalias 'find-charset-region 'charsets-in-region)
|
428
|
80
|
|
81 ;;;; Charset accessors
|
|
82
|
|
83 (defun charset-iso-graphic-plane (charset)
|
|
84 "Return the `graphic' property of CHARSET.
|
|
85 See `make-charset'."
|
|
86 (charset-property charset 'graphic))
|
|
87
|
|
88 (defun charset-iso-final-char (charset)
|
|
89 "Return the final byte of the ISO 2022 escape sequence designating CHARSET."
|
|
90 (charset-property charset 'final))
|
|
91
|
|
92 (defun charset-chars (charset)
|
|
93 "Return the number of characters per dimension of CHARSET."
|
|
94 (charset-property charset 'chars))
|
|
95
|
|
96 (defun charset-width (charset)
|
|
97 "Return the number of display columns per character of CHARSET.
|
|
98 This only applies to TTY mode (under X, the actual display width can
|
|
99 be automatically determined)."
|
|
100 (charset-property charset 'columns))
|
|
101
|
|
102 ;; #### FSFmacs returns 0
|
|
103 (defun charset-direction (charset)
|
|
104 "Return the display direction (0 for `l2r' or 1 for `r2l') of CHARSET.
|
|
105 Only left-to-right is currently implemented."
|
|
106 (if (eq (charset-property charset 'direction) 'l2r)
|
|
107 0
|
|
108 1))
|
|
109
|
|
110 ;; Not in Emacs/Mule
|
|
111 (defun charset-registry (charset)
|
|
112 "Return the registry of CHARSET.
|
|
113 This is a regular expression matching the registry field of fonts
|
|
114 that can display the characters in CHARSET."
|
|
115 (charset-property charset 'registry))
|
|
116
|
|
117 (defun charset-ccl-program (charset)
|
|
118 "Return the CCL program of CHARSET.
|
|
119 See `make-charset'."
|
|
120 (charset-property charset 'ccl-program))
|
|
121
|
|
122 (defun charset-bytes (charset)
|
|
123 "Useless in XEmacs, returns 1."
|
|
124 1)
|
|
125
|
|
126 (define-obsolete-function-alias 'charset-columns 'charset-width) ;; 19990409
|
|
127 (define-obsolete-function-alias 'charset-final 'charset-iso-final-char) ;; 19990409
|
|
128 (define-obsolete-function-alias 'charset-graphic 'charset-iso-graphic-plane) ;; 19990409
|
|
129 (define-obsolete-function-alias 'charset-doc-string 'charset-description) ;; 19990409
|
|
130
|
|
131 ;;;; Define setf methods for all settable Charset properties
|
|
132
|
|
133 (defsetf charset-registry set-charset-registry)
|
|
134 (defsetf charset-ccl-program set-charset-ccl-program)
|
|
135
|
|
136 ;;; FSF compatibility functions
|
|
137 (defun charset-after (&optional pos)
|
|
138 "Return charset of a character in current buffer at position POS.
|
|
139 If POS is nil, it defauls to the current point.
|
|
140 If POS is out of range, the value is nil."
|
|
141 (when (null pos)
|
|
142 (setq pos (point)))
|
|
143 (check-argument-type 'integerp pos)
|
|
144 (unless (or (< pos (point-min))
|
|
145 (> pos (point-max)))
|
|
146 (char-charset (char-after pos))))
|
|
147
|
|
148 ;; Yuck!
|
771
|
149 ;; We're not going to support these.
|
|
150 ;(defun charset-info (charset) [incredibly broken function with random vectors]
|
|
151 ;(defun define-charset (...) [incredibly broken function with random vectors]
|
428
|
152
|
|
153 ;;; Charset property
|
|
154
|
|
155 (defalias 'get-charset-property 'get)
|
|
156 (defalias 'put-charset-property 'put)
|
|
157 (defalias 'charset-plist 'object-plist)
|
|
158 (defalias 'set-charset-plist 'setplist)
|
|
159
|
771
|
160
|
788
|
161 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
162 ; translation tables ;
|
|
163 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
164
|
|
165 (defstruct (translation-table (:constructor internal-make-translation-table))
|
|
166 forward
|
|
167 reverse)
|
|
168
|
|
169 (defun make-translation-table (&rest args)
|
|
170 "Make a translation table from arguments.
|
|
171 A translation table is a char table intended for for character
|
|
172 translation in CCL programs.
|
|
173
|
|
174 Each argument is a list of elemnts of the form (FROM . TO), where FROM
|
|
175 is a character to be translated to TO.
|
|
176
|
|
177 FROM can be a generic character (see `make-char'). In this case, TO is
|
|
178 a generic character containing the same number of characters, or a
|
|
179 ordinary character. If FROM and TO are both generic characters, all
|
|
180 characters belonging to FROM are translated to characters belonging to TO
|
|
181 without changing their position code(s).
|
|
182
|
|
183 The arguments and forms in each argument are processed in the given
|
|
184 order, and if a previous form already translates TO to some other
|
|
185 character, say TO-ALT, FROM is also translated to TO-ALT."
|
|
186 (let ((table (internal-make-translation-table
|
|
187 :forward (make-char-table 'generic)))
|
|
188 revlist)
|
|
189 (while args
|
|
190 (let ((elts (car args)))
|
|
191 (while elts
|
|
192 (let* ((from (car (car elts)))
|
|
193 (from-i 0) ; degree of freedom of FROM
|
|
194 (from-rev (nreverse (split-char from)))
|
|
195 (to (cdr (car elts)))
|
|
196 (to-i 0) ; degree of freedom of TO
|
|
197 (to-rev (nreverse (split-char to))))
|
|
198 ;; Check numbers of heading 0s in FROM-REV and TO-REV.
|
|
199 (while (eq (car from-rev) 0)
|
|
200 (setq from-i (1+ from-i) from-rev (cdr from-rev)))
|
|
201 (while (eq (car to-rev) 0)
|
|
202 (setq to-i (1+ to-i) to-rev (cdr to-rev)))
|
|
203 (if (and (/= from-i to-i) (/= to-i 0))
|
|
204 (error "Invalid character pair (%d . %d)" from to))
|
|
205 ;; If we have already translated TO to TO-ALT, FROM should
|
|
206 ;; also be translated to TO-ALT. But, this is only if TO
|
|
207 ;; is a generic character or TO-ALT is not a generic
|
|
208 ;; character.
|
|
209 (let ((to-alt (get-char-table to table)))
|
|
210 (if (and to-alt
|
|
211 (or (> to-i 0) (not (find-charset to-alt))))
|
|
212 (setq to to-alt)))
|
|
213 (if (> from-i 0)
|
|
214 (set-char-table-default table from to)
|
|
215 (put-char-table from to table))
|
|
216 ;; If we have already translated some chars to FROM, they
|
|
217 ;; should also be translated to TO.
|
|
218 (let ((l (assq from revlist)))
|
|
219 (if l
|
|
220 (let ((ch (car l)))
|
|
221 (setcar l to)
|
|
222 (setq l (cdr l))
|
|
223 (while l
|
|
224 (put-char-table ch to table)
|
|
225 (setq l (cdr l)) ))))
|
|
226 ;; Now update REVLIST.
|
|
227 (let ((l (assq to revlist)))
|
|
228 (if l
|
|
229 (setcdr l (cons from (cdr l)))
|
|
230 (setq revlist (cons (list to from) revlist)))))
|
|
231 (setq elts (cdr elts))))
|
|
232 (setq args (cdr args)))
|
|
233 ;; Return TABLE just created.
|
|
234 table))
|
|
235
|
|
236 ;; Do we really need this?
|
|
237 ; (defun make-translation-table-from-vector (vec)
|
|
238 ; "Make translation table from decoding vector VEC.
|
|
239 ; VEC is an array of 256 elements to map unibyte codes to multibyte characters.
|
|
240 ; See also the variable `nonascii-translation-table'."
|
|
241 ; (let ((table (make-char-table 'translation-table))
|
|
242 ; (rev-table (make-char-table 'translation-table))
|
|
243 ; (i 0)
|
|
244 ; ch)
|
|
245 ; (while (< i 256)
|
|
246 ; (setq ch (aref vec i))
|
|
247 ; (aset table i ch)
|
|
248 ; (if (>= ch 256)
|
|
249 ; (aset rev-table ch i))
|
|
250 ; (setq i (1+ i)))
|
|
251 ; (set-char-table-extra-slot table 0 rev-table)
|
|
252 ; table))
|
|
253
|
|
254 (defvar named-translation-table-hash-table (make-hash-table))
|
|
255
|
|
256 (defun define-translation-table (symbol &rest args)
|
|
257 "Define SYMBOL as the name of translation table made by ARGS.
|
|
258 This sets up information so that the table can be used for
|
|
259 translations in a CCL program.
|
|
260
|
|
261 If the first element of ARGS is a translation table, just define SYMBOL to
|
|
262 name it. (Note that this function does not bind SYMBOL.)
|
|
263
|
|
264 Any other ARGS should be suitable as arguments of the function
|
|
265 `make-translation-table' (which see).
|
|
266
|
|
267 Look up a named translation table using `find-translation-table' or
|
|
268 `get-translation-table'."
|
|
269 (let ((table (if (translation-table-p (car args))
|
|
270 (car args)
|
|
271 (apply 'make-translation-table args))))
|
|
272 (puthash symbol table named-translation-table-hash-table)))
|
|
273
|
|
274 (defun find-translation-table (table-or-name)
|
|
275 "Retrieve the translation table of the given name.
|
|
276 If TABLE-OR-NAME is a translation table object, it is simply returned.
|
|
277 Otherwise, TABLE-OR-NAME should be a symbol. If there is no such
|
|
278 translation table, nil is returned. Otherwise the associated translation
|
|
279 table object is returned."
|
|
280 (if (translation-table-p table-or-name)
|
|
281 table-or-name
|
|
282 (check-argument-type 'symbolp table-or-name)
|
|
283 (gethash table-or-name named-translation-table-hash-table)))
|
|
284
|
|
285 (defun get-translation-table (table-or-name)
|
|
286 "Retrieve the translation table of the given name.
|
|
287 Same as `find-translation-table' except an error is signalled if there is
|
|
288 no such translation table instead of returning nil."
|
|
289 (or (find-translation-table table-or-name)
|
|
290 (error 'invalid-argument "No such translation table" table-or-name)))
|
|
291
|
|
292
|
442
|
293 ;; Setup auto-fill-chars for charsets that should invoke auto-filling.
|
777
|
294 ;; SPACE and NEWLINE are already set.
|
442
|
295 (let ((l '(katakana-jisx0201
|
|
296 japanese-jisx0208 japanese-jisx0212
|
|
297 chinese-gb2312 chinese-big5-1 chinese-big5-2)))
|
|
298 (while l
|
|
299 (put-char-table (car l) t auto-fill-chars)
|
|
300 (setq l (cdr l))))
|
|
301
|
778
|
302
|
|
303 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
304 ; charsets ;
|
|
305 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
306
|
|
307 ;; Synched up with: FSF 21.1.
|
|
308
|
|
309 ;; All FSF charset definitions are in mule-conf.el. I copied the relevant
|
|
310 ;; part of that file below, then converted all charset definitions using
|
|
311 ;; the macro below, then globally replaced 'direction 0' with 'direction
|
|
312 ;; l2r' and 'direction 1' with 'direction r2l', then commented everything
|
|
313 ;; out. Copy the definitions as necessary to individual files.
|
|
314
|
|
315 ;; Kbd macro to convert from FSF-style define-charset to our make-charset.
|
|
316
|
|
317 ; (setq last-kbd-macro (read-kbd-macro
|
|
318 ; "<right> M-d make <M-right> M-d <home> <down> TAB '[dimension DEL SPC <M-right> RET TAB chars SPC <M-right> RET TAB columns SPC <M-right> RET TAB direction SPC <M-right> RET TAB final SPC <M-right> RET TAB graphic SPC <M-right> RET TAB short- name SPC <M-right> RET TAB long- name SPC <M-right> RET TAB <S-M-right> <f2> DEL TAB <end> ] <M-left> <end> SPC <f4> 3*<M-left> <left> <M-right> RET <down>"))
|
|
319
|
|
320 ;; Kbd macro to take one registry entry from the list of registry entries,
|
|
321 ;; find the appropriate make-charset call, and add the appropriate registry
|
|
322 ;; property.
|
|
323
|
|
324 ; (setq last-kbd-macro (read-kbd-macro
|
|
325 ; "3*<right> <S-M-right> C-x x 1 <right> <S-M-right> C-x x 2 <home> C-x r m foo RET <M-down> M-x sear TAB for TAB RET C-x g 1 RET C-s dimen RET <end> RET TAB 3*<backspace> registry SPC C-x g 2 C-x r b RET <down>"))
|
|
326
|
|
327 ;; List from FSF international/fontset.el of registries for charsets.
|
|
328
|
|
329 ;; latin-iso8859-1 "ISO8859-1"
|
|
330 ;; latin-iso8859-2 "ISO8859-2"
|
|
331 ;; latin-iso8859-3 "ISO8859-3"
|
|
332 ;; latin-iso8859-4 "ISO8859-4"
|
|
333 ;; thai-tis620 "TIS620"
|
|
334 ;; greek-iso8859-7 "ISO8859-7"
|
|
335 ;; arabic-iso8859-6 "ISO8859-6"
|
|
336 ;; hebrew-iso8859-8 "ISO8859-8"
|
|
337 ;; katakana-jisx0201 "JISX0201"
|
|
338 ;; latin-jisx0201 "JISX0201"
|
|
339 ;; cyrillic-iso8859-5 "ISO8859-5"
|
|
340 ;; latin-iso8859-9 "ISO8859-9"
|
|
341 ;; japanese-jisx0208-1978 "JISX0208.1978"
|
|
342 ;; chinese-gb2312 "GB2312.1980"
|
|
343 ;; japanese-jisx0208 "JISX0208.1990"
|
|
344 ;; korean-ksc5601 "KSC5601.1989"
|
|
345 ;; japanese-jisx0212 "JISX0212"
|
|
346 ;; chinese-cns11643-1 "CNS11643.1992-1"
|
|
347 ;; chinese-cns11643-2 "CNS11643.1992-2"
|
|
348 ;; chinese-cns11643-3 "CNS11643.1992-3"
|
|
349 ;; chinese-cns11643-4 "CNS11643.1992-4"
|
|
350 ;; chinese-cns11643-5 "CNS11643.1992-5"
|
|
351 ;; chinese-cns11643-6 "CNS11643.1992-6"
|
|
352 ;; chinese-cns11643-7 "CNS11643.1992-7"
|
|
353 ;; chinese-big5-1 "Big5"
|
|
354 ;; chinese-big5-2 "Big5"
|
|
355 ;; chinese-sisheng "sisheng_cwnn"
|
|
356 ;; vietnamese-viscii-lower "VISCII1.1"
|
|
357 ;; vietnamese-viscii-upper "VISCII1.1"
|
|
358 ;; arabic-digit "MuleArabic-0"
|
|
359 ;; arabic-1-column "MuleArabic-1"
|
|
360 ;; arabic-2-column "MuleArabic-2"
|
|
361 ;; ipa "MuleIPA"
|
|
362 ;; ethiopic "Ethiopic-Unicode"
|
|
363 ;; ascii-right-to-left "ISO8859-1"
|
|
364 ;; indian-is13194 "IS13194-Devanagari"
|
|
365 ;; indian-2-column "MuleIndian-2"
|
|
366 ;; indian-1-column "MuleIndian-1"
|
|
367 ;; lao "MuleLao-1"
|
|
368 ;; tibetan "MuleTibetan-2"
|
|
369 ;; tibetan-1-column "MuleTibetan-1"
|
|
370 ;; latin-iso8859-14 "ISO8859-14"
|
|
371 ;; latin-iso8859-15 "ISO8859-15"
|
|
372 ;; mule-unicode-0100-24ff "ISO10646-1"
|
|
373 ;; mule-unicode-2500-33ff "ISO10646-1"
|
|
374 ;; mule-unicode-e000-ffff "ISO10646-1"
|
|
375 ;; japanese-jisx0213-1 "JISX0213.2000-1"
|
|
376 ;; japanese-jisx0213-2 "JISX0213.2000-2"
|
|
377
|
|
378 ;;; Begin stuff from international/mule-conf.el.
|
|
379
|
|
380 ; ;;; Definitions of character sets.
|
|
381
|
|
382 ; ;; Basic (official) character sets. These character sets are treated
|
|
383 ; ;; efficiently with respect to buffer memory.
|
|
384
|
|
385 ; ;; Syntax:
|
|
386 ; ;; (define-charset CHARSET-ID CHARSET
|
|
387 ; ;; [ DIMENSION CHARS WIDTH DIRECTION ISO-FINAL-CHAR ISO-GRAPHIC-PLANE
|
|
388 ; ;; SHORT-NAME LONG-NAME DESCRIPTION ])
|
|
389 ; ;; ASCII charset is defined in src/charset.c as below.
|
|
390 ; ;; (define-charset 0 ascii
|
|
391 ; ;; [1 94 1 0 ?B 0 "ASCII" "ASCII" "ASCII (ISO646 IRV)"])
|
|
392
|
|
393 ; ;; 1-byte charsets. Valid range of CHARSET-ID is 128..143.
|
|
394
|
|
395 ; ;; CHARSET-ID 128 is not used.
|
|
396
|
|
397 ; ; An extra level of commenting means an official (done in C) charset.
|
|
398 ; ; (make-charset 'latin-iso8859-1
|
|
399 ; ; "Right-Hand Part of Latin Alphabet 1 (ISO/IEC 8859-1): ISO-IR-100"
|
|
400 ; ; '(dimension
|
|
401 ; ; 1
|
|
402 ; ; registry "ISO8859-1"
|
|
403 ; ; chars 96
|
|
404 ; ; columns 1
|
|
405 ; ; direction l2r
|
|
406 ; ; final ?A
|
|
407 ; ; graphic 1
|
|
408 ; ; short-name "RHP of Latin-1"
|
|
409 ; ; long-name "RHP of Latin-1 (ISO 8859-1): ISO-IR-100"
|
|
410 ; ; ))
|
|
411
|
|
412 ; ; (make-charset 'latin-iso8859-2
|
|
413 ; ; "Right-Hand Part of Latin Alphabet 2 (ISO/IEC 8859-2): ISO-IR-101"
|
|
414 ; ; '(dimension
|
|
415 ; ; 1
|
|
416 ; ; registry "ISO8859-2"
|
|
417 ; ; chars 96
|
|
418 ; ; columns 1
|
|
419 ; ; direction l2r
|
|
420 ; ; final ?B
|
|
421 ; ; graphic 1
|
|
422 ; ; short-name "RHP of Latin-2"
|
|
423 ; ; long-name "RHP of Latin-2 (ISO 8859-2): ISO-IR-101"
|
|
424 ; ; ))
|
|
425
|
|
426 ; ; (make-charset 'latin-iso8859-3
|
|
427 ; ; "Right-Hand Part of Latin Alphabet 3 (ISO/IEC 8859-3): ISO-IR-109"
|
|
428 ; ; '(dimension
|
|
429 ; ; 1
|
|
430 ; ; registry "ISO8859-3"
|
|
431 ; ; chars 96
|
|
432 ; ; columns 1
|
|
433 ; ; direction l2r
|
|
434 ; ; final ?C
|
|
435 ; ; graphic 1
|
|
436 ; ; short-name "RHP of Latin-3"
|
|
437 ; ; long-name "RHP of Latin-3 (ISO 8859-3): ISO-IR-109"
|
|
438 ; ; ))
|
|
439
|
|
440 ; ; (make-charset 'latin-iso8859-4
|
|
441 ; ; "Right-Hand Part of Latin Alphabet 4 (ISO/IEC 8859-4): ISO-IR-110"
|
|
442 ; ; '(dimension
|
|
443 ; ; 1
|
|
444 ; ; registry "ISO8859-4"
|
|
445 ; ; chars 96
|
|
446 ; ; columns 1
|
|
447 ; ; direction l2r
|
|
448 ; ; final ?D
|
|
449 ; ; graphic 1
|
|
450 ; ; short-name "RHP of Latin-4"
|
|
451 ; ; long-name "RHP of Latin-4 (ISO 8859-4): ISO-IR-110"
|
|
452 ; ; ))
|
|
453
|
|
454 ; ; (make-charset 'thai-tis620
|
|
455 ; ; "Right-Hand Part of TIS620.2533 (Thai): ISO-IR-166"
|
|
456 ; ; '(dimension
|
|
457 ; ; 1
|
|
458 ; ; registry "TIS620"
|
|
459 ; ; chars 96
|
|
460 ; ; columns 1
|
|
461 ; ; direction l2r
|
|
462 ; ; final ?T
|
|
463 ; ; graphic 1
|
|
464 ; ; short-name "RHP of TIS620"
|
|
465 ; ; long-name "RHP of Thai (TIS620): ISO-IR-166"
|
|
466 ; ; ))
|
|
467
|
|
468 ; ; (make-charset 'greek-iso8859-7
|
|
469 ; ; "Right-Hand Part of Latin/Greek Alphabet (ISO/IEC 8859-7): ISO-IR-126"
|
|
470 ; ; '(dimension
|
|
471 ; ; 1
|
|
472 ; ; registry "ISO8859-7"
|
|
473 ; ; chars 96
|
|
474 ; ; columns 1
|
|
475 ; ; direction l2r
|
|
476 ; ; final ?F
|
|
477 ; ; graphic 1
|
|
478 ; ; short-name "RHP of ISO8859/7"
|
|
479 ; ; long-name "RHP of Greek (ISO 8859-7): ISO-IR-126"
|
|
480 ; ; ))
|
|
481
|
|
482 ; ; (make-charset 'arabic-iso8859-6
|
|
483 ; ; "Right-Hand Part of Latin/Arabic Alphabet (ISO/IEC 8859-6): ISO-IR-127"
|
|
484 ; ; '(dimension
|
|
485 ; ; 1
|
|
486 ; ; registry "ISO8859-6"
|
|
487 ; ; chars 96
|
|
488 ; ; columns 1
|
|
489 ; ; direction r2l
|
|
490 ; ; final ?G
|
|
491 ; ; graphic 1
|
|
492 ; ; short-name "RHP of ISO8859/6"
|
|
493 ; ; long-name "RHP of Arabic (ISO 8859-6): ISO-IR-127"
|
|
494 ; ; ))
|
|
495
|
|
496 ; ; (make-charset 'hebrew-iso8859-8
|
|
497 ; ; "Right-Hand Part of Latin/Hebrew Alphabet (ISO/IEC 8859-8): ISO-IR-138"
|
|
498 ; ; '(dimension
|
|
499 ; ; 1
|
|
500 ; ; registry "ISO8859-8"
|
|
501 ; ; chars 96
|
|
502 ; ; columns 1
|
|
503 ; ; direction r2l
|
|
504 ; ; final ?H
|
|
505 ; ; graphic 1
|
|
506 ; ; short-name "RHP of ISO8859/8"
|
|
507 ; ; long-name "RHP of Hebrew (ISO 8859-8): ISO-IR-138"
|
|
508 ; ; ))
|
|
509
|
|
510 ; ; (make-charset 'katakana-jisx0201
|
|
511 ; ; "Katakana Part of JISX0201.1976"
|
|
512 ; ; '(dimension
|
|
513 ; ; 1
|
|
514 ; ; registry "JISX0201"
|
|
515 ; ; chars 94
|
|
516 ; ; columns 1
|
|
517 ; ; direction l2r
|
|
518 ; ; final ?I
|
|
519 ; ; graphic 1
|
|
520 ; ; short-name "JISX0201 Katakana"
|
|
521 ; ; long-name "Japanese Katakana (JISX0201.1976)"
|
|
522 ; ; ))
|
|
523
|
|
524 ; ; (make-charset 'latin-jisx0201
|
|
525 ; ; "Roman Part of JISX0201.1976"
|
|
526 ; ; '(dimension
|
|
527 ; ; 1
|
|
528 ; ; registry "JISX0201"
|
|
529 ; ; chars 94
|
|
530 ; ; columns 1
|
|
531 ; ; direction l2r
|
|
532 ; ; final ?J
|
|
533 ; ; graphic 0
|
|
534 ; ; short-name "JISX0201 Roman"
|
|
535 ; ; long-name "Japanese Roman (JISX0201.1976)"
|
|
536 ; ; ))
|
|
537
|
|
538
|
|
539 ; ;; CHARSET-ID is not used 139.
|
|
540
|
|
541 ; ; (make-charset 'cyrillic-iso8859-5
|
|
542 ; ; "Right-Hand Part of Latin/Cyrillic Alphabet (ISO/IEC 8859-5): ISO-IR-144"
|
|
543 ; ; '(dimension
|
|
544 ; ; 1
|
|
545 ; ; registry "ISO8859-5"
|
|
546 ; ; chars 96
|
|
547 ; ; columns 1
|
|
548 ; ; direction l2r
|
|
549 ; ; final ?L
|
|
550 ; ; graphic 1
|
|
551 ; ; short-name "RHP of ISO8859/5"
|
|
552 ; ; long-name "RHP of Cyrillic (ISO 8859-5): ISO-IR-144"
|
|
553 ; ; ))
|
|
554
|
|
555 ; ; (make-charset 'latin-iso8859-9
|
|
556 ; ; "Right-Hand Part of Latin Alphabet 5 (ISO/IEC 8859-9): ISO-IR-148"
|
|
557 ; ; '(dimension
|
|
558 ; ; 1
|
|
559 ; ; registry "ISO8859-9"
|
|
560 ; ; chars 96
|
|
561 ; ; columns 1
|
|
562 ; ; direction l2r
|
|
563 ; ; final ?M
|
|
564 ; ; graphic 1
|
|
565 ; ; short-name "RHP of Latin-5"
|
|
566 ; ; long-name "RHP of Latin-5 (ISO 8859-9): ISO-IR-148"
|
|
567 ; ; ))
|
|
568
|
|
569 ; ; (make-charset 'latin-iso8859-15
|
|
570 ; ; "Right-Hand Part of Latin Alphabet 9 (ISO/IEC 8859-15): ISO-IR-203"
|
|
571 ; ; '(dimension
|
|
572 ; ; 1
|
|
573 ; ; registry "ISO8859-15"
|
|
574 ; ; chars 96
|
|
575 ; ; columns 1
|
|
576 ; ; direction l2r
|
|
577 ; ; final ?b
|
|
578 ; ; graphic 1
|
|
579 ; ; short-name "RHP of Latin-9"
|
|
580 ; ; long-name "RHP of Latin-9 (ISO 8859-15): ISO-IR-203"
|
|
581 ; ; ))
|
|
582
|
|
583 ; (make-charset 'latin-iso8859-14
|
|
584 ; "Right-Hand Part of Latin Alphabet 8 (ISO/IEC 8859-14)"
|
|
585 ; '(dimension
|
|
586 ; 1
|
|
587 ; registry "ISO8859-14"
|
|
588 ; chars 96
|
|
589 ; columns 1
|
|
590 ; direction l2r
|
|
591 ; final ?_
|
|
592 ; graphic 1
|
|
593 ; short-name "RHP of Latin-8"
|
|
594 ; long-name "RHP of Latin-8 (ISO 8859-14)"
|
|
595 ; ))
|
|
596
|
|
597
|
|
598 ; ;; 2-byte charsets. Valid range of CHARSET-ID is 144..153.
|
|
599
|
|
600 ; ; (make-charset 'japanese-jisx0208-1978
|
|
601 ; ; "JISX0208.1978 Japanese Kanji (so called \"old JIS\"): ISO-IR-42"
|
|
602 ; ; '(dimension
|
|
603 ; ; 2
|
|
604 ; ; registry "JISX0208.1990"
|
|
605 ; ; registry "JISX0208.1978"
|
|
606 ; ; chars 94
|
|
607 ; ; columns 2
|
|
608 ; ; direction l2r
|
|
609 ; ; final ?@
|
|
610 ; ; graphic 0
|
|
611 ; ; short-name "JISX0208.1978"
|
|
612 ; ; long-name "JISX0208.1978 (Japanese): ISO-IR-42"
|
|
613 ; ; ))
|
|
614
|
|
615 ; ; (make-charset 'chinese-gb2312
|
|
616 ; ; "GB2312 Chinese simplified: ISO-IR-58"
|
|
617 ; ; '(dimension
|
|
618 ; ; 2
|
|
619 ; ; registry "GB2312.1980"
|
|
620 ; ; chars 94
|
|
621 ; ; columns 2
|
|
622 ; ; direction l2r
|
|
623 ; ; final ?A
|
|
624 ; ; graphic 0
|
|
625 ; ; short-name "GB2312"
|
|
626 ; ; long-name "GB2312: ISO-IR-58"
|
|
627 ; ; ))
|
|
628
|
|
629 ; ; (make-charset 'japanese-jisx0208
|
|
630 ; ; "JISX0208.1983/1990 Japanese Kanji: ISO-IR-87"
|
|
631 ; ; '(dimension
|
|
632 ; ; 2
|
|
633 ; ; chars 94
|
|
634 ; ; columns 2
|
|
635 ; ; direction l2r
|
|
636 ; ; final ?B
|
|
637 ; ; graphic 0
|
|
638 ; ; short-name "JISX0208"
|
|
639 ; ; long-name "JISX0208.1983/1990 (Japanese): ISO-IR-87"
|
|
640 ; ; ))
|
|
641
|
|
642 ; ; (make-charset 'korean-ksc5601
|
|
643 ; ; "KSC5601 Korean Hangul and Hanja: ISO-IR-149"
|
|
644 ; ; '(dimension
|
|
645 ; ; 2
|
|
646 ; ; registry "KSC5601.1989"
|
|
647 ; ; chars 94
|
|
648 ; ; columns 2
|
|
649 ; ; direction l2r
|
|
650 ; ; final ?C
|
|
651 ; ; graphic 0
|
|
652 ; ; short-name "KSC5601"
|
|
653 ; ; long-name "KSC5601 (Korean): ISO-IR-149"
|
|
654 ; ; ))
|
|
655
|
|
656 ; ; (make-charset 'japanese-jisx0212
|
|
657 ; ; "JISX0212 Japanese supplement: ISO-IR-159"
|
|
658 ; ; '(dimension
|
|
659 ; ; 2
|
|
660 ; ; registry "JISX0212"
|
|
661 ; ; chars 94
|
|
662 ; ; columns 2
|
|
663 ; ; direction l2r
|
|
664 ; ; final ?D
|
|
665 ; ; graphic 0
|
|
666 ; ; short-name "JISX0212"
|
|
667 ; ; long-name "JISX0212 (Japanese): ISO-IR-159"
|
|
668 ; ; ))
|
|
669
|
|
670 ; ; (make-charset 'chinese-cns11643-1
|
|
671 ; ; "CNS11643 Plane 1 Chinese traditional: ISO-IR-171"
|
|
672 ; ; '(dimension
|
|
673 ; ; 2
|
|
674 ; ; registry "CNS11643.1992-1"
|
|
675 ; ; chars 94
|
|
676 ; ; columns 2
|
|
677 ; ; direction l2r
|
|
678 ; ; final ?G
|
|
679 ; ; graphic 0
|
|
680 ; ; short-name "CNS11643-1"
|
|
681 ; ; long-name "CNS11643-1 (Chinese traditional): ISO-IR-171"
|
|
682 ; ; ))
|
|
683
|
|
684 ; ; (make-charset 'chinese-cns11643-2
|
|
685 ; ; "CNS11643 Plane 2 Chinese traditional: ISO-IR-172"
|
|
686 ; ; '(dimension
|
|
687 ; ; 2
|
|
688 ; ; registry "CNS11643.1992-2"
|
|
689 ; ; chars 94
|
|
690 ; ; columns 2
|
|
691 ; ; direction l2r
|
|
692 ; ; final ?H
|
|
693 ; ; graphic 0
|
|
694 ; ; short-name "CNS11643-2"
|
|
695 ; ; long-name "CNS11643-2 (Chinese traditional): ISO-IR-172"
|
|
696 ; ; ))
|
|
697
|
|
698 ; (make-charset 'japanese-jisx0213-1 "JISX0213 Plane 1 (Japanese)"
|
|
699 ; '(dimension
|
|
700 ; 2
|
|
701 ; registry "JISX0213.2000-1"
|
|
702 ; chars 94
|
|
703 ; columns 2
|
|
704 ; direction l2r
|
|
705 ; final ?O
|
|
706 ; graphic 0
|
|
707 ; short-name "JISX0213-1"
|
|
708 ; long-name "JISX0213-1"
|
|
709 ; ))
|
|
710
|
|
711 ; ; (make-charset 'chinese-big5-1
|
|
712 ; ; "Frequently used part (A141-C67F) of Big5 (Chinese traditional)"
|
|
713 ; ; '(dimension
|
|
714 ; ; 2
|
|
715 ; ; registry "Big5"
|
|
716 ; ; chars 94
|
|
717 ; ; columns 2
|
|
718 ; ; direction l2r
|
|
719 ; ; final ?0
|
|
720 ; ; graphic 0
|
|
721 ; ; short-name "Big5 (Level-1)"
|
|
722 ; ; long-name "Big5 (Level-1) A141-C67F"
|
|
723 ; ; ))
|
|
724
|
|
725 ; ; (make-charset 'chinese-big5-2
|
|
726 ; ; "Less frequently used part (C940-FEFE) of Big5 (Chinese traditional)"
|
|
727 ; ; '(dimension
|
|
728 ; ; 2
|
|
729 ; ; registry "Big5"
|
|
730 ; ; chars 94
|
|
731 ; ; columns 2
|
|
732 ; ; direction l2r
|
|
733 ; ; final ?1
|
|
734 ; ; graphic 0
|
|
735 ; ; short-name "Big5 (Level-2)"
|
|
736 ; ; long-name "Big5 (Level-2) C940-FEFE"
|
|
737 ; ; ))
|
|
738
|
|
739
|
|
740 ; ;; Additional (private) character sets. These character sets are
|
|
741 ; ;; treated less space-efficiently in the buffer.
|
|
742
|
|
743 ; ;; Syntax:
|
|
744 ; ;; (define-charset CHARSET-ID CHARSET
|
|
745 ; ;; [ DIMENSION CHARS WIDTH DIRECTION ISO-FINAL-CHAR ISO-GRAPHIC-PLANE
|
|
746 ; ;; SHORT-NAME LONG-NAME DESCRIPTION ])
|
|
747
|
|
748 ; ;; ISO-2022 allows a use of character sets not registered in ISO with
|
|
749 ; ;; final characters `0' (0x30) through `?' (0x3F). Among them, Emacs
|
|
750 ; ;; reserves `0' through `9' to support several private character sets.
|
|
751 ; ;; The remaining final characters `:' through `?' are for users.
|
|
752
|
|
753 ; ;; 1-byte 1-column charsets. Valid range of CHARSET-ID is 160..223.
|
|
754
|
|
755 ; (make-charset 'chinese-sisheng
|
|
756 ; "SiSheng characters for PinYin/ZhuYin"
|
|
757 ; '(dimension
|
|
758 ; 1
|
|
759 ; registry "sisheng_cwnn"
|
|
760 ; chars 94
|
|
761 ; columns 1
|
|
762 ; direction l2r
|
|
763 ; final ?0
|
|
764 ; graphic 0
|
|
765 ; short-name "SiSheng"
|
|
766 ; long-name "SiSheng (PinYin/ZhuYin)"
|
|
767 ; ))
|
|
768
|
|
769
|
|
770 ; ;; IPA characters for phonetic symbols.
|
|
771 ; (make-charset 'ipa "IPA (International Phonetic Association)"
|
|
772 ; '(dimension
|
|
773 ; 1
|
|
774 ; registry "MuleIPA"
|
|
775 ; chars 96
|
|
776 ; columns 1
|
|
777 ; direction l2r
|
|
778 ; final ?0
|
|
779 ; graphic 1
|
|
780 ; short-name "IPA"
|
|
781 ; long-name "IPA"
|
|
782 ; ))
|
|
783
|
|
784
|
|
785 ; ;; Vietnamese VISCII. VISCII is 1-byte character set which contains
|
|
786 ; ;; more than 96 characters. Since Emacs can't handle it as one
|
|
787 ; ;; character set, it is divided into two: lower case letters and upper
|
|
788 ; ;; case letters.
|
|
789 ; (make-charset 'vietnamese-viscii-lower "VISCII1.1 lower-case"
|
|
790 ; '(dimension
|
|
791 ; 1
|
|
792 ; registry "VISCII1.1"
|
|
793 ; chars 96
|
|
794 ; columns 1
|
|
795 ; direction l2r
|
|
796 ; final ?1
|
|
797 ; graphic 1
|
|
798 ; short-name "VISCII lower"
|
|
799 ; long-name "VISCII lower-case"
|
|
800 ; ))
|
|
801
|
|
802 ; (make-charset 'vietnamese-viscii-upper "VISCII1.1 upper-case"
|
|
803 ; '(dimension
|
|
804 ; 1
|
|
805 ; registry "VISCII1.1"
|
|
806 ; chars 96
|
|
807 ; columns 1
|
|
808 ; direction l2r
|
|
809 ; final ?2
|
|
810 ; graphic 1
|
|
811 ; short-name "VISCII upper"
|
|
812 ; long-name "VISCII upper-case"
|
|
813 ; ))
|
|
814
|
|
815
|
|
816 ; ;; For Arabic, we need three different types of character sets.
|
|
817 ; ;; Digits are of direction left-to-right and of width 1-column.
|
|
818 ; ;; Others are of direction right-to-left and of width 1-column or
|
|
819 ; ;; 2-column.
|
|
820 ; (make-charset 'arabic-digit "Arabic digit"
|
|
821 ; '(dimension
|
|
822 ; 1
|
|
823 ; registry "MuleArabic-0"
|
|
824 ; chars 94
|
|
825 ; columns 1
|
|
826 ; direction l2r
|
|
827 ; final ?2
|
|
828 ; graphic 0
|
|
829 ; short-name "Arabic digit"
|
|
830 ; long-name "Arabic digit"
|
|
831 ; ))
|
|
832
|
|
833 ; (make-charset 'arabic-1-column "Arabic 1-column"
|
|
834 ; '(dimension
|
|
835 ; 1
|
|
836 ; registry "MuleArabic-1"
|
|
837 ; chars 94
|
|
838 ; columns 1
|
|
839 ; direction r2l
|
|
840 ; final ?3
|
|
841 ; graphic 0
|
|
842 ; short-name "Arabic 1-col"
|
|
843 ; long-name "Arabic 1-column"
|
|
844 ; ))
|
|
845
|
|
846
|
|
847 ; ;; ASCII with right-to-left direction.
|
|
848 ; (make-charset 'ascii-right-to-left
|
|
849 ; "ASCII (left half of ISO 8859-1) with right-to-left direction"
|
|
850 ; '(dimension
|
|
851 ; 1
|
|
852 ; registry "ISO8859-1"
|
|
853 ; chars 94
|
|
854 ; columns 1
|
|
855 ; direction r2l
|
|
856 ; final ?B
|
|
857 ; graphic 0
|
|
858 ; short-name "rev ASCII"
|
|
859 ; long-name "ASCII with right-to-left direction"
|
|
860 ; ))
|
|
861
|
|
862
|
|
863 ; ;; Lao script.
|
|
864 ; ;; ISO10646's 0x0E80..0x0EDF are mapped to 0x20..0x7F.
|
|
865 ; (make-charset 'lao "Lao characters (ISO10646 0E80..0EDF)"
|
|
866 ; '(dimension
|
|
867 ; 1
|
|
868 ; registry "MuleLao-1"
|
|
869 ; chars 94
|
|
870 ; columns 1
|
|
871 ; direction l2r
|
|
872 ; final ?1
|
|
873 ; graphic 0
|
|
874 ; short-name "Lao"
|
|
875 ; long-name "Lao"
|
|
876 ; ))
|
|
877
|
|
878
|
|
879 ; ;; CHARSET-IDs 168..223 are not used.
|
|
880
|
|
881 ; ;; 1-byte 2-column charsets. Valid range of CHARSET-ID is 224..239.
|
|
882
|
|
883 ; (make-charset 'arabic-2-column "Arabic 2-column"
|
|
884 ; '(dimension
|
|
885 ; 1
|
|
886 ; registry "MuleArabic-2"
|
|
887 ; chars 94
|
|
888 ; columns 2
|
|
889 ; direction r2l
|
|
890 ; final ?4
|
|
891 ; graphic 0
|
|
892 ; short-name "Arabic 2-col"
|
|
893 ; long-name "Arabic 2-column"
|
|
894 ; ))
|
|
895
|
|
896
|
|
897 ; ;; Indian scripts. Symbolic charset for data exchange. Glyphs are
|
|
898 ; ;; not assigned. They are automatically converted to each Indian
|
|
899 ; ;; script which IS-13194 supports.
|
|
900
|
|
901 ; (make-charset 'indian-is13194
|
|
902 ; "Generic Indian charset for data exchange with IS 13194"
|
|
903 ; '(dimension
|
|
904 ; 1
|
|
905 ; registry "IS13194-Devanagari"
|
|
906 ; chars 94
|
|
907 ; columns 2
|
|
908 ; direction l2r
|
|
909 ; final ?5
|
|
910 ; graphic 1
|
|
911 ; short-name "IS 13194"
|
|
912 ; long-name "Indian IS 13194"
|
|
913 ; ))
|
|
914
|
|
915
|
|
916 ; ;; CHARSET-IDs 226..239 are not used.
|
|
917
|
|
918 ; ;; 2-byte 1-column charsets. Valid range of CHARSET-ID is 240..244.
|
|
919
|
|
920 ; ;; Actual Glyph for 1-column width.
|
|
921 ; (make-charset 'indian-1-column
|
|
922 ; "Indian charset for 2-column width glyphs"
|
|
923 ; '(dimension
|
|
924 ; 2
|
|
925 ; registry "MuleIndian-1"
|
|
926 ; chars 94
|
|
927 ; columns 1
|
|
928 ; direction l2r
|
|
929 ; final ?6
|
|
930 ; graphic 0
|
|
931 ; short-name "Indian 1-col"
|
|
932 ; long-name "Indian 1 Column"
|
|
933 ; ))
|
|
934
|
|
935
|
|
936 ; (make-charset 'tibetan-1-column "Tibetan 1 column glyph"
|
|
937 ; '(dimension
|
|
938 ; 2
|
|
939 ; registry "MuleTibetan-1"
|
|
940 ; chars 94
|
|
941 ; columns 1
|
|
942 ; direction l2r
|
|
943 ; final ?8
|
|
944 ; graphic 0
|
|
945 ; short-name "Tibetan 1-col"
|
|
946 ; long-name "Tibetan 1 column"
|
|
947 ; ))
|
|
948
|
|
949
|
|
950 ; ;; Subsets of Unicode.
|
|
951
|
|
952 ; (make-charset 'mule-unicode-2500-33ff
|
|
953 ; "Unicode characters of the range U+2500..U+33FF."
|
|
954 ; '(dimension
|
|
955 ; 2
|
|
956 ; registry "ISO10646-1"
|
|
957 ; chars 96
|
|
958 ; columns 1
|
|
959 ; direction l2r
|
|
960 ; final ?2
|
|
961 ; graphic 0
|
|
962 ; short-name "Unicode subset 2"
|
|
963 ; long-name "Unicode subset (U+2500..U+33FF)"
|
|
964 ; ))
|
|
965
|
|
966
|
|
967 ; (make-charset 'mule-unicode-e000-ffff
|
|
968 ; "Unicode characters of the range U+E000..U+FFFF."
|
|
969 ; '(dimension
|
|
970 ; 2
|
|
971 ; registry "ISO10646-1"
|
|
972 ; chars 96
|
|
973 ; columns 1
|
|
974 ; direction l2r
|
|
975 ; final ?3
|
|
976 ; graphic 0
|
|
977 ; short-name "Unicode subset 3"
|
|
978 ; long-name "Unicode subset (U+E000+FFFF)"
|
|
979 ; ))
|
|
980
|
|
981
|
|
982 ; (make-charset 'mule-unicode-0100-24ff
|
|
983 ; "Unicode characters of the range U+0100..U+24FF."
|
|
984 ; '(dimension
|
|
985 ; 2
|
|
986 ; registry "ISO10646-1"
|
|
987 ; chars 96
|
|
988 ; columns 1
|
|
989 ; direction l2r
|
|
990 ; final ?1
|
|
991 ; graphic 0
|
|
992 ; short-name "Unicode subset"
|
|
993 ; long-name "Unicode subset (U+0100..U+24FF)"
|
|
994 ; ))
|
|
995
|
|
996
|
|
997 ; ;; 2-byte 2-column charsets. Valid range of CHARSET-ID is 245..254.
|
|
998
|
|
999 ; ;; Ethiopic characters (Amahric and Tigrigna).
|
|
1000 ; (make-charset 'ethiopic "Ethiopic characters"
|
|
1001 ; '(dimension
|
|
1002 ; 2
|
|
1003 ; registry "Ethiopic-Unicode"
|
|
1004 ; chars 94
|
|
1005 ; columns 2
|
|
1006 ; direction l2r
|
|
1007 ; final ?3
|
|
1008 ; graphic 0
|
|
1009 ; short-name "Ethiopic"
|
|
1010 ; long-name "Ethiopic characters"
|
|
1011 ; ))
|
|
1012
|
|
1013
|
|
1014 ; ;; Chinese CNS11643 Plane3 thru Plane7. Although these are official
|
|
1015 ; ;; character sets, the use is rare and don't have to be treated
|
|
1016 ; ;; space-efficiently in the buffer.
|
|
1017 ; (make-charset 'chinese-cns11643-3
|
|
1018 ; "CNS11643 Plane 3 Chinese Traditional: ISO-IR-183"
|
|
1019 ; '(dimension
|
|
1020 ; 2
|
|
1021 ; registry "CNS11643.1992-3"
|
|
1022 ; chars 94
|
|
1023 ; columns 2
|
|
1024 ; direction l2r
|
|
1025 ; final ?I
|
|
1026 ; graphic 0
|
|
1027 ; short-name "CNS11643-3"
|
|
1028 ; long-name "CNS11643-3 (Chinese traditional): ISO-IR-183"
|
|
1029 ; ))
|
|
1030
|
|
1031 ; (make-charset 'chinese-cns11643-4
|
|
1032 ; "CNS11643 Plane 4 Chinese Traditional: ISO-IR-184"
|
|
1033 ; '(dimension
|
|
1034 ; 2
|
|
1035 ; registry "CNS11643.1992-4"
|
|
1036 ; chars 94
|
|
1037 ; columns 2
|
|
1038 ; direction l2r
|
|
1039 ; final ?J
|
|
1040 ; graphic 0
|
|
1041 ; short-name "CNS11643-4"
|
|
1042 ; long-name "CNS11643-4 (Chinese traditional): ISO-IR-184"
|
|
1043 ; ))
|
|
1044
|
|
1045 ; (make-charset 'chinese-cns11643-5
|
|
1046 ; "CNS11643 Plane 5 Chinese Traditional: ISO-IR-185"
|
|
1047 ; '(dimension
|
|
1048 ; 2
|
|
1049 ; registry "CNS11643.1992-5"
|
|
1050 ; chars 94
|
|
1051 ; columns 2
|
|
1052 ; direction l2r
|
|
1053 ; final ?K
|
|
1054 ; graphic 0
|
|
1055 ; short-name "CNS11643-5"
|
|
1056 ; long-name "CNS11643-5 (Chinese traditional): ISO-IR-185"
|
|
1057 ; ))
|
|
1058
|
|
1059 ; (make-charset 'chinese-cns11643-6
|
|
1060 ; "CNS11643 Plane 6 Chinese Traditional: ISO-IR-186"
|
|
1061 ; '(dimension
|
|
1062 ; 2
|
|
1063 ; registry "CNS11643.1992-6"
|
|
1064 ; chars 94
|
|
1065 ; columns 2
|
|
1066 ; direction l2r
|
|
1067 ; final ?L
|
|
1068 ; graphic 0
|
|
1069 ; short-name "CNS11643-6"
|
|
1070 ; long-name "CNS11643-6 (Chinese traditional): ISO-IR-186"
|
|
1071 ; ))
|
|
1072
|
|
1073 ; (make-charset 'chinese-cns11643-7
|
|
1074 ; "CNS11643 Plane 7 Chinese Traditional: ISO-IR-187"
|
|
1075 ; '(dimension
|
|
1076 ; 2
|
|
1077 ; registry "CNS11643.1992-7"
|
|
1078 ; chars 94
|
|
1079 ; columns 2
|
|
1080 ; direction l2r
|
|
1081 ; final ?M
|
|
1082 ; graphic 0
|
|
1083 ; short-name "CNS11643-7"
|
|
1084 ; long-name "CNS11643-7 (Chinese traditional): ISO-IR-187"
|
|
1085 ; ))
|
|
1086
|
|
1087
|
|
1088 ; ;; Actual Glyph for 2-column width.
|
|
1089 ; (make-charset 'indian-2-column
|
|
1090 ; "Indian charset for 2-column width glyphs"
|
|
1091 ; '(dimension
|
|
1092 ; 2
|
|
1093 ; registry "MuleIndian-2"
|
|
1094 ; chars 94
|
|
1095 ; columns 2
|
|
1096 ; direction l2r
|
|
1097 ; final ?5
|
|
1098 ; graphic 0
|
|
1099 ; short-name "Indian 2-col"
|
|
1100 ; long-name "Indian 2 Column"
|
|
1101 ; ))
|
|
1102
|
|
1103
|
|
1104 ; ;; Tibetan script.
|
|
1105 ; (make-charset 'tibetan "Tibetan characters"
|
|
1106 ; '(dimension
|
|
1107 ; 2
|
|
1108 ; registry "MuleTibetan-2"
|
|
1109 ; chars 94
|
|
1110 ; columns 2
|
|
1111 ; direction l2r
|
|
1112 ; final ?7
|
|
1113 ; graphic 0
|
|
1114 ; short-name "Tibetan 2-col"
|
|
1115 ; long-name "Tibetan 2 column"
|
|
1116 ; ))
|
|
1117
|
|
1118
|
|
1119 ; ;; CHARSET-ID 253 is not used.
|
|
1120
|
|
1121 ; ;; JISX0213 Plane 2
|
|
1122 ; (make-charset 'japanese-jisx0213-2 "JISX0213 Plane 2 (Japanese)"
|
|
1123 ; '(dimension
|
|
1124 ; 2
|
|
1125 ; registry "JISX0213.2000-2"
|
|
1126 ; chars 94
|
|
1127 ; columns 2
|
|
1128 ; direction l2r
|
|
1129 ; final ?P
|
|
1130 ; graphic 0
|
|
1131 ; short-name "JISX0213-2"
|
|
1132 ; long-name "JISX0213-2"
|
|
1133 ; ))
|
|
1134
|
428
|
1135 ;;; mule-charset.el ends here
|
778
|
1136
|