From: Yuchen Guo <yguo@posteo.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 66416@debbugs.gnu.org
Subject: bug#66416: 29.1; Crashes when visiting HELLO file with pgtk on Wayland
Date: Tue, 10 Oct 2023 05:26:00 +0000 [thread overview]
Message-ID: <87cyxnoxp3.fsf@lan> (raw)
In-Reply-To: <83wmvvus3w.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 10 Oct 2023 05:30:11 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
> Thanks. ... Is it possible for you to rebuild Emacs with -g3 compiler
> switch and then try to reproduce the problem?
>
> Alternatively, can you build the current emacs-29 branch of the Emacs
> Git repository, and see if the problem reproduces there?
Will build from latest emacs-29 with -g3 and see if it still crashes.
> Please explain why you want to use these and not the default fonts
> Emacs uses on your platform.
I have configured gsettings/dconf to use aforementioned Monospace and
Proportional fonts, and that works fine in pure GTK Emacs in most cases.
But the important edge cases, such as the fallback to Simplified Chinese
font and AUCTeX prettify mathematical symbols with variable-pitch-mode
enabled, fails.
(The latter can be remedied by setting font-latex-math-face to something
else, but it still does not solve the fallback problem.)
This var-pitch fallback problem is also related to scaling. I have
GDK_DPI_SCALE=2 set, and Monospaced font looks fine in HELLO, but
variable-pitch-mode causes several scripts to be displayed extremely
small. You can see this here:
https://codeberg.org/m0p/ublock-origin-mirror/raw/branch/main/HELLO-mono.png
https://codeberg.org/m0p/ublock-origin-mirror/raw/branch/main/HELLO-proportional.png
https://codeberg.org/m0p/ublock-origin-mirror/raw/branch/main/HELLO-too-small.png
Besides, in my not so humble opinion, I think Emacs users should have
the freedom of choosing the preferred font without crashing Emacs,
regardless of defaults. Font is a personal matter and one shouldn't be
dragged by others by the nose, as a Chinese idiom would say.
> Can you show screenshots of the same text as Emacs displays by
> default, and as it should display according to your preferences?
Sure. Here I made a GIF from the screenshots, hope you can spot the
difference.
https://codeberg.org/m0p/ublock-origin-mirror/raw/branch/main/cjk-good-vs-bad.gif
next prev parent reply other threads:[~2023-10-10 5:26 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-08 20:32 bug#66416: 29.1; Crashes when visiting HELLO file with pgtk on Wayland Yuchen Guo
2023-10-09 10:31 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-10-09 11:19 ` Eli Zaretskii
2023-10-09 11:24 ` Eli Zaretskii
[not found] ` <87bkd7k6b8.fsf@lan>
2023-10-09 18:45 ` Eli Zaretskii
2023-10-09 19:07 ` Yuchen Guo
2023-10-10 2:30 ` Eli Zaretskii
2023-10-10 5:26 ` Yuchen Guo [this message]
2023-10-10 12:08 ` Eli Zaretskii
2023-10-10 12:59 ` Yuchen Guo
2023-10-10 13:40 ` Eli Zaretskii
2023-10-10 16:26 ` Yuchen Guo
2023-10-11 11:31 ` Eli Zaretskii
2023-10-11 12:45 ` Yuchen Guo
2023-10-11 13:12 ` Eli Zaretskii
2023-10-10 4:39 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-10-09 18:44 ` bug#66416: Coredump Yuchen Guo
2023-10-12 7:46 ` bug#66416: GDB output from new crash Yuchen Guo
2023-10-12 8:12 ` Yuchen Guo
2023-10-12 10:23 ` Eli Zaretskii
2023-10-12 11:22 ` Yuchen Guo
2023-10-12 12:31 ` Eli Zaretskii
2023-10-12 13:58 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-10-12 14:28 ` Yuchen Guo
2023-10-12 14:42 ` Yuchen Guo
2023-10-14 11:00 ` Eli Zaretskii
2023-10-14 11:26 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-10-14 12:38 ` Eli Zaretskii
2023-10-14 12:40 ` Yuchen Guo
2023-10-14 12:44 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-10-14 14:23 ` Yuchen Guo
2023-10-14 15:40 ` Eli Zaretskii
2023-10-15 1:11 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-10-15 5:54 ` Yuchen Guo
2023-10-12 11:43 ` Yuchen Guo
2023-10-14 19:14 ` bug#66416: 29.1; pgtk build crashes due to ftcrfont Yuchen Guo
2024-04-16 0:27 ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
[not found] ` <87mspui23l.fsf@>
2024-04-16 12:16 ` Eli Zaretskii
2024-04-16 13:13 ` Mattias Engdegård
2024-04-16 14:21 ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-16 13:39 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-16 14:19 ` Björn Bidar 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87cyxnoxp3.fsf@lan \
--to=yguo@posteo.net \
--cc=66416@debbugs.gnu.org \
--cc=eliz@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.