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

>>>>> On Wed, 21 Oct 2020 14:22:13 +0200, Stephen Berman <stephen.berman@gmx.net> said:

    Stephen> 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.

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

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

    Stephen> Steve Berman

Looking at the backtrace, this could be another manifestation of
bug#41627. That bug has a patch, would it be possible to try it?

Thanks

Robert
-- 





  reply	other threads:[~2020-10-21 13:00 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
2020-10-21 13:00   ` Robert Pluim [this message]
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=m2v9f3buo2.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=44113@debbugs.gnu.org \
    --cc=stephen.berman@gmx.net \
    /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).