/[emacs]/emacs/lisp/language/indian.el
ViewVC logotype

Diff of /emacs/lisp/language/indian.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.24.4.2 by handa, Fri Apr 16 12:50:30 2004 UTC revision 1.24.4.3 by miles, Fri Oct 22 10:13:52 2004 UTC
# Line 45  Line 45 
45  Currently supported foundries are `cdac' and `akruti'.")  Currently supported foundries are `cdac' and `akruti'.")
46    
47  (defvar indian-script-language-alist  (defvar indian-script-language-alist
48      '((devanagari (hindi sanskrit) nil)
49        (bengali (bengali assamese) nil)
50        (gurmukhi (punjabi) nil)
51        (gujarati (gujarati) nil)
52        (oriya (oriya) nil)
53        (tamil (tamil) nil)
54        (telugu (telugu) nil)
55        (kannada (kannada) nil)
56        (malayalam (malayalam) nil))
57    "Alist of Indian scripts vs the corresponding language list and font foundry.    "Alist of Indian scripts vs the corresponding language list and font foundry.
58  Each element has this form:  Each element has this form:
59    
# Line 57  The list is in the priority order. Line 66  The list is in the priority order.
66    
67  FONT-FOUNDRY is a font foundry representing a group of Indian  FONT-FOUNDRY is a font foundry representing a group of Indian
68  fonts.  If the value is nil, the value of `indian-font-foundry'  fonts.  If the value is nil, the value of `indian-font-foundry'
69  is used."  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)))  
70    
71  (defconst indian-font-char-index-table  (defconst indian-font-char-index-table
72    '(                                    ; for which language(s)    '(                                    ; for which language(s)
# Line 94  is used." Line 94  is used."
94      (#x1200 . akruti:knd)               ; kannada      (#x1200 . akruti:knd)               ; kannada
95      (#x1300 . akruti:mal)               ; malayalam      (#x1300 . akruti:mal)               ; malayalam
96      )      )
97    "Aliat of indices of `indian-glyph' character vs Indian font identifiers.    "Alist of indices of `indian-glyph' character vs Indian font identifiers.
98  Each element has this form: (INDEX . FONT-IDENTIFIER)  Each element has this form: (INDEX . FONT-IDENTIFIER)
99    
100  INDEX is an index number of the first character in the charset  INDEX is an index number of the first character in the charset
101  `indian-glyph' assigned for glyphs in the font specified by  `indian-glyph' assigned for glyphs in the font specified by
102  FONT-IDENTIFIER.  Currently FONT-IDENTIFIERs are defined for CDAC  FONT-IDENTIFIER.  Currently FONT-IDENTIFIERs are defined for CDAC
103  and AKRUTI font groups.")  and AKRUTI font groups.")
104      
105  (defun indian-font-char (index font-identifier)  (defun indian-font-char (index font-identifier)
106    "Return character of charset `indian-glyph' made from glyph index INDEX.    "Return character of charset `indian-glyph' made from glyph index INDEX.
107  FONT-IDENTIFIER is an identifier of an Indian font listed in the  FONT-IDENTIFIER is an identifier of an Indian font listed in the
# Line 122  font INDEX is for." Line 122  font INDEX is for."
122  (defun indian-font-char-range (font-identifier)  (defun indian-font-char-range (font-identifier)
123    (cons (indian-font-char 0 font-identifier)    (cons (indian-font-char 0 font-identifier)
124          (indian-font-char 255 font-identifier)))          (indian-font-char 255 font-identifier)))
125            
126  (defvar indian-script-table  (defvar indian-script-table
127    '[    '[
128      devanagari      devanagari

Legend:
Removed from v.1.24.4.2  
changed lines
  Added in v.1.24.4.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26