diff options
| author | Po Lu | 2024-08-05 09:34:11 +0800 |
|---|---|---|
| committer | Po Lu | 2024-08-05 09:34:17 +0800 |
| commit | 1c7e00f4f653cf3d30006cefe6568227dcb91c60 (patch) | |
| tree | abfd9e3355088eb9b18c80067d7139919983cd4f | |
| parent | b89d65df5fad102aa6abf0285d31b0abd148c907 (diff) | |
| download | emacs-1c7e00f4f653cf3d30006cefe6568227dcb91c60.tar.gz emacs-1c7e00f4f653cf3d30006cefe6568227dcb91c60.zip | |
Also condition cjk-misc font-spec on Android
* lisp/international/fontset.el (setup-default-fontset)
<cjk-misc>: Don't search for matching scripts elsewhere than on
Android.
| -rw-r--r-- | lisp/international/fontset.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index d60349e05e3..b52ac1994c2 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el | |||
| @@ -724,7 +724,9 @@ | |||
| 724 | ;; This is required, as otherwise many TrueType fonts | 724 | ;; This is required, as otherwise many TrueType fonts |
| 725 | ;; with CJK characters but no corresponding ``design | 725 | ;; with CJK characters but no corresponding ``design |
| 726 | ;; language'' declaration can't be found. | 726 | ;; language'' declaration can't be found. |
| 727 | ,(font-spec :registry "iso10646-1" :script 'cjk-misc)) | 727 | ,@(and (featurep 'android) |
| 728 | (list (font-spec :registry "iso10646-1" | ||
| 729 | :script 'cjk-misc)))) | ||
| 728 | 730 | ||
| 729 | (hangul (nil . "KSC5601.1987-0") | 731 | (hangul (nil . "KSC5601.1987-0") |
| 730 | ,(font-spec :registry "iso10646-1" :lang 'ko)) | 732 | ,(font-spec :registry "iso10646-1" :lang 'ko)) |