From c97db4e4de8246cdac2bcd013b230b058c8790ec Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Thu, 4 Oct 2001 17:14:53 +0000 Subject: [PATCH] (face-font-registry-alternatives) [windows-nt]: Make gb2312 an alias for gb2312.1980. --- lisp/faces.el | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/lisp/faces.el b/lisp/faces.el index 9b52c03ab7e..822a7bbf686 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -79,10 +79,15 @@ ALTERNATIVE2 etc." ;; This is defined originally in xfaces.c. (defcustom face-font-registry-alternatives - '(("gb2312.1980" "gb2312.80&gb8565.88" "gbk*") - ("jisx0208.1990" "jisx0208.1983" "jisx0208.1978") - ("ksc5601.1989" "ksx1001.1992" "ksc5601.1987") - ("muletibetan-2" "muletibetan-0")) + (if (eq system-type 'windows-nt) + '(("gb2312.1980" "gb2312") + ("jisx0208.1990" "jisx0208.1983" "jisx0208.1978") + ("ksc5601.1989" "ksx1001.1992" "ksc5601.1987") + ("muletibetan-2" "muletibetan-0")) + '(("gb2312.1980" "gb2312.80&gb8565.88" "gbk*") + ("jisx0208.1990" "jisx0208.1983" "jisx0208.1978") + ("ksc5601.1989" "ksx1001.1992" "ksc5601.1987") + ("muletibetan-2" "muletibetan-0"))) "*Alist of alternative font registry names. Each element has the the form (REGISTRY ALTERNATIVE1 ALTERNATIVE2 ...). If fonts of registry REGISTRY can be loaded, font selection -- 2.39.2