From: ludo@gnu.org (Ludovic Courtès)
To: Alex Kost <alezost@gmail.com>
Cc: John Darrington <john@darrington.wattle.id.au>, 24279@debbugs.gnu.org
Subject: bug#24279: Bug in xterm and/or fontconfig
Date: Sun, 28 Aug 2016 16:45:39 +0200 [thread overview]
Message-ID: <87wpj10x64.fsf@gnu.org> (raw)
In-Reply-To: <877fb9ci9h.fsf@gmail.com> (Alex Kost's message of "Mon, 22 Aug 2016 11:36:26 +0300")
Alex Kost <alezost@gmail.com> skribis:
> John Darrington (2016-08-21 16:18 +0300) wrote:
[...]
>> Now in the xterm, hold down Ctrl and press any mouse button.
>> The xterm aborts with the following messages:
>> Warning: Unable to load any usable ISO8859 font
>> Error: Aborting: no font found
Same here.
> Pressing Ctrl with any mouse button displays menus for me without any
> error. Did you install any font in your profile?
Xterm uses server-side font rendering, so this cannot be a Fontconfig
issue. Could it be related to 9eb5a449eed7297fdc2e6f3e77c2f625b07fddd1?
‘strace xterm’ suggests that xterm queries Xft, and eventually bails
out:
--8<---------------cut here---------------start------------->8---
writev(3, [{"-\1\f\0+\0 \1$\0\0\0-*-*-*-R-*-*-*-120-*"..., 56}, {NULL, 0}, {"", 0}], 3) = 56
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\0\17\364\1+\0 \1\0\0-\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 64
open("/gnu/store/2fxgv78y9ngm31s10cb12pbjxwhdkvlb-libxt-1.1.5/share/X11/XtErrorDB", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "Warning: Unable to load any usab"..., 48Warning: Unable to load any usable ISO8859 font
) = 48
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"1\1\v\0\1\0$\0", 8}, {"-*-*-*-R-*-*-*-120-*-*-*-*-ISO88"..., 36}, {"", 0}], 3) = 44
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0\366\1\17\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 92
recvmsg(3, 0x7ffeea61d370, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"1\1\v\0\1\0$\0", 8}, {"-*-*-*-R-*-*-*-120-*-*-*-*-ISO88"..., 36}, {"", 0}], 3) = 44
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0\367\1\17\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 92
recvmsg(3, 0x7ffeea61d310, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7ffeea61d310, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"-\1\22\0,\0 \0019\0\0\0-adobe-courier-bold-"..., 80}, {NULL, 0}, {"", 0}], 3) = 80
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0\371\0017\3\0\0\0\0\1\0\7\0\377\377\371\377\0\0\0\0\0\0\3\0\10\0\7\0\v\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 3324
recvmsg(3, 0x7ffeea61d4b0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7ffeea61d4b0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7ffeea61d4b0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"-\1\22\0-\0 \0019\0\0\0-adobe-courier-bold-"..., 80}, {NULL, 0}, {"", 0}], 3) = 80
poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0\373\0017\3\0\0\0\0\1\0\7\0\377\377\371\377\0\0\0\0\0\0\3\0\10\0\7\0\v\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 3324
recvmsg(3, 0x7ffeea61d490, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7ffeea61d490, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(3, 0x7ffeea61d490, 0) = -1 EAGAIN (Resource temporarily unavailable)
write(2, "Error: Aborting: no font found\n\n", 32Error: Aborting: no font found
--8<---------------cut here---------------end--------------->8---
Strangely, “guix environment --ad-hoc xlsfonts -- xlsfonts” does work
and lists many fonts.
Thoughts?
Ludo’.
next prev parent reply other threads:[~2016-08-28 14:46 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-21 13:18 bug#24279: Bug in xterm and/or fontconfig John Darrington
2016-08-22 8:36 ` Alex Kost
2016-08-22 13:41 ` John Darrington
2016-08-22 18:39 ` Alex Kost
2016-08-28 14:45 ` Ludovic Courtès [this message]
2016-08-29 9:20 ` Alex Kost
2016-09-01 21:03 ` Mark H Weaver
2016-09-02 9:02 ` Alex Kost
2017-05-04 6:54 ` bug#24279: XTerm menu doesn't work (no font found error) Maxim Cournoyer
2017-11-28 12:41 ` ng0
2017-11-29 12:56 ` Maxim Cournoyer
2017-11-28 7:14 ` bug#24279: Bug in xterm and/or fontconfig Oleg Pykhalov
2017-11-29 10:01 ` Alex Kost
2017-11-30 9:42 ` Ludovic Courtès
2017-12-01 2:10 ` Maxim Cournoyer
2017-12-01 15:01 ` Ludovic Courtès
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://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wpj10x64.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=24279@debbugs.gnu.org \
--cc=alezost@gmail.com \
--cc=john@darrington.wattle.id.au \
/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/guix.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).