From: Zihao Zhu <all_but_last@163.com>
To: Pip Cet <pipcet@gmail.com>
Cc: 41627@debbugs.gnu.org
Subject: bug#41627: 28.0.50; Emacs with cairo build segfault in HELLO file
Date: Sun, 31 May 2020 22:31:37 +0800 [thread overview]
Message-ID: <87ae30ad-dafe-c590-314c-660737dda80b@163.com> (raw)
In-Reply-To: <CAOqdjBf3bdbRpZmetaYZ+ERjkAB8=xxAkZaWnRxrpXLiLgBA8A@mail.gmail.com>
I don't understand why fonts are not correctly installed. The return
value of (x-list-fonts "*") contains Sarasa font and Noto fonts. Looks
that Emacs detect these font successfully.
On 2020/5/31 下午8:35, Pip Cet wrote:
> On Sun, May 31, 2020 at 11:49 AM Zihao Zhu <all_but_last@163.com> wrote:
>> I try the Emacs build in commit
>> 780f674a82a90c4e3e32583059b498bfa57e4a06. When I eval
>>
>> (set-frame-font "Sarasa Mono Slab SC" t)
>> GDB attached backtrace in attachment.
> This line seems suspicious:
>
> font_face = 0x7ffff747e880 <_cairo_font_face_nil_file_not_found>
>
> It looks like you can't rely on cairo_ft_font_face_create_for_pattern
> to return a NULL pointer. I suspect the attached patch will work, but
> if this is something Cairo does in other places it needs to be
> checked.
>
> (My suspicion is the font was not installed correctly, so Cairo
> couldn't find it.)
next prev parent reply other threads:[~2020-05-31 14:31 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-31 11:32 bug#41627: 28.0.50; Emacs with cairo build segfault in HELLO file Zihao Zhu
2020-05-31 12:35 ` Pip Cet
2020-05-31 14:27 ` Zihao Zhu
2020-05-31 14:34 ` Pip Cet
2020-05-31 14:31 ` Zihao Zhu [this message]
2020-05-31 14:54 ` Eli Zaretskii
2020-05-31 15:38 ` Zihao Zhu
2020-05-31 17:24 ` Eli Zaretskii
2020-05-31 20:45 ` Pip Cet
2020-06-01 16:35 ` Eli Zaretskii
2020-06-01 18:02 ` Pip Cet
2020-09-27 14:29 ` Lars Ingebrigtsen
2020-10-21 15:58 ` Robert Pluim
2020-10-22 11:41 ` Lars Ingebrigtsen
2020-10-22 12:03 ` Zhu Zihao
2020-10-22 12:43 ` Lars Ingebrigtsen
2020-06-22 16:47 ` Zhu Zihao
2020-06-22 18:06 ` Eli Zaretskii
2020-06-23 4:10 ` bug#41627: " Zhu Zihao
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=87ae30ad-dafe-c590-314c-660737dda80b@163.com \
--to=all_but_last@163.com \
--cc=41627@debbugs.gnu.org \
--cc=pipcet@gmail.com \
/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).