You are not logged in.

#1 2023-02-22 13:23:46

Yew
Member
Registered: 2023-02-07
Posts: 9

[SOLVED] xterm cannot load font for enormous etc

When I launch xterm, if I ctrl right mouse click I see an error from the window where I launched it:

Warning: Cannot convert string "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-*" to type FontStruct

If I select 'Enormous' I see this error:

xterm: cannot load font "-adobe-courier-medium-r-normal--24-240-75-75-m-150-iso10646-1"

I have installed various font packages. What package do I need to install?

 xterm -report-fonts|grep -i iso
	fBold: -Misc-Fixed-bold-R-*-*-13-120-75-75-C-60-ISO8859-1
	fWide: -Misc-Fixed-medium-R-*-*-13-120-75-75-C-120-ISO10646-1
	fWBold: -Misc-Fixed-medium-R-*-*-13-120-75-75-C-120-ISO10646-1
	fNorm: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
	fBold: -Misc-Fixed-bold-R-*-*-13-120-75-75-C-60-ISO10646-1
	fWide: -Misc-Fixed-medium-R-*-*-13-120-75-75-C-120-ISO10646-1
	fWBold: -Misc-Fixed-medium-R-*-*-13-120-75-75-C-120-ISO10646-1


extra/adobe-source-code-pro-fonts 2.038ro+1.058it+1.018var-1 [installed]
extra/adobe-source-sans-fonts 3.046-1 [installed]
extra/adobe-source-serif-fonts 4.005-1 [installed]
extra/cantarell-fonts 1:0.303.1-1 [installed]
extra/fluidsynth 2.3.1-1 (pro-audio) [installed]
extra/fontconfig 2:2.14.2-1 [installed]
extra/freetype2 2.13.0-1 [installed]
extra/gnome-font-viewer 43.0-1 (gnome) [installed]
extra/gnu-free-fonts 20120503-8 [installed]
extra/gsfonts 20200910-2 [installed]
extra/libfontenc 1.1.7-1 [installed]
extra/libotf 0.9.16-3 [installed]
extra/libxfont2 2.0.6-1 [installed]
extra/libxft 2.3.7-1 [installed]
extra/noto-fonts-emoji 20220920-1 [installed]
extra/woff2 1.0.2-4 [installed]
extra/xorg-fonts-alias-misc 1.0.4-1 [installed]
extra/xorg-fonts-encodings 1.0.6-1 (xorg-fonts xorg) [installed]
extra/xorg-fonts-misc 1.0.3-10 [installed]
extra/xorg-mkfontscale 1.2.2-1 (xorg-apps xorg) [installed]
extra/xorg-xfontsel 1.1.0-1 [installed]
community/ttf-anonymous-pro 1.003-7 [installed]
community/ttf-liberation 2.1.5-1 [installed]

Last edited by Yew (2023-02-22 16:27:57)

Offline

#2 2023-02-22 13:40:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,378

Re: [SOLVED] xterm cannot load font for enormous etc

Please use "code" tags, https://bbs.archlinux.org/help.php#bbcode - edit your post in this regard.

https://archlinux.org/packages/extra/an … ts-100dpi/ - but just try

xterm -fa "Source Code"

https://wiki.archlinux.org/title/Xterm#Fonts

Offline

#3 2023-02-22 15:12:27

Yew
Member
Registered: 2023-02-07
Posts: 9

Re: [SOLVED] xterm cannot load font for enormous etc

seth wrote:

Please use "code" tags, https://bbs.archlinux.org/help.php#bbcode - edit your post in this regard.

https://archlinux.org/packages/extra/an … ts-100dpi/ - but just try

xterm -fa "Source Code"

https://wiki.archlinux.org/title/Xterm#Fonts

Thanks, "Source Code" worked, creating absolutely enormous text, but installing 100dpi font didn't by default but I can now use:

xterm -fn "*-*-*-*-*-*-20-*"

Maybe it's because I am using Wayland?

Or maybe I need a font server?

Offline

#4 2023-02-22 15:20:29

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,378

Re: [SOLVED] xterm cannot load font for enormous etc

Why are you usign xterm on wayland?
You're technically not using wayland, but xwayland - a nested X11 server.

creating absolutely enormous text

Quantify "enormous". Do you still have the "Enormous" size selected in xterm?
Is there a problem here (and which)?
Try

xterm -fa "Source Code-8"

Offline

#5 2023-02-22 16:21:51

Yew
Member
Registered: 2023-02-07
Posts: 9

Re: [SOLVED] xterm cannot load font for enormous etc

I've made some progress now, just rebooting the system seems to have improved things. Before rebooting, the 'Enormous' option was giving me 71 characters across width of the screen, after rebooting it is giving me 110. All the error messages have gone so seems to be fine.

To answer your question, I am using xterm because the default terminal with gnome, which I think is called kgx, crashed on me during a compilation. I also noticed it was using 1%-4% of %MEM according to top.

Offline

Board footer

Powered by FluxBB