changeset 91156:d5ce4acff895

(otf-script-alist): Make all otf tags 4-letters. (setup-default-fontset): Add OpenType fonts for devanagari and tamil.
author Kenichi Handa <handa@m17n.org>
date Sat, 01 Dec 2007 04:22:41 +0000
parents 95c0d1ad721f
children 802b6e379f0d
files lisp/international/fontset.el
diffstat 1 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/fontset.el	Sat Dec 01 04:21:04 2007 +0000
+++ b/lisp/international/fontset.el	Sat Dec 01 04:22:41 2007 +0000
@@ -191,7 +191,7 @@
 	(knda . kannada)
 	(khar . kharoshthi)
 	(khmr . khmer)
-	(lao  . lao)
+	(lao\  . lao)
 	(latn . latin)
 	(limb . limbu)
 	(linb . linear_b)
@@ -200,7 +200,7 @@
 	(mong . mongolian)
 	(musc . musical-symbol)
 	(mymr . myanmar)
-	(nko  . nko)
+	(nko\  . nko)
 	(ogam . ogham)
 	(ital . old_italic)
 	(xpeo . old_persian)
@@ -223,7 +223,7 @@
 	(tibt . tibetan)
 	(tfng . tifinagh)
 	(ugar . ugaritic)
-	(yi   . yi)))
+	(yi\ \   . yi)))
 
 ;; Set standard fontname specification of characters in the default
 ;; fontset to find an appropriate font for each script/charset.  The
@@ -249,7 +249,7 @@
   "Setup the default fontset."
   (new-fontset
    "fontset-default"
-   '(;; for each script
+   `(;; for each script
      (latin (nil . "ISO8859-1")
 	    (nil . "ISO8859-2")
 	    (nil . "ISO8859-3")
@@ -264,7 +264,9 @@
      (thai (nil . "TIS620*")
 	   (nil . "ISO8859-11"))
 
-     (devanagari (nil . "iso10646.indian-1"))
+     (devanagari ,(font-spec :registry "iso10646-1" :otf '(deva nil (rphf)))
+		 (nil . "iso10646.indian-1"))
+     (tamil ,(font-spec :registry "iso10646-1" :otf '(taml nil (akhn))))
 
      (lao  (nil . "MuleLao-1"))