* bug#65800: 30.0.50; set-face-attribute gets error on android
@ 2023-09-07 3:41 Shingo Tanaka
2023-09-07 14:00 ` Shingo Tanaka
0 siblings, 1 reply; 5+ messages in thread
From: Shingo Tanaka @ 2023-09-07 3:41 UTC (permalink / raw)
To: 65800
[-- Attachment #1: Type: text/plain, Size: 1218 bytes --]
(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/
<https://www.google.com/get/noto/help/cjk/Sans/Variable/TTF>
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)
[-- Attachment #2: Type: text/html, Size: 2192 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#65800: 30.0.50; set-face-attribute gets error on android
2023-09-07 3:41 bug#65800: 30.0.50; set-face-attribute gets error on android Shingo Tanaka
@ 2023-09-07 14:00 ` Shingo Tanaka
2023-09-08 2:41 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 1 reply; 5+ messages in thread
From: Shingo Tanaka @ 2023-09-07 14:00 UTC (permalink / raw)
To: 65800
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@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)
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#65800: 30.0.50; set-face-attribute gets error on android
2023-09-07 14:00 ` Shingo Tanaka
@ 2023-09-08 2:41 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-09 12:18 ` Shingo Tanaka
0 siblings, 1 reply; 5+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-09-08 2:41 UTC (permalink / raw)
To: Shingo Tanaka; +Cc: 65800
Shingo Tanaka <shingo.fg8@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@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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#65800: 30.0.50; set-face-attribute gets error on android
2023-09-08 2:41 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-09-09 12:18 ` Shingo Tanaka
2023-09-10 5:40 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 1 reply; 5+ messages in thread
From: Shingo Tanaka @ 2023-09-09 12:18 UTC (permalink / raw)
To: Po Lu; +Cc: 65800
[-- Attachment #1: Type: text/plain, Size: 97 bytes --]
>
> Thanks, this should be fixed now.
>
Thank you. I confirmed it's fixed.
Regards,
Shingo
>
[-- Attachment #2: Type: text/html, Size: 597 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#65800: 30.0.50; set-face-attribute gets error on android
2023-09-09 12:18 ` Shingo Tanaka
@ 2023-09-10 5:40 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 0 replies; 5+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-09-10 5:40 UTC (permalink / raw)
To: Shingo Tanaka; +Cc: 65800-done
Shingo Tanaka <shingo.fg8@gmail.com> writes:
> Thanks, this should be fixed now.
>
> Thank you. I confirmed it's fixed.
>
> Regards,
> Shingo
Thanks for testing. I'm closing this bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-09-10 5:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-07 3:41 bug#65800: 30.0.50; set-face-attribute gets error on android Shingo Tanaka
2023-09-07 14:00 ` Shingo Tanaka
2023-09-08 2:41 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-09 12:18 ` Shingo Tanaka
2023-09-10 5:40 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).