GNU bug report logs - #65865
30.0.50; set-face-attribute doesn't take effect on new frames on Android

Previous Next

Package: emacs;

Reported by: Shingo Tanaka <shingo.fg8 <at> gmail.com>

Date: Mon, 11 Sep 2023 12:11:01 UTC

Severity: normal

Found in version 30.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Po Lu <luangruo <at> yahoo.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#65865: closed (30.0.50; set-face-attribute doesn't take
 effect on new frames on Android)
Date: Tue, 12 Sep 2023 14:09:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 12 Sep 2023 22:08:07 +0800
with message-id <s0do7i732ns.fsf <at> yahoo.com>
and subject line Re: bug#65865: 30.0.50; set-face-attribute doesn't take effect on new frames on Android
has caused the debbugs.gnu.org bug report #65865,
regarding 30.0.50; set-face-attribute doesn't take effect on new frames on Android
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
65865: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65865
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Shingo Tanaka <shingo.fg8 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50;
 set-face-attribute doesn't take effect on new frames on Android
Date: Mon, 11 Sep 2023 21:10:37 +0900
(set-face-attribute 'default nil :font "Noto Sans Mono CJK JP") doesn't take
effect on new frames on Android, even though the 2nd argument FRAME is nil.

Here is how to reproduce.
Maybe the font doesn't need to be the one I specified here.

0. Download NotoSansMonoCJKjp-VF.ttf from the url below and put it in ~/fonts 
1. Run Emacs w/o init file.
2. Evaluate (set-face-attribute 'default nil :font "Noto Sans Mono CJK JP")
   on *scratch* buffer.
3. You can see the displayed font is updated to Noto font.
4. Type C-x 5 2 (make-frame-command)
5. You can see the font is not Noto font but the initial font on the new frame.

Device: Xiaomi Pad 5
MIUI Version: MIUI Pad Global 14.0.5  14.0.5.0(TKXMIXM)
Android Version: 13 TKQ1.221013.002
Emacs Binary: emacs-30.0.50-29-arm64-v8a.apk
https://sourceforge.net/projects/android-ports-for-gnu-emacs/files/
Font: ~/fonts/NotoSansMonoCJKjp-VF.ttf
https://github.com/notofonts/noto-cjk
Sans/Variable/TTF/Mono/NotoSansMonoCJKjp-VF.ttf

(emacs-version)
"GNU Emacs 30.0.50 (build 1, aarch64-unknown-linux-android29)
 of 2023-09-11"

If any further information is needed, please let me know.

Regards,
Shingo


[Message part 3 (message/rfc822, inline)]
From: Po Lu <luangruo <at> yahoo.com>
To: Shingo Tanaka <shingo.fg8 <at> gmail.com>
Cc: 65865-done <at> debbugs.gnu.org
Subject: Re: bug#65865: 30.0.50; set-face-attribute doesn't take effect on
 new frames on Android
Date: Tue, 12 Sep 2023 22:08:07 +0800
Shingo Tanaka <shingo.fg8 <at> gmail.com> writes:

> On Tue, 12 Sep 2023 11:39:05 +0900,
> Po Lu wrote:
>> 
>> Thanks, this should be fixed now.
>
> Thank you, I confirmed it's fixed.

Closing.
Thanks for testing.


This bug report was last modified 1 year and 248 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.