;; :code-space [128 255]
;; :code-offset #x3FFF80)
;;
+;; (define-charset 'eight-bit
+;; ""
+;; :dimension 1
+;; :code-space [128 255]
+;; :code-offset #x3FFF80)
+;;
;; We now set :docstring, :short-name, and :long-name properties.
(put-charset-property
:unify-map "is13194"
:code-offset #x180000)
+(define-charset 'devanagari-glyph
+ "Glyphs for Devanagari script. Subset of `indian-glyph'."
+ :short-name "Devanagari glyph"
+ :code-space [0 255]
+ :code-offset #x180100)
+
+;; These would be necessary for supporting the complete set of Indian
+;; scripts. See also fontset.el.
+
+;; (let ((i 0))
+;; (dolist (script '(sanskrit bengali tamil telugu assamese
+;; oriya kannada malayalam gujarati punjabi))
+;; (define-charset (intern (concat (symbol-name script) "-glyph"))
+;; (concat "Glyphs for " (capitalize (symbol-name script))
+;; " script. Subset of `indian-glyph'.")
+;; :short-name (concat (capitalize (symbol-name script)) " glyph")
+;; :code-space [0 255]
+;; :code-offset (+ #x180100 (* 256 i)))
+;; (setq i (1+ i))))
+
(define-charset 'indian-glyph
"Glyphs for Indian characters."
:short-name "Indian glyph"
:code-space [32 127 32 127]
:code-offset #x180100)
-(define-charset 'devanagari-glyph
- "Glyphs for Devanagari script. Subset of `indian-glyph'."
- :short-name "Devanagari glyph"
- :code-space [0 255]
- :code-offset #x180100)
-
-
;; Actual Glyph for 1-column width.
(define-charset 'indian-1-column
"Indian charset for 1-column width glyphs"
:code-space [0 255 0 255]
:subset '(unicode 0 #xFFFF 0))
+(define-charset 'unicode-bmp
+ "Unicode Basic Multilingual Plane"
+ :short-name "Unicode BMP"
+ :code-space [0 255 0 255]
+ :subset '(unicode 0 #xFFFF 0))
+
(define-charset 'ethiopic
"Ethiopic characters for Amharic and Tigrigna."
:short-name "Ethiopic"
(define-coding-system 'iso-latin-1
"ISO 2022 based 8-bit encoding for Latin-1 (MIME:ISO-8859-1)."
- :coding-type 'iso-2022
+ :coding-type 'charset
:mnemonic ?1
- :charset-list '(ascii latin-iso8859-1)
- :designation [ascii latin-iso8859-1 nil nil]
+ :charset-list '(iso-8859-1)
:mime-charset 'iso-8859-1)
(define-coding-system-alias 'iso-8859-1 'iso-latin-1)
(define-coding-system 'emacs-mule
"Emacs 21 internal format used in buffer and string."
:coding-type 'emacs-mule
- :charset-list 'emacs-mule
:mnemonic ?M)
(define-coding-system 'utf-8
"ISO 2022 based 7-bit encoding using only G0."
:coding-type 'iso-2022
:mnemonic ?J
- :charset-list 'iso-2022
:designation [(ascii t) nil nil nil]
:flags '(short ascii-at-eol ascii-at-cntl 7-bit designation composition))
"ISO 2022 based 7-bit encoding using SS2 for 96-charset."
:coding-type 'iso-2022
:mnemonic ?$
- :charset-list 'iso-2022
:designation [(ascii 94) nil (nil 96) nil]
:flags '(short ascii-at-eol ascii-at-cntl 7-bit
designation single-shift composition))
"ISO-2022 coding system using Locking-Shift for 96-charset."
:coding-type 'iso-2022
:mnemonic ?&
- :charset-list 'iso-2022
:designation [(ascii 94) (nil 96) nil nil]
:flags '(ascii-at-eol ascii-at-cntl 7-bit
designation locking-shift composition))
"ISO 2022 based 8-bit encoding using SS2 for 96-charset."
:coding-type 'iso-2022
:mnemonic ?@
- :charset-list 'iso-2022
:designation [(ascii 94) nil (nil 96) nil]
:flags '(ascii-at-eol ascii-at-cntl designation single-shift composition))
This coding system does not support ICCCM Extended Segments."
:coding-type 'iso-2022
:mnemonic ?x
- :charset-list 'iso-2022
:designation [(ascii 94) (latin-iso8859-1 katakana-jisx0201 96) nil nil]
:flags '(ascii-at-eol ascii-at-cntl
designation locking-shift single-shift composition)
Like `compound-text', but does not produce escape sequences for compositions."
:coding-type 'iso-2022
:mnemonic ?x
- :charset-list 'iso-2022
:designation [(ascii 94) (latin-iso8859-1 katakana-jisx0201 96) nil nil]
:flags '(ascii-at-eol ascii-at-cntl
designation locking-shift single-shift))