unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: 44113@debbugs.gnu.org
Subject: bug#44113: 28.0.50; crash with cairo and Noto Sans Javanese font
Date: Wed, 21 Oct 2020 14:22:13 +0200	[thread overview]
Message-ID: <87zh4fzs3u.fsf@rub.de> (raw)
In-Reply-To: <878sbz28i7.fsf@gmx.net> (Stephen Berman's message of "Wed, 21 Oct 2020 12:12:00 +0200")

On Wed, 21 Oct 2020 12:12:00 +0200 Stephen Berman <stephen.berman@gmx.net> wrote:

> I installed NotoSansJavanese-Regular.ttf and when I type `C-h h' to view
> the Javanese script, Emacs immediately crashes.  It also crashes when I
> just try to insert a character from that script, e.g. `C-x 8 RET #xa9b2
> RET'.  I've attached the backtrace from gdb produced from the latter.
> Emacs also crashes when trying to display a character from the Balinese
> script with NotoSansBalinese-Regular.ttf installed.  The crashes do not
> happen in emacs-27 built without cairo, but characters from the Javanese
> and Balinese scripts are displayed there as tofu, as they are in Firefox
> (e.g. https://en.wikipedia.org/wiki/Javanese_script), so maybe the fonts
> are buggy; and indeed, when I uninstall them Emacs built with cairo does
> not crash and the characters are displayed as tofu.

It seems those fonts are indeed buggy: I just installed
NotoSansJavanese-Regular.ttf from
https://github.com/googlefonts/noto-fonts and with it the Javanese
script sample in etc/HELLO displays fine both in Emacs from master built
with cairo and in emacs-27 with xft (and the Javanese script Wikipedia
page also displays fine in Firefox; the googlefonts repository does not
contain NotoSansBalinese-Regular.ttf but instead
NotoSerifBalinese-Regular.ttf, which I also installed and with it the
Balinese characters in the Wikipedia page also display fine).

>                                                      But it would be
> better for Emacs with cairo not to crash with a buggy font, if possible.

That would still be good, but if it's not practically feasible, I guess
this bug should just be closed.

Steve Berman





  reply	other threads:[~2020-10-21 12:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-21 10:12 bug#44113: 28.0.50; crash with cairo and Noto Sans Javanese font Stephen Berman
2020-10-21 12:22 ` Stephen Berman [this message]
2020-10-21 13:00   ` Robert Pluim
2020-10-21 13:25     ` Stephen Berman
2020-10-21 15:37       ` Eli Zaretskii
2020-10-22 12:38         ` Lars Ingebrigtsen
2020-11-07  8:15           ` Eli Zaretskii

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=87zh4fzs3u.fsf@rub.de \
    --to=stephen.berman@gmx.net \
    --cc=44113@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).