From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Benjamin Riefenstahl Newsgroups: gmane.emacs.devel Subject: Re: master bf0aeaa0d7a: Re-enable displaying `han' characters on Android Date: Fri, 02 Aug 2024 12:44:28 +0200 Message-ID: <87y15fi4qb.fsf@turtle-trading.net> References: <86h6c5y39e.fsf@gnu.org> <87plqtf6m0.fsf@yahoo.com> <864j84yfjh.fsf@gnu.org> <8734noslmt.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31440"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 02 12:47:58 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sZppF-00081x-JQ for ged-emacs-devel@m.gmane-mx.org; Fri, 02 Aug 2024 12:47:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZpoC-0001jO-48; Fri, 02 Aug 2024 06:46:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZpo9-0001iz-KD for emacs-devel@gnu.org; Fri, 02 Aug 2024 06:46:49 -0400 Original-Received: from mail.turtle-trading.net ([18.197.215.73]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZpo7-0003C7-RS; Fri, 02 Aug 2024 06:46:49 -0400 Original-Received: from 99-235-142-46.pool.kielnet.net ([46.142.235.99] helo=arrian) by mail.turtle-trading.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1sZpls-000thT-Iv; Fri, 02 Aug 2024 12:44:29 +0200 In-Reply-To: <8734noslmt.fsf@yahoo.com> (Po Lu's message of "Thu, 01 Aug 2024 16:16:58 +0800") Received-SPF: none client-ip=18.197.215.73; envelope-from=b.riefenstahl@turtle-trading.net; helo=mail.turtle-trading.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:322283 Archived-At: 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: > > # FTR, for me these both return (with the backend ftcrhb): # This is on "Debian GNU/Linux 12 (bookworm)". benny