You are not logged in.
I'm getting an error when using the xfoil AUR package. The steps to produce the error are:
1) Run the xfoil shell command:
$ xfoil2) Run this command in the xfoil prompt
naca 24123) Run this command in the xfoil prompt:
gdesignWhich gives me this error:
XFOIL c> gdesign
You are working with the buffer airfoil
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 45 (X_OpenFont)
Serial number of failed request: 26
Current serial number in output stream: 28A similar error for xfoil is discussed here: https://bbs.archlinux.org/viewtopic.php?id=257939
A similar error for other programs is discussed here: https://bbs.archlinux.org/viewtopic.php?id=204116
Reading through those discussions led me to believe that installing some font packages may fix the problem, so I installed these:
xorg-font-util
xorg-fonts-100dpi
xorg-fonts-75dpi
xorg-fonts-encodings
xorg-fonts-misc
xorg-fonts-type1
xorg-mkfontscale
But that didn't fix the problem.
Note: I left a comment about this issue on the AUR webpage a few days ago, but haven't received a response.
Last edited by tda (2026-11-20 04:12:27)
Offline
https://bbs.archlinux.org/viewtopic.php … 7#p1919477
Do you have any ttf's and specifically cantarell isntalled?
Also might be related to https://wiki.archlinux.org/title/X_Logi … on#Aliases - did you btw. rehash fonts explicitly after installing the packages?
(And/or restart the X11 server)
Offline
Looks like I do have some ttf and cantarell installed. I'm not 100% sure how to check but here is the output of pacman -Q:
$ pacman -Q | grep ttf
sdl2_ttf 2.24.0-2
sdl3_ttf 3.2.2-3
ttf-dejavu 2.37+18+g9b5d1b2f-8
ttf-liberation 2.1.5-2
$ pacman -Q | grep cantarell
cantarell-fonts 1:0.311-1And yeah I've been rebooting after installing new font packages.
Offline
Grepping the sources it creates XC_draft_small using "6x12" - the latter being part of https://archlinux.org/packages/extra/an … onts-misc/
What does your xorg log look like?
Also https://archlinux.org/packages/extra/x8 … -xlsfonts/
Offline
I have no /var/log/Xorg* files, and my ~/.local/share/xorg/Xorg.0.log is three years old, so my understanding is that the xorg log is in journalctl. Here is the output of my journalctl -b. I couldn't find any Xorg entries, but the last three lines are after I ran xfoil and it failed.
https://paste.c-net.org/FrozenBrandon
And I tried installing xorg-xlsfonts (if that's what you are suggesting) but the problem is the same.
Offline
You're running gnome, ie. xfoil will run on xwayland, the Xorg log is typically .8.log (and definitely not in the journal)
The idea of xlsfonts was to use it and check whether 6x12 is found ![]()
Does xfoil work on eg. an openbox session?
Offline
Sorry, where is .8.log located? I looked around on my computer and searched the web but can't find any info about this file.
And sorry for any delays, I'm having this problem on my desktop which I only access in the evenings. I actually do not get this problem on my laptop, which is also running Arch, Wayland and Gnome, and has those same font packages installed.
Offline
Run "pacman -Qq" on both systems and diff the results - it'll likely be a font or cursor relate package.
Possibly https://archlinux.org/packages/extra/x8 … fontscale/ ?
idk whether and where gnome specifically stores xwayland logs, but ~/.local/share/xorg would have been my best guess.
Offline
Alright I figured it out.
I used pacman -Qq to compare the font packages between my laptop and desktop, but they were the same.
I ran xfoil on openbox and got the same error. However, openbox did generate ~/.local/share/xorg/Xorg.0.log which had some warnings like this (I pulled output below from somewhere online, I don't have the exact output because my Xorg.0.log has since been overwritten):
[ 732.924] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[ 732.924] Entry deleted from font path.
[ 732.924] (Run 'mkfontdir' on "/usr/share/fonts/misc").
[ 732.924] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[ 732.924] Entry deleted from font path.
[ 732.924] (Run 'mkfontdir' on "/usr/share/fonts/TTF").
[ 732.924] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/OTF".
[ 732.924] Entry deleted from font path.
[ 732.924] (Run 'mkfontdir' on "/usr/share/fonts/OTF").So I ran
$ sudo mkfontdir /usr/share/fonts/misc
$ sudo mkfontdir /usr/share/fonts/TTF
$ sudo mkfontdir /usr/share/fonts/OTFand that fixed it.
Thank you for the help seth!
Last edited by tda (2026-11-20 04:18:12)
Offline