From: Shingo Tanaka <shingo.fg8@gmail.com>
To: 65800@debbugs.gnu.org
Subject: bug#65800: 30.0.50; set-face-attribute gets error on android
Date: Thu, 7 Sep 2023 12:41:01 +0900 [thread overview]
Message-ID: <CAH4H2-wXk9c_hyri14hcGZFSLw92Lrvt8cm8T2SWakhBjXL4bA@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2023-09-07 3:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-07 3:41 Shingo Tanaka [this message]
2023-09-07 14:00 ` bug#65800: 30.0.50; set-face-attribute gets error on android 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAH4H2-wXk9c_hyri14hcGZFSLw92Lrvt8cm8T2SWakhBjXL4bA@mail.gmail.com \
--to=shingo.fg8@gmail.com \
--cc=65800@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).