From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73363: 30.0.91; CJK Font Rendering Behavior Changed Date: Fri, 20 Sep 2024 09:27:40 +0300 Message-ID: <86setu7sbn.fsf@gnu.org> References: <86h6ab8uyq.fsf@gnu.org> <87wmj7h90d.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15773"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rpluim@gmail.com, tomohisa.kuranari@gmail.com, 73363@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 20 08:28:54 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1srX8Q-0003xk-2z for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Sep 2024 08:28:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srX8G-00075G-V0; Fri, 20 Sep 2024 02:28:45 -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 1srX8F-000756-PB for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 02:28:43 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1srX8F-0006Ii-Fa for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 02:28:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=jpBrcep0o8VaLQljgO5h2zyxHyFRh/23APEp17OPbGI=; b=BM5GZpuX1iCE0khIbIIiVeI7GwJW3MPKt9foL2kUZx9AgdY45MO3Jw9DsGrAGYHfI58m75gXItiAlt7/DG/Bv0rf0HnikxowDpA8Db6WkNVktl910HyZto2wswpsl9G0Un4MlS/ILM3gBzb/M2HDnR6I3HkcKNyKjGZ6QhVHHGE9S7Y5yEmfaqNkNepYcr9PHnpbgkq9QChRJ4+z4aGCtRNspzctlz53hm750NByMGtzD/GMRwVy3ti1rexWGcICavR3X9YpNY7jmXX+SxpQIMicq8+jFqi24oH2sd3oHyanYs65qSX4ey7FNo7SpPfzzhl8qX5HZsaayExdNlZQAw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srX8X-0004Ra-S2 for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 02:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Sep 2024 06:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73363 X-GNU-PR-Package: emacs Original-Received: via spool by 73363-submit@debbugs.gnu.org id=B73363.172681371617044 (code B ref 73363); Fri, 20 Sep 2024 06:29:01 +0000 Original-Received: (at 73363) by debbugs.gnu.org; 20 Sep 2024 06:28:36 +0000 Original-Received: from localhost ([127.0.0.1]:33904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srX88-0004Qp-9G for submit@debbugs.gnu.org; Fri, 20 Sep 2024 02:28:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srX85-0004QZ-Ij for 73363@debbugs.gnu.org; Fri, 20 Sep 2024 02:28:34 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srX7h-0006Ea-Oc; Fri, 20 Sep 2024 02:28:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=jpBrcep0o8VaLQljgO5h2zyxHyFRh/23APEp17OPbGI=; b=WCXsNI6IF6D97Egsa8fL xx+nHXjVg6QuoqSBRZh3lidnCROJ7zztA0pZ/hLPRZumoo+R9LJRCVFIQHoStEGBvrB5qfD6RvKO4 MWTw8dippbNzQvus0aAmQzl+Bvdkr/ahn7MqlAzUhnzvRy+47cn1wwIpV6FBpBSY071GYUZJyUeJW mkIzPcBUi12UBbxXb6iCzm1PxjCKV8Jfp3j6i7i3KnMnFcrN/ZhPXN96y6YfDVeAFiTmDPcbGu8LS vwdqz3R2K8cmLhSxHSh2XsO3J4RDFfyW5PUxzjRU2owZ3JXUjez0xfZ0Qnfli/QNke6UJ1MuGZJBs LAIhegYvpIZb+Q==; In-Reply-To: (message from Po Lu on Fri, 20 Sep 2024 07:51:13 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:292085 Archived-At: > From: Po Lu > Cc: Eli Zaretskii , Tomohisa Kuranari > , 73363@debbugs.gnu.org > Date: Fri, 20 Sep 2024 07:51:13 +0800 > > Robert Pluim writes: > > >>>>>> On Thu, 19 Sep 2024 19:33:01 +0300, Eli Zaretskii > > said: > > > > Eli> I cannot reproduce this, but I'm not on macOS. Can someone > > Eli> reproduce > > Eli> this on GNU/Linux and/or on macOS? > > > > On GNU/Linux I get the same result from > > emacs-29 and emacs-30 ("-GOOG-Noto Sans CJK > > KR-regular-normal-normal-*-16-*-*-*-*-0-iso10646-1"" > > > > On macOs it changes from "PingFang SC" to "Arial Unicode MS" when I go > > from emacs-29 to emacs-30 > > > > Eli> The only changes I see in fontset.el due to Android which > > Eli> could > > Eli> explain this are supposed to be in effect only when Emacs is > > Eli> built for > > Eli> Android. I see quite some changes in macfont.m, but they > > Eli> seem to > > Eli> affect font's weight and slant, so I'm not sure how that > > Eli> could be > > Eli> relevant. > > > > It doesnʼt appear to be either of those. Iʼd bisect, but right now I > > donʼt have time for that. > > > > Robert > > Could it be 1727777a (a Git revision)? Would the OP try reverting it? That's the only font-related change I found there, yes. Regardless of the effect of reverting it, I'd appreciate if Po Lu could explain its rationale (and improve the comments with that), since the log message and the comments don't say enough for me to figure that out. In particular, this part of the comment: TrueType fonts have contrived character map selection semantics which makes determining the repertory at font spec matching time unduly expensive. What does this allude to (details and examples of such contrived character map selection semantics, please), and where's the code where spec matching becomes expensive without this change?