From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: master 15afa72460b: Fix 'script-representative-chars' for the 'han' script Date: Wed, 07 Aug 2024 20:12:55 +0800 Message-ID: <874j7wo7js.fsf@yahoo.com> References: <172267024373.1752.11669700725951474437@vcs2.savannah.gnu.org> <20240803073044.42052C1CAF7@vcs2.savannah.gnu.org> <8734nmq7ls.fsf@yahoo.com> <86cympvdej.fsf@gnu.org> <87le1dp2gb.fsf@yahoo.com> <86y15bos1w.fsf@gnu.org> <87sevio729.fsf@yahoo.com> <86jzgtq3xz.fsf@gnu.org> <87le19nq4b.fsf@yahoo.com> <86cymko8pk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4321"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 07 14:14:15 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 1sbfYU-0000zr-IS for ged-emacs-devel@m.gmane-mx.org; Wed, 07 Aug 2024 14:14:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sbfXg-00024L-Fv; Wed, 07 Aug 2024 08:13:24 -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 1sbfXY-00022v-2d for emacs-devel@gnu.org; Wed, 07 Aug 2024 08:13:16 -0400 Original-Received: from sonic316-20.consmr.mail.ne1.yahoo.com ([66.163.187.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sbfXW-0000bo-D2 for emacs-devel@gnu.org; Wed, 07 Aug 2024 08:13:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1723032789; bh=ZXJoeQ/skUcxh/IWPXPsrW9iaOOSrYInu1uXBRogvo0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=OVnpV5oH2I88CeaKnlmj7WQAW+ZnFxRYkz42YqI7rhE0/CG+1PN+XyJpnK2fqM4wFTaF7UssdHjyi4TDv0QKSmOCdOmTvWgp0fyf/iVbB6eLcOnMc1sFxoXKMFhqxlI7Nm9yW65HTupFzsUgh3qlrnFsN6V6+sZNUb93s+hyYB8j6MBleZYMs5a7ovHWA6LbrAhWRYfZ3uchMDVdAc68ZU7rt36hPO5TY8/odH/4Lj/LVeySePzVDkepJ1ZyZQ9WinrjfTU4vs7rkgS5dN/5iFN4bq3WiTS1B14084C4riBOJzjCYvef6AMjlTVS+23RMCDnnxTOXfEQOHAvk88oqA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1723032789; bh=loVu9g/2DXu6bgMT/0PWIsyA7DaNRBInGquI6UKbbuZ=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=jMcCX312Y8i54/bo2UcQRiD9hS8utQ3POH+9HkJ8u8Q2VG6ue4f93K/mcGgQ8R84jDPo7x5F/tkytcivTJV/dX7MEOiR4E1yQNjFbuj45alTE6kgdS6vHK5bcPNEMp12x9SarGfm2NddlgU1AbDEpoV+RojdXBXjDGb9hG9is00GStoReMTS8GRDHuvvCBZ8Q7aN5DgkcALHyldpMuCV2EeBNFh6zRey/iKJyacyD4BaSjpt4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sonic316.consmr.mail.ne1.yahoo.com with HTTP; Wed, 7 Aug 2024 12:13:09 +0000 Original-Received: by hermes--production-sg3-fc85cddf6-lbhm5 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID dfac4b1c3c6e00ab1f6a22d8b48d6953; Wed, 07 Aug 2024 12:13:02 +0000 (UTC) In-Reply-To: <86cymko8pk.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 07 Aug 2024 14:47:51 +0300") X-Mailer: WebService/1.1.22544 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.187.146; envelope-from=luangruo@yahoo.com; helo=sonic316-20.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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:322501 Archived-At: Eli Zaretskii writes: >> From: Po Lu >> Cc: emacs-devel@gnu.org >> Date: Wed, 07 Aug 2024 08:17:08 +0800 >> >> Eli Zaretskii writes: >> >> > Note that I said "if you remove those characters". >> > >> > If you did note that, then does it mean when U+2F75 needs to be >> > installed and the current font for han doesn't support it, Emacs will >> > never try to look for _another_ font which supports han characters? >> > Or will it try, but always fail? >> >> How do you mean? During Emacs's search for a suitable font, it is yet >> to decide what is the "current font for han." > > I mean the following scenario: > > . start Emacs > . type some common han character, which will be displayed by a font > that supports the common han characters > . type some rare han character, such as U+2F75, not supported by the > font chosen in the previous step > > I'm asking whether Emacs will in step 3 search and find a font which > can display U+2F75, or will it show tofu because it already has a han > font, and that font doesn't support U+2F75? In principle, yes, but with the important exception that the font which supports U+2F75 must also support all of the characters in the entry in script-representative-chars for han. > But when Emacs actually needs to display one of those rare characters, > will Emacs which uses Fontconfig then be able to find a suitable font, > if it is installed? The answer is yes, at least subject to the above.