From: Po Lu Date: Mon, 5 Aug 2024 01:34:11 +0000 (+0800) Subject: Also condition cjk-misc font-spec on Android X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ff224faf21b0f0bba3236b106a359f691852de49;p=emacs.git Also condition cjk-misc font-spec on Android * lisp/international/fontset.el (setup-default-fontset) : Don't search for matching scripts elsewhere than on Android. (cherry picked from commit 1c7e00f4f653cf3d30006cefe6568227dcb91c60) --- diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index c9b60418b22..a4456d31cf9 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el @@ -726,7 +726,9 @@ ;; This is required, as otherwise many TrueType fonts ;; with CJK characters but no corresponding ``design ;; language'' declaration can't be found. - ,(font-spec :registry "iso10646-1" :script 'cjk-misc)) + ,@(and (featurep 'android) + (list (font-spec :registry "iso10646-1" + :script 'cjk-misc)))) (hangul (nil . "KSC5601.1987-0") ,(font-spec :registry "iso10646-1" :lang 'ko))