* bug#24279: Bug in xterm and/or fontconfig
@ 2016-08-21 13:18 John Darrington
2016-08-22 8:36 ` Alex Kost
` (2 more replies)
0 siblings, 3 replies; 16+ messages in thread
From: John Darrington @ 2016-08-21 13:18 UTC (permalink / raw)
To: 24279
[-- Attachment #1: Type: text/plain, Size: 716 bytes --]
In GuixSD:
guix package -i xterm strace
strace xterm
xterm starts as it should, however observe many failed calls similar to:
open("/gnu/store/b484nvn9nnr3ddclpz2fma9yxmimg2jj-fontconfig-2.11.94/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
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
--
Avoid eavesdropping. Send strong encryted email.
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#24279: Bug in xterm and/or fontconfig
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
` (2 more replies)
2017-05-04 6:54 ` bug#24279: XTerm menu doesn't work (no font found error) Maxim Cournoyer
2017-11-28 7:14 ` bug#24279: Bug in xterm and/or fontconfig Oleg Pykhalov
2 siblings, 3 replies; 16+ messages in thread
From: Alex Kost @ 2016-08-22 8:36 UTC (permalink / raw)
To: John Darrington; +Cc: 24279
John Darrington (2016-08-21 16:18 +0300) wrote:
> In GuixSD:
>
> guix package -i xterm strace
> strace xterm
>
> xterm starts as it should, however observe many failed calls similar to:
> open("/gnu/store/b484nvn9nnr3ddclpz2fma9yxmimg2jj-fontconfig-2.11.94/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>
>
> 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
Pressing Ctrl with any mouse button displays menus for me without any
error. Did you install any font in your profile? Try for example,
"guix package -i font-dejavu". Perhaps you will also need to run
"fc-cache -f".
To make Xterm use a font I want, I have these lines in my ~/XTerm (it
can also be placed in ~/.Xresources I think):
XTerm*faceName: DejaVu Sans Mono
XTerm*faceSize: 12
--
Alex
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#24279: Bug in xterm and/or fontconfig
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
2016-09-01 21:03 ` Mark H Weaver
2 siblings, 1 reply; 16+ messages in thread
From: John Darrington @ 2016-08-22 13:41 UTC (permalink / raw)
To: Alex Kost; +Cc: John Darrington, 24279
[-- Attachment #1: Type: text/plain, Size: 1570 bytes --]
On Mon, Aug 22, 2016 at 11:36:26AM +0300, Alex Kost wrote:
John Darrington (2016-08-21 16:18 +0300) wrote:
> In GuixSD:
>
> guix package -i xterm strace
> strace xterm
>
> xterm starts as it should, however observe many failed calls similar to:
> open("/gnu/store/b484nvn9nnr3ddclpz2fma9yxmimg2jj-fontconfig-2.11.94/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>
>
> 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
Pressing Ctrl with any mouse button displays menus for me without any
error. Did you install any font in your profile? Try for example,
"guix package -i font-dejavu". Perhaps you will also need to run
"fc-cache -f".
So that means that font-dejavu should be an input of xterm. Shall I make that
change?
To make Xterm use a font I want, I have these lines in my ~/XTerm (it
can also be placed in ~/.Xresources I think):
XTerm*faceName: DejaVu Sans Mono
XTerm*faceSize: 12
Presumably there is a default font which should work without any resource explicitly set?
J'
--
Avoid eavesdropping. Send strong encryted email.
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#24279: Bug in xterm and/or fontconfig
2016-08-22 13:41 ` John Darrington
@ 2016-08-22 18:39 ` Alex Kost
0 siblings, 0 replies; 16+ messages in thread
From: Alex Kost @ 2016-08-22 18:39 UTC (permalink / raw)
To: John Darrington; +Cc: 24279
John Darrington (2016-08-22 16:41 +0300) wrote:
> On Mon, Aug 22, 2016 at 11:36:26AM +0300, Alex Kost wrote:
> John Darrington (2016-08-21 16:18 +0300) wrote:
>
> > In GuixSD:
> >
> > guix package -i xterm strace
> > strace xterm
> >
> > xterm starts as it should, however observe many failed calls similar to:
> > open("/gnu/store/b484nvn9nnr3ddclpz2fma9yxmimg2jj-fontconfig-2.11.94/lib/libXdmcp.so.6",
> > O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
> >
> >
> > 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
>
> Pressing Ctrl with any mouse button displays menus for me without any
> error. Did you install any font in your profile? Try for example,
> "guix package -i font-dejavu". Perhaps you will also need to run
> "fc-cache -f".
>
> So that means that font-dejavu should be an input of xterm. Shall I make that
> change?
I have no idea :-) I don't know why you get that error and how to fix
it, I just made a guess.
--
Alex
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#24279: Bug in xterm and/or fontconfig
2016-08-22 8:36 ` Alex Kost
2016-08-22 13:41 ` John Darrington
@ 2016-08-28 14:45 ` Ludovic Courtès
2016-08-29 9:20 ` Alex Kost
2016-09-01 21:03 ` Mark H Weaver
2 siblings, 1 reply; 16+ messages in thread
From: Ludovic Courtès @ 2016-08-28 14:45 UTC (permalink / raw)
To: Alex Kost; +Cc: John Darrington, 24279
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’.
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#24279: Bug in xterm and/or fontconfig
2016-08-28 14:45 ` Ludovic Courtès
@ 2016-08-29 9:20 ` Alex Kost
0 siblings, 0 replies; 16+ messages in thread
From: Alex Kost @ 2016-08-29 9:20 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: John Darrington, 24279
Ludovic Courtès (2016-08-28 17:45 +0300) wrote:
> 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?
I don't see how it could be related. That commit didn't remove
anything, it just added "share/fonts/truetype/fonts.{dir/scale}" files
to guix profiles.
[...]
> Strangely, “guix environment --ad-hoc xlsfonts -- xlsfonts” does work
> and lists many fonts.
>
> Thoughts?
Sorry, I have no idea, and I cannot reproduce this bug.
--
Alex
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#24279: Bug in xterm and/or fontconfig
2016-08-22 8:36 ` Alex Kost
2016-08-22 13:41 ` John Darrington
2016-08-28 14:45 ` Ludovic Courtès
@ 2016-09-01 21:03 ` Mark H Weaver
2016-09-02 9:02 ` Alex Kost
2 siblings, 1 reply; 16+ messages in thread
From: Mark H Weaver @ 2016-09-01 21:03 UTC (permalink / raw)
To: Alex Kost; +Cc: John Darrington, 24279
Alex Kost <alezost@gmail.com> writes:
> John Darrington (2016-08-21 16:18 +0300) wrote:
>
>> In GuixSD:
>>
>> guix package -i xterm strace
>> strace xterm
>>
>> xterm starts as it should, however observe many failed calls similar to:
>> open("/gnu/store/b484nvn9nnr3ddclpz2fma9yxmimg2jj-fontconfig-2.11.94/lib/libXdmcp.so.6",
>> O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>>
>>
>> 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
>
> Pressing Ctrl with any mouse button displays menus for me without any
> error.
Fwiw, I see the same problem with 'xterm' on both of my GuixSD laptops,
on mips64el and i686. The i686 laptop is running a full GNOME desktop
environment, and the mips64el laptop runs a somewhat minified Xfce
environment.
I remember that 'xterm' worked for me in the past, and specifically that
the pop-up menus raised by Ctrl-clicks worked, on both of these
machines. However, at some point in the distant past I switched to
gnome-terminal, so I'm not sure when 'xterm' became broken.
Mark
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#24279: Bug in xterm and/or fontconfig
2016-09-01 21:03 ` Mark H Weaver
@ 2016-09-02 9:02 ` Alex Kost
0 siblings, 0 replies; 16+ messages in thread
From: Alex Kost @ 2016-09-02 9:02 UTC (permalink / raw)
To: Mark H Weaver; +Cc: John Darrington, 24279
Mark H Weaver (2016-09-02 00:03 +0300) wrote:
> Alex Kost <alezost@gmail.com> writes:
>
>> 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
>>
>> Pressing Ctrl with any mouse button displays menus for me without any
>> error.
>
> Fwiw, I see the same problem with 'xterm' on both of my GuixSD laptops,
> on mips64el and i686. The i686 laptop is running a full GNOME desktop
> environment, and the mips64el laptop runs a somewhat minified Xfce
> environment.
OK, apparently it's broken by default since you all have this problem.
I think I just have some settings on my system that make it work
properly. For example, I start X server with all font paths that I
need (I don't use SLIM), not sure if it relates.
"xset -q" gives me:
...
Font Path:
<profile>truetype,<profile>X11/misc,<profile>X11/100dpi,<profile>X11/75dpi,built-ins
where <profile> is my guix profile with fonts.
Also I don't use 'font-alias' package, instead I use a "pure"
modification of it as described at
<https://lists.gnu.org/archive/html/bug-guix/2015-12/msg00022.html>.
But, well, I have no idea why xterm menus work for me :-)
--
Alex
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#24279: XTerm menu doesn't work (no font found error)
2016-08-21 13:18 bug#24279: Bug in xterm and/or fontconfig John Darrington
2016-08-22 8:36 ` Alex Kost
@ 2017-05-04 6:54 ` Maxim Cournoyer
2017-11-28 12:41 ` ng0
2017-11-28 7:14 ` bug#24279: Bug in xterm and/or fontconfig Oleg Pykhalov
2 siblings, 1 reply; 16+ messages in thread
From: Maxim Cournoyer @ 2017-05-04 6:54 UTC (permalink / raw)
To: 24279; +Cc: alezost, john
I can reproduce this on GuixSD (foreign distros are OK).
By going to tty0 (Ctrl-Alt-F1) we can see the following text which gets
output at every crash:
--8<---------------cut here---------------start------------->8---
Warning: Unable to load any usable ISO8059 font
ERROR: Aborting: no font found
--8<---------------cut here---------------end--------------->8---
Apparently there is a patch which might fix that problem, available
here: https://lists.gnu.org/archive/html/guix-devel/2016-12/msg00165.html
Maxim
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#24279: Bug in xterm and/or fontconfig
2016-08-21 13:18 bug#24279: Bug in xterm and/or fontconfig John Darrington
2016-08-22 8:36 ` Alex Kost
2017-05-04 6:54 ` bug#24279: XTerm menu doesn't work (no font found error) Maxim Cournoyer
@ 2017-11-28 7:14 ` Oleg Pykhalov
2017-11-29 10:01 ` Alex Kost
2017-11-30 9:42 ` Ludovic Courtès
2 siblings, 2 replies; 16+ messages in thread
From: Oleg Pykhalov @ 2017-11-28 7:14 UTC (permalink / raw)
To: John Darrington; +Cc: 24279
[-- Attachment #1: Type: text/plain, Size: 1028 bytes --]
Hello John,
John Darrington <john@darrington.wattle.id.au> writes:
> In GuixSD:
>
> guix package -i xterm strace
> strace xterm
>
> xterm starts as it should, however observe many failed calls similar to:
> open("/gnu/store/b484nvn9nnr3ddclpz2fma9yxmimg2jj-fontconfig-2.11.94/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>
>
> 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
I solved this issue by:
- Install a font-misc-misc as Mike Hunt from Gentoo forum suggests¹:
$ guix package -i font-misc-misc
- From "(guix) Application Setup"²:
$ xset +fp ~/.guix-profile/share/fonts/X11/misc
I wonder could we do this automatically after installing XTerm?
¹ https://forums.gentoo.org/viewtopic-p-6158302.html#6158302
² https://www.gnu.org/software/guix/manual/guix.html#X11-Fonts
Oleg.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#24279: XTerm menu doesn't work (no font found error)
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
0 siblings, 1 reply; 16+ messages in thread
From: ng0 @ 2017-11-28 12:41 UTC (permalink / raw)
To: Maxim Cournoyer; +Cc: 24279
[-- Attachment #1: Type: text/plain, Size: 898 bytes --]
Maxim Cournoyer transcribed 0.5K bytes:
> I can reproduce this on GuixSD (foreign distros are OK).
>
> By going to tty0 (Ctrl-Alt-F1) we can see the following text which gets
> output at every crash:
>
> --8<---------------cut here---------------start------------->8---
> Warning: Unable to load any usable ISO8059 font
> ERROR: Aborting: no font found
> --8<---------------cut here---------------end--------------->8---
>
> Apparently there is a patch which might fix that problem, available
> here: https://lists.gnu.org/archive/html/guix-devel/2016-12/msg00165.html
>
> Maxim
Good catch, it was just forgotten. Would you like to work on the suggestions
Ludovic gave John? It's unlikely that John will work on them after John
more-or-less left Guix.
--
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
WWW: https://n0.is
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#24279: Bug in xterm and/or fontconfig
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
1 sibling, 0 replies; 16+ messages in thread
From: Alex Kost @ 2017-11-29 10:01 UTC (permalink / raw)
To: Oleg Pykhalov; +Cc: John Darrington, 24279
Oleg Pykhalov (2017-11-28 10:14 +0300) wrote:
> Hello John,
>
> John Darrington <john@darrington.wattle.id.au> writes:
>
>> In GuixSD:
>>
>> guix package -i xterm strace
>> strace xterm
>>
>> xterm starts as it should, however observe many failed calls similar to:
>> open("/gnu/store/b484nvn9nnr3ddclpz2fma9yxmimg2jj-fontconfig-2.11.94/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>>
>>
>> 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
>
> I solved this issue by:
>
> - Install a font-misc-misc as Mike Hunt from Gentoo forum suggests¹:
>
> $ guix package -i font-misc-misc
>
> - From "(guix) Application Setup"²:
>
> $ xset +fp ~/.guix-profile/share/fonts/X11/misc
Just to mention: I have font-misc-misc and some other fonts in my
profile with the Xorg font path set accordingly. Apparently, that's why
I didn't experience this bug :-)
--
Alex
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#24279: XTerm menu doesn't work (no font found error)
2017-11-28 12:41 ` ng0
@ 2017-11-29 12:56 ` Maxim Cournoyer
0 siblings, 0 replies; 16+ messages in thread
From: Maxim Cournoyer @ 2017-11-29 12:56 UTC (permalink / raw)
To: ng0; +Cc: 24279
Hi ng0,
ng0 <ng0@n0.is> writes:
> Maxim Cournoyer transcribed 0.5K bytes:
>> I can reproduce this on GuixSD (foreign distros are OK).
>>
>> By going to tty0 (Ctrl-Alt-F1) we can see the following text which gets
>> output at every crash:
>>
>> --8<---------------cut here---------------start------------->8---
>> Warning: Unable to load any usable ISO8059 font
>> ERROR: Aborting: no font found
>> --8<---------------cut here---------------end--------------->8---
>>
>> Apparently there is a patch which might fix that problem, available
>> here: https://lists.gnu.org/archive/html/guix-devel/2016-12/msg00165.html
>>
>> Maxim
>
> Good catch, it was just forgotten. Would you like to work on the suggestions
> Ludovic gave John? It's unlikely that John will work on them after John
> more-or-less left Guix.
Yes, it's on my TODO! Thanks for the reminder :)
Maxim
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#24279: Bug in xterm and/or fontconfig
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
1 sibling, 1 reply; 16+ messages in thread
From: Ludovic Courtès @ 2017-11-30 9:42 UTC (permalink / raw)
To: Oleg Pykhalov; +Cc: John Darrington, 24279
[-- Attachment #1: Type: text/plain, Size: 973 bytes --]
Hi Oleg,
Oleg Pykhalov <go.wigust@gmail.com> skribis:
> John Darrington <john@darrington.wattle.id.au> writes:
>
>> In GuixSD:
>>
>> guix package -i xterm strace
>> strace xterm
>>
>> xterm starts as it should, however observe many failed calls similar to:
>> open("/gnu/store/b484nvn9nnr3ddclpz2fma9yxmimg2jj-fontconfig-2.11.94/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>>
>>
>> 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
>
> I solved this issue by:
>
> - Install a font-misc-misc as Mike Hunt from Gentoo forum suggests¹:
>
> $ guix package -i font-misc-misc
>
> - From "(guix) Application Setup"²:
>
> $ xset +fp ~/.guix-profile/share/fonts/X11/misc
Oh, good to know!
We can also fix this once and for all with this patch:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 581 bytes --]
diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index 0da3397da..8f285b29a 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -113,6 +113,8 @@
(file-append font-alias "/share/fonts/X11/100dpi")
(file-append font-alias "/share/fonts/X11/misc")
(file-append font-alias "/share/fonts/X11/cyrillic")
+ (file-append font-misc-misc ;default fonts for xterm
+ "/share/fonts/X11/misc")
(file-append font-adobe75dpi "/share/fonts/X11/75dpi")))
(define* (xorg-configuration-file #:key
[-- Attachment #3: Type: text/plain, Size: 162 bytes --]
That adds 4.1 MiB, but it saves user headaches, so I think it’s worth it.
I’ll go ahead and push that if there are no objections.
Thanks,
Ludo’.
^ permalink raw reply related [flat|nested] 16+ messages in thread
* bug#24279: Bug in xterm and/or fontconfig
2017-11-30 9:42 ` Ludovic Courtès
@ 2017-12-01 2:10 ` Maxim Cournoyer
2017-12-01 15:01 ` Ludovic Courtès
0 siblings, 1 reply; 16+ messages in thread
From: Maxim Cournoyer @ 2017-12-01 2:10 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: John Darrington, 24279
Hello,
ludo@gnu.org (Ludovic Courtès) writes:
[...]
> We can also fix this once and for all with this patch:
>
> diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
> index 0da3397da..8f285b29a 100644
> --- a/gnu/services/xorg.scm
> +++ b/gnu/services/xorg.scm
> @@ -113,6 +113,8 @@
> (file-append font-alias "/share/fonts/X11/100dpi")
> (file-append font-alias "/share/fonts/X11/misc")
> (file-append font-alias "/share/fonts/X11/cyrillic")
> + (file-append font-misc-misc ;default fonts for xterm
> + "/share/fonts/X11/misc")
> (file-append font-adobe75dpi "/share/fonts/X11/75dpi")))
>
> (define* (xorg-configuration-file #:key
>
>
> That adds 4.1 MiB, but it saves user headaches, so I think it’s worth it.
>
> I’ll go ahead and push that if there are no objections.
And another bug down! :) Thanks for fixing it; LGTM!
Maxim
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#24279: Bug in xterm and/or fontconfig
2017-12-01 2:10 ` Maxim Cournoyer
@ 2017-12-01 15:01 ` Ludovic Courtès
0 siblings, 0 replies; 16+ messages in thread
From: Ludovic Courtès @ 2017-12-01 15:01 UTC (permalink / raw)
To: Maxim Cournoyer; +Cc: 24279-done, John Darrington
Hello,
Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
> ludo@gnu.org (Ludovic Courtès) writes:
>
> [...]
>
>> We can also fix this once and for all with this patch:
>>
>> diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
>> index 0da3397da..8f285b29a 100644
>> --- a/gnu/services/xorg.scm
>> +++ b/gnu/services/xorg.scm
>> @@ -113,6 +113,8 @@
>> (file-append font-alias "/share/fonts/X11/100dpi")
>> (file-append font-alias "/share/fonts/X11/misc")
>> (file-append font-alias "/share/fonts/X11/cyrillic")
>> + (file-append font-misc-misc ;default fonts for xterm
>> + "/share/fonts/X11/misc")
>> (file-append font-adobe75dpi "/share/fonts/X11/75dpi")))
>>
>> (define* (xorg-configuration-file #:key
>>
>>
>> That adds 4.1 MiB, but it saves user headaches, so I think it’s worth it.
>>
>> I’ll go ahead and push that if there are no objections.
>
> And another bug down! :) Thanks for fixing it; LGTM!
Awesome, I went ahead and pushed as
4afc903a8c1b9cb19c0341b5cd2ea80a34974f25.
Thanks everyone!
Ludo’.
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2017-12-01 15:02 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
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).