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: Thu, 19 Sep 2024 19:33:01 +0300 Message-ID: <86h6ab8uyq.fsf@gnu.org> References: 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="31924"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73363@debbugs.gnu.org To: Tomohisa Kuranari , Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 19 18:34:00 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 1srK6R-00088e-8r for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Sep 2024 18:33:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srK6I-0005sj-5y; Thu, 19 Sep 2024 12:33:50 -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 1srK6E-0005jG-AD for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2024 12:33:46 -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 1srK6D-0000UQ-QX for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2024 12:33:45 -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=cDRwu01Mycy0QBaoETdOho9fF26He/5PqwH/gNtt2RE=; b=GNi+wl5YOLxhC9IhYU5IVEo6wIsfVVsjRxffMfdAAnMjtXt/cc4jFwmI9MXC0YclCwXZpJufW5lXox842hqO2ryRsq1iM8QzJLlPQf5GVas+++AmkdjkuhILFW+0W1RE6o5N7j2z7OPkD0H4K6rJMe5U8XKKqQS5ZwfF6SoRKk7vapvV3A6pYgFhtBX5cMrUJt0T+X334xL0TLdu+KfBRHcJNF9IpTbNgQYEvdwOKjAloSebrWo0rch32FnRvzgOUOpOthDBtZc8fZK1L5PzTDsV2QQPtHaPgV+MWzWbfP4WISxJn4p7wNsgZ2ws7oyRRYV+yfotqLXzsFXupA78jw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srK6U-0001CQ-Cv for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2024 12:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Sep 2024 16:34:02 +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.17267636124566 (code B ref 73363); Thu, 19 Sep 2024 16:34:02 +0000 Original-Received: (at 73363) by debbugs.gnu.org; 19 Sep 2024 16:33:32 +0000 Original-Received: from localhost ([127.0.0.1]:33392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srK5z-0001BZ-Q8 for submit@debbugs.gnu.org; Thu, 19 Sep 2024 12:33:32 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srK5w-0001BD-SD for 73363@debbugs.gnu.org; Thu, 19 Sep 2024 12:33:30 -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 1srK5Z-0000Oj-4x; Thu, 19 Sep 2024 12:33:05 -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=cDRwu01Mycy0QBaoETdOho9fF26He/5PqwH/gNtt2RE=; b=qudLHkEuvOQy2i/og/Gc nsFymcTVcx2QSvjGurBB0cANIHGtNnrNN4Iq05paNGJ6YgS6Jhqyxn/DdU6xCKDvdUUPtLm8FAYAX tE2eNgInSC08O5/97ZA+P73Vu/CRxWQnJiUvL5Zriyv6YmF4MOswRp8VtXv9YCYXpWQ0fhleCM0Hq z74LYj4zMKDqB/UqDXmA6EekkY9uTsMLx+vSFL6dB5H8y//HLSCWR1tw+ZPLOCYTu9k8cCPum+c8X nlQEO99Yo13UCAmAoGTszo3iP4jtrSpyC22EG2E5RH9Bu888B1E+ghPDEPplAQ0JrpyP/rq/ojJbq zZjn/uTbobbypg==; In-Reply-To: (message from Tomohisa Kuranari on Thu, 19 Sep 2024 23:50:58 +0900) 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:292067 Archived-At: > From: Tomohisa Kuranari > Date: Thu, 19 Sep 2024 23:50:58 +0900 > > This may not be a bug, but I have noticed different behavior compared to > Emacs 29.4. > > I found that the behavior changed when the Android port was introduced, but > I haven't been able to pinpoint the exact cause. > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c71a520d1da636a722cf87b46534ca3b5aafbc7b > > ## Steps to Reproduce > 1. Start Emacs with emacs -Q. > 2. Evaluate the following in the scratch buffer: > > ;; 29.4 > (face-font 'default nil ?元) > "-*-Hiragino Sans-regular-normal-normal-*-12-*-*-*-p-0-iso10646-1" > (face-font 'default nil ?你) > "-*-Hiragino Sans-regular-normal-normal-*-12-*-*-*-p-0-iso10646-1" > (face-font 'default nil ?안) > "-*-Apple SD Gothic Neo-regular-normal-normal-*-12-*-*-*-p-0-iso10646-1" > > ;; 30.0.91 > (face-font 'default nil ?元) > "-*-Arial Unicode MS-regular-normal-normal-*-12-*-*-*-p-0-iso10646-1" > (face-font 'default nil ?你) > "-*-Arial Unicode MS-regular-normal-normal-*-12-*-*-*-p-0-iso10646-1" > (face-font 'default nil ?안) > "-*-Arial Unicode MS-regular-normal-normal-*-12-*-*-*-p-0-iso10646-1" > > ## Workaround > Specify the font explicitly > ``` > (set-fontset-font nil 'japanese-jisx0208 > (font-spec :family "Hiragino Sans")) > ``` > > > In GNU Emacs 30.0.91 (build 1, x86_64-apple-darwin23.1.0, NS > appkit-2487.20 Version 14.1 (Build 23B74)) of 2024-09-14 built on > kuranariMacBook-Pro.local I cannot reproduce this, but I'm not on macOS. Can someone reproduce this on GNU/Linux and/or on macOS? The only changes I see in fontset.el due to Android which could explain this are supposed to be in effect only when Emacs is built for Android. I see quite some changes in macfont.m, but they seem to affect font's weight and slant, so I'm not sure how that could be relevant.