From: Kenichi Handa Date: Mon, 1 Sep 2003 11:15:22 +0000 (+0000) Subject: (setup-default-fontset): For Thai font, specify "*" family. X-Git-Tag: ttn-vms-21-2-B4~8936 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=804ad4c9a84a339c3ae6695a45dda32f44ec3e36;p=emacs.git (setup-default-fontset): For Thai font, specify "*" family. --- diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index ab59266965c..4421276f803 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el @@ -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"))