Bug#1022942: xterm: cannot load font "-*-terminus-*-*-*-32-*-*-*-*-*-*-*"
- To: dickey@his.com, 1022942@bugs.debian.org
- Subject: Bug#1022942: xterm: cannot load font "-*-terminus-*-*-*-32-*-*-*-*-*-*-*"
- From: Andreas Tille <andreas@an3as.eu>
- Date: Tue, 1 Nov 2022 09:23:55 +0100
- Message-id: <[🔎] Y2DXmwiczT7+otZ8@an3as.eu>
- Reply-to: Andreas Tille <andreas@an3as.eu>, 1022942@bugs.debian.org
- In-reply-to: <20221030205324.GA12618@prl-debianold-64.jexium-island.net>
- References: <166693991092.4375.17405468900875425593.reportbug@sputnik> <20221028074952.GA2980@prl-debianold-64.jexium-island.net> <166693991092.4375.17405468900875425593.reportbug@sputnik> <20221030205324.GA12618@prl-debianold-64.jexium-island.net> <166693991092.4375.17405468900875425593.reportbug@sputnik>
Am Sun, Oct 30, 2022 at 04:53:24PM -0400 schrieb Thomas Dickey:
> > > $ grep font /etc/X11/Xresources/xterm | grep -v ^!
> > > *VT100.utf8Fonts.font: fixed
> > > XTerm.VT100.font1: -*-terminus-*-*-*-16-*-*-*-*-*-*-*
> > > XTerm.VT100.font2: -*-terminus-*-*-*-18-*-*-*-*-*-*-*
> > > XTerm.VT100.font3: -*-terminus-*-*-*-20-*-*-*-*-*-*-*
> > > XTerm.VT100.font4: -*-terminus-*-*-*-24-*-*-*-*-*-*-*
> > > XTerm.VT100.font5: -*-terminus-*-*-*-28-*-*-*-*-*-*-*
> > > XTerm.VT100.font6: -*-terminus-*-*-*-32-*-*-*-*-*-*-*
>
> for the record, xfonts-terminus includes all of these sizes.
>
> > > here. If I uncomment these settings xterm starts. However, I think xterm should not
> >
> > Is that "uncomment", or "comment"?
Sorry its "comment".
> > (the grep seems to indicate that the latter is meant)
> >
> > > crash with segmentation fault when not finding some specified font.
> >
> > agreed -
>
> I've not been able to reproduce the problem, which I suspect is in
> the error-recovery section of xterm's xtermLoadFont function.
>
> Perhaps seeing the whole set of resources would help
> (the output of "xrdb -query", too).
I have:
$ xrdb -query
*VT100.utf8Fonts.font: fixed
XTermVT100.faceSize: 22
XTerm*geometry: 111x36
xterm*vt100.initialFont: 6
YTerm*geometry: 90x50
xterm*visualBell: true
Rxvt.keysym.Delete: \b
Rxvt.termName: xterm
XTerm*decTerminalID: 200
XTerm*color0: black
XTerm*color1: red
XTerm*color2: green
XTerm*color3: yellow
XTerm*color4: blue
XTerm*color5: magenta
XTerm*color6: cyan
XTerm*color7: white
XTerm*color8: black
XTerm*color9: red
XTerm*color10: green
XTerm*color11: yellow
XTerm*color12: blue
XTerm*color13: magenta
XTerm*color14: cyan
XTerm*color15: white
XTerm*termName: xterm
XTerm*title: XTerm
XTerm*colorMode: on
XTerm*background: blue
XTerm*foreground: white
XTerm*loginShell: true
XTerm*dynamicColors: on
The crash happens for
$ xrdb -query
*VT100.utf8Fonts.font: fixed
XTermVT100.faceSize: 22
XTerm*geometry: 111x36
XTerm.VT100.font1: -*-terminus-*-*-*-16-*-*-*-*-*-*-*
XTerm.VT100.font2: -*-terminus-*-*-*-18-*-*-*-*-*-*-*
XTerm.VT100.font3: -*-terminus-*-*-*-20-*-*-*-*-*-*-*
XTerm.VT100.font4: -*-terminus-*-*-*-24-*-*-*-*-*-*-*
XTerm.VT100.font5: -*-terminus-*-*-*-28-*-*-*-*-*-*-*
XTerm.VT100.font6: -*-terminus-*-*-*-32-*-*-*-*-*-*-*
xterm*vt100.initialFont: 6
YTerm*geometry: 90x50
xterm*visualBell: true
Rxvt.keysym.Delete: \b
Rxvt.termName: xterm
XTerm*decTerminalID: 200
XTerm*color0: black
XTerm*color1: red
XTerm*color2: green
XTerm*color3: yellow
XTerm*color4: blue
XTerm*color5: magenta
XTerm*color6: cyan
XTerm*color7: white
XTerm*color8: black
XTerm*color9: red
XTerm*color10: green
XTerm*color11: yellow
XTerm*color12: blue
XTerm*color13: magenta
XTerm*color14: cyan
XTerm*color15: white
XTerm*termName: xterm
XTerm*title: XTerm
XTerm*colorMode: on
XTerm*background: blue
XTerm*foreground: white
XTerm*loginShell: true
XTerm*dynamicColors: on
I confirm I have installed xfonts-terminus
$ apt policy xfonts-terminus
xfonts-terminus:
Installiert: 4.48-3.1
Installationskandidat: 4.48-3.1
Versionstabelle:
*** 4.48-3.1 500
500 http://deb.debian.org/debian testing/main amd64 Packages
500 http://deb.debian.org/debian unstable/main amd64 Packages
500 http://ftp.debian.org/debian unstable/main amd64 Packages
100 /var/lib/dpkg/status
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: