[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
setup-default-fontset
From: |
Eli Zaretskii |
Subject: |
setup-default-fontset |
Date: |
Sat, 03 Aug 2024 19:00:50 +0300 |
The Android specific trick in this function, viz.:
(han (nil . "GB2312.1980-0")
(nil . "JISX0208*")
(nil . "JISX0212*")
(nil . "big5*")
(nil . "KSC5601.1987*")
(nil . "CNS11643.1992-1")
(nil . "CNS11643.1992-2")
(nil . "CNS11643.1992-3")
(nil . "CNS11643.1992-4")
(nil . "CNS11643.1992-5")
(nil . "CNS11643.1992-6")
(nil . "CNS11643.1992-7")
(nil . "gbk-0")
(nil . "gb18030")
(nil . "JISX0213.2000-1")
(nil . "JISX0213.2000-2")
(nil . "JISX0213.2004-1")
,(font-spec :registry "iso10646-1" :lang 'ja)
,(font-spec :registry "iso10646-1" :lang 'zh)
;; This is required on Android, as otherwise many TrueType
;; fonts with CJK characters but no corresponding ``design
;; language'' declaration can't be found.
,@(and (featurep 'android)
(list (font-spec :registry "iso10646-1" :script 'han))))
Should also be done for cjk-misc, right? Because that still says
;; 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))
not conditioned by Android.
- setup-default-fontset,
Eli Zaretskii <=