Closed MatMoul closed 1 year ago
Thank you, it's a modest effort as I'm slowly getting into the codebase and I haven't written C for a long time now…
Indeed I think you're missing the font.
What does xlsfonts | grep fixed | grep "iso8859-1$"
returns? (I guess nothing)
Does xlsfonts | grep fixed | grep "iso10646-1$"
returns something? (From what I read iso10646 means unicode)
x48ng -smallFont "-*-fixed-bold-r-normal-*-14-*-*-*-*-*-iso10646-1" -mediumFont "-*-fixed-bold-r-normal-*-15-*-*-*-*-*-iso10646-1" -largeFont "-*-fixed-medium-r-normal-*-20-*-*-*-*-*-iso10646-1" -connFont "-*-fixed-medium-r-normal-*-12-*-*-*-*-*-iso10646-1"
works for me
I'm running Slackware which tends to be conservative and all-batteries-included but maybe your OS doesn't include such legacy fonts?
You can check more directly with xlsfonts -fn "-*-fixed-medium-r-normal-*-14-*-*-*-*-*-iso8859-1"
for example
Thanks for your feedback, Result of the first cmd :
-misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
-misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1
-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
And the second cmd :
xlsfonts: pattern "-*-fixed-medium-r-normal-*-14-*-*-*-*-*-iso8859-1" unmatched
It seem that I'm missing the 14. My XOrg installation is very minimal. I didn't even have xlsfonts installed.
I will try to investigate these next days.
That's it, I found what I was missing on my ArchLinux installation.
Here is the list of dependencies I need:
readline libxext xterm xorg-mkfontscale xorg-fonts-misc
For info, I have published the x48ng and x48ng-git packages on AUR. If you want to take control of it, ask me and I'll give it to you.
I maintain them using arch-pkgbuilder and that's what allowed me to see your work so quickly.
If you have this problem:
$ x48ng
FATAL ERROR, exit.
- can't load font '-*-fixed-bold-r-normal-*-14-*-*-*-*-*-iso8859-1'
- Please change resource 'x48ng'
try this:
x48ng --x11 --small-font "*-monotype-arial-bold-r-normal-*-12-*-*-*-*-*-iso10646-1" --medium-font "*-monotype-arial-medium-r-normal-*-14-*-*-*-*-*-iso10646-1" --large-font "*-monotype-arial-medium-r-normal-*-18-*-*-*-*-*-iso10646-1" --connection-font "*-monotype-arial-bold-r-normal-*-12-*-*-*-*-*-iso10646-1"
Firstly, thanks to revive x48... I sent a small PR for the x48ng.desktop file.
But on my setup I have a problem that was already there with x48. When I run x48 or x48ng, I have to add the following arguments:
-smallFont fixed -mediumFont fixed -largeFont fixed -connFont fixed
When I launch it without args in console, I have this return :
I suspect a missing font.
Do you have an idea?