emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master bf0aeaa0d7a: Re-enable displaying `han' characters on Android


From: Benjamin Riefenstahl
Subject: Re: master bf0aeaa0d7a: Re-enable displaying `han' characters on Android
Date: Fri, 02 Aug 2024 12:44:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Hi there,

Po Lu writes:
> (let ((script-representative-chars
>        '((han #x2e90 #x2f00 #x3010 #x3200 #x3300 #x3400
>             #x31c0 #x4e10 #x5B57 #xfe30 #xf900
>             #x1f210 #x20000 #x2a700 #x2b740 #x2b820 #x2ceb0 #x2f804))))
>   (clear-font-cache)
>   (find-font (font-spec :registry "iso10646-1" :script 'han
>                         :type 'xfthb))) ;; or another ftfont backend.
>
> returns no font on an up-to-date Fedora Workstation installation with a
> wealth of multilingual fonts for CJK scripts, whereas:
>
> (let ((script-representative-chars
>        '((han #x2e90 #x2f00 #x3010 #x3200 #x3300 #x3400
>             #x31c0 #x4e10 #x5B57 #xfe30 #xf900))))
>   (clear-font-cache)
>   (find-font (font-spec :registry "iso10646-1" :script 'han
>                         :type 'xfthb)))
>
> returns:
>
> #<font-entity xfthb ADBO Noto\ Sans\ CJK\ HK nil iso10646-1 medium normal 
> normal 0 nil nil 0>

FTR, for me these both return (with the backend ftcrhb):

#<font-entity ftcrhb GOOG Noto\ Sans\ CJK\ KR nil iso10646-1 regular
 normal normal 0 nil nil 0>

This is on "Debian GNU/Linux 12 (bookworm)".

benny



reply via email to

[Prev in Thread] Current Thread [Next in Thread]