Mercurial > emacs
changeset 57537:b9687fdf909d
(indian-script-language-alist): Swap value and doc.
(indian-font-char-index-table): Doc fix.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sat, 16 Oct 2004 23:25:39 +0000 |
parents | 6d4a00278f5e |
children | 6f85a547ab10 |
files | lisp/language/indian.el |
diffstat | 1 files changed, 13 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/language/indian.el Sat Oct 16 23:25:27 2004 +0000 +++ b/lisp/language/indian.el Sat Oct 16 23:25:39 2004 +0000 @@ -50,6 +50,15 @@ Currently supported foundries are `cdac' and `akruti'.") (defvar indian-script-language-alist + '((devanagari (hindi sanskrit) nil) + (bengali (bengali assamese) nil) + (gurmukhi (punjabi) nil) + (gujarati (gujarati) nil) + (oriya (oriya) nil) + (tamil (tamil) nil) + (telugu (telugu) nil) + (kannada (kannada) nil) + (malayalam (malayalam) nil)) "Alist of Indian scripts vs the corresponding language list and font foundry. Each element has this form: @@ -62,16 +71,7 @@ FONT-FOUNDRY is a font foundry representing a group of Indian fonts. If the value is nil, the value of `indian-font-foundry' -is used." - '((devanagari (hindi sanskrit) nil) - (bengali (bengali assamese) nil) - (gurmukhi (punjabi) nil) - (gujarati (gujarati) nil) - (oriya (oriya) nil) - (tamil (tamil) nil) - (telugu (telugu) nil) - (kannada (kannada) nil) - (malayalam (malayalam) nil))) +is used.") (defconst indian-font-char-index-table '( ; for which language(s) @@ -99,14 +99,14 @@ (#x1200 . akruti:knd) ; kannada (#x1300 . akruti:mal) ; malayalam ) - "Aliat of indices of `indian-glyph' character vs Indian font identifiers. + "Alist of indices of `indian-glyph' character vs Indian font identifiers. Each element has this form: (INDEX . FONT-IDENTIFIER) INDEX is an index number of the first character in the charset `indian-glyph' assigned for glyphs in the font specified by FONT-IDENTIFIER. Currently FONT-IDENTIFIERs are defined for CDAC and AKRUTI font groups.") - + (defun indian-font-char (index font-identifier) "Return character of charset `indian-glyph' made from glyph index INDEX. FONT-IDENTIFIER is an identifier of an Indian font listed in the @@ -127,7 +127,7 @@ (defun indian-font-char-range (font-identifier) (cons (indian-font-char 0 font-identifier) (indian-font-char 255 font-identifier))) - + (defvar indian-script-table '[ devanagari