Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f9c237ea
Commit
f9c237ea
authored
Oct 16, 2004
by
Kim F. Storm
Browse files
(indian-script-language-alist): Swap value and doc.
(indian-font-char-index-table): Doc fix.
parent
690987a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
lisp/language/indian.el
lisp/language/indian.el
+13
-13
No files found.
lisp/language/indian.el
View file @
f9c237ea
...
...
@@ -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 @@ The list is in the priority order.
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 @@ is used."
(
#x1200
.
akruti:knd
)
; kannada
(
#x1300
.
akruti:mal
)
; malayalam
)
"Ali
a
t of indices of `indian-glyph' character vs Indian font identifiers.
"Ali
s
t 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 @@ font INDEX is for."
(
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment