* setup-default-fontset
@ 2024-08-03 16:00 Eli Zaretskii
2024-08-05 1:32 ` setup-default-fontset Po Lu
0 siblings, 1 reply; 2+ messages in thread
From: Eli Zaretskii @ 2024-08-03 16:00 UTC (permalink / raw)
To: Po Lu; +Cc: emacs-devel
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: setup-default-fontset
2024-08-03 16:00 setup-default-fontset Eli Zaretskii
@ 2024-08-05 1:32 ` Po Lu
0 siblings, 0 replies; 2+ messages in thread
From: Po Lu @ 2024-08-05 1:32 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
Eli Zaretskii <eliz@gnu.org> writes:
> 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.
Right, now done.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-05 1:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-03 16:00 setup-default-fontset Eli Zaretskii
2024-08-05 1:32 ` setup-default-fontset Po Lu
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).