bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65865: 30.0.50; set-face-attribute doesn't take effect on new frames


From: Shingo Tanaka
Subject: bug#65865: 30.0.50; set-face-attribute doesn't take effect on new frames on Android
Date: Mon, 11 Sep 2023 21:10:37 +0900
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (Gojō) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.0.50 (aarch64-unknown-linux-android29) MULE/6.0 (HANACHIRUSATO)

(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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]