summaryrefslogtreecommitdiff
path: root/lisp/language
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2007-12-25 11:03:30 +0000
committerKenichi Handa <handa@m17n.org>2007-12-25 11:03:30 +0000
commitfde03aacb4634020449fcf28c4ea6b2028633a05 (patch)
treed9683091a2c502b7cbe5824cb33e4de4c9d5692a /lisp/language
parentba6c24f0c45d24781790f3671f7b2b523d9fdba5 (diff)
downloademacs-fde03aacb4634020449fcf28c4ea6b2028633a05.tar.gz
Register font-shape-text in composition-function-table.
Diffstat (limited to 'lisp/language')
-rw-r--r--lisp/language/lao.el10
-rw-r--r--lisp/language/malayalam.el3
-rw-r--r--lisp/language/tamil.el2
3 files changed, 8 insertions, 7 deletions
diff --git a/lisp/language/lao.el b/lisp/language/lao.el
index e9b62efacd5..546986a4722 100644
--- a/lisp/language/lao.el
+++ b/lisp/language/lao.el
@@ -47,10 +47,12 @@
(documentation . t)))
;; For automatic composition.
-(let ((chars "(1QTUVWXY[\hijklm(B"))
- (dotimes (i (length chars))
- (aset composition-function-table (aref chars i)
- 'lao-composition-function)))
+;; (let ((chars "(1QTUVWXY[\hijklm(B"))
+;; (dotimes (i (length chars))
+;; (aset composition-function-table (aref chars i)
+;; 'lao-composition-function)))
+(set-char-table-range composition-function-table '(#xE80 . #xEDF)
+ '(("[\xE80-\xEDF]+" . font-shape-text)))
(provide 'lao)
diff --git a/lisp/language/malayalam.el b/lisp/language/malayalam.el
index 1b7038936a6..b5ef9692313 100644
--- a/lisp/language/malayalam.el
+++ b/lisp/language/malayalam.el
@@ -43,8 +43,7 @@ South Indian language Malayalam is supported in this language environment."))
;; For automatic composition.
(set-char-table-range composition-function-table '(#x0d00 . #x0d7f)
- 'malayalam-composition-function)
-
+ '(("[\x0D00-\x0D7F]+" . font-shape-text)))
(provide 'malayalam)
diff --git a/lisp/language/tamil.el b/lisp/language/tamil.el
index fcb7f8f5774..1eb659e4521 100644
--- a/lisp/language/tamil.el
+++ b/lisp/language/tamil.el
@@ -40,7 +40,7 @@ South Indian Language Tamil supported in this language environment."))
;; For automatic composition.
(set-char-table-range composition-function-table '(#x0b80 . #x0bff)
- 'tamil-composition-function)
+ '(("[\x0B80-\x0BFF]+" . font-shape-text)))
(provide 'tamil)
;;; arch-tag: 2201ac78-7d1e-4674-9bcb-9923c7a2bd9c