GNU bug report logs -
#65800
30.0.50; set-face-attribute gets error on android
Previous Next
Reported by: Shingo Tanaka <shingo.fg8 <at> gmail.com>
Date: Thu, 7 Sep 2023 12:42:02 UTC
Severity: normal
Found in version 30.0.50
Fixed in version 30.1
Done: Po Lu <luangruo <at> yahoo.com>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 65800 <at> debbugs.gnu.org (full text, mbox):
Shingo Tanaka <shingo.fg8 <at> gmail.com> writes:
> Sorry I made a mistake in the Font URL. This is the correct one.
>
> Font: ~/fonts/NotoSansMonoCJKjp-VF.ttf
> https://github.com/notofonts/noto-cjk
> Sans/Variable/TTF/Mono/NotoSansMonoCJKjp-VF.ttf
>
> 2023年9月7日(木) 12:41 Shingo Tanaka <shingo.fg8 <at> gmail.com>:
>
>>
>> (set-face-attribute 'default nil :font "Noto Sans Mono CJK JP")
>> just results in error with the backtrace below on android.
>>
>> 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://www.google.com/get/noto/help/cjk/
>> Sans/Variable/TTF/Mono/NotoSansMonoCJKjp-VF.ttf
>>
>> (emacs-version)
>> 30.0.50 (build 1, aarch64-unknown-linux-android29)
>>
>> Here is the backtrace.
>>
>> Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)
>> internal-set-lisp-face-attribute(default :font "Noto Sans Mono CJK JP" 0)
>> set-face-attribute(default nil :font "Noto Sans Mono CJK JP")
>> (progn (set-face-attribute 'default nil :font "Noto Sans Mono CJK JP"))
>> eval((progn (set-face-attribute 'default nil :font "Noto Sans Mono CJK JP")) t)
>> elisp--eval-last-sexp(t)
>> eval-last-sexp(t)
>> eval-print-last-sexp(nil)
>> funcall-interactively(eval-print-last-sexp nil)
>> call-interactively(eval-print-last-sexp nil nil)
>> command-execute(eval-print-last-sexp)
>>
Thanks, this should be fixed now.
This bug report was last modified 1 year and 257 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.