changeset 52396:1acdbb1fae7d

(setup-default-fontset): For Thai font, specify "*" family.
author Kenichi Handa <handa@m17n.org>
date Mon, 01 Sep 2003 11:15:22 +0000
parents 7a69310b90d0
children bfab43c0bcea
files lisp/international/fontset.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/fontset.el	Mon Sep 01 05:47:12 2003 +0000
+++ b/lisp/international/fontset.el	Mon Sep 01 11:15:22 2003 +0000
@@ -47,7 +47,10 @@
 	     (latin-iso8859-2 . (nil . "ISO8859-2"))
 	     (latin-iso8859-3 . (nil . "ISO8859-3"))
 	     (latin-iso8859-4 . (nil . "ISO8859-4"))
-	     (thai-tis620 . (nil . "TIS620"))
+	     ;; Setting "*" family is for a workaround of the problem
+	     ;; that a font of wrong size is preferred if the font
+	     ;; family matches with a requested one.
+	     (thai-tis620 . ("*" . "TIS620"))
 	     (greek-iso8859-7 . (nil . "ISO8859-7"))
 	     (arabic-iso8859-6 . (nil . "ISO8859-6"))
 	     (hebrew-iso8859-8 . (nil . "ISO8859-8"))