can't get X terminal version

Bug reports and discussion about bugs.
Post Reply
User avatar
darwin
Posts: 41
Joined: Mon Mar 22, 2010 8:30 am
Location: USA
Contact:

can't get X terminal version

Post by darwin »

A frind is trying TomeNET in a X/Enlightenment Arch GNU/Linux X terminal but seems it launches the non-X terminal (tty) version: Image (https://imgur.com/a/poUYFz0). He now also gets errors about fonts. How can he run the regular X TomeNet version?
User avatar
jezek
Posts: 43
Joined: Tue Mar 10, 2020 3:07 pm

Re: can't get X terminal version

Post by jezek »

The main X window needs a 8x13 font at start (see in .tomentrc). Check with "xlsfonts" command if there are these kind of fonts installed.

Here is what I get on my manjaro:

Code: Select all

$ xlsfonts|grep 8x13
8x13
8x13
8x13b
8x13b
8x13o
8x13o
8x13tg
8x13tg
Note: You can try to install the tangar or extra fonts as written in tomenet downloads page and then use the 8x13tg font for main window in .tomenetrc to start in X11 window. Than use font config in game to list/change fonts.

I hope this helps.
User avatar
darwin
Posts: 41
Joined: Mon Mar 22, 2010 8:30 am
Location: USA
Contact:

Re: can't get X terminal version

Post by darwin »

My friend said it's a xorg-xlsfonts problem. He has that package so the xlsfonts command but it doesn't do something right in TomeNet if you see the log...
User avatar
jezek
Posts: 43
Joined: Tue Mar 10, 2020 3:07 pm

Re: can't get X terminal version

Post by jezek »

Maybe this helps. I have all the needed fonts in one directory (the needed 8x13 family and tangar fonts) and to use them I need to run a "xset fp+ <path>" command first. Like this:

Code: Select all

$ ls -a /opt/tomenet-4.9.1/lib/xtra/fonts/graphical
.            10x20.pcf    12x24tg.pcf  17x25tg.pcf  5x7.pcf     6x12.pcf    6x13tg.pcf  7x13.pcf    8x13O.pcf   9x15.pcf        fonts.dir
..           10x20tg.pcf  14x20tg.pcf  19x29tg.pcf  5x8.pcf     6x12tg.pcf  6x9.pcf     7x13tg.pcf  8x13.pcf    9x15tg.pcf
10x14tg.pcf  12x17tg.pcf  16x16tg.pcf  21x31tg.pcf  5x8tg.pcf   6x13B.pcf   6x9tg.pcf   7x14B.pcf   8x13tg.pcf  9x18B.pcf
10x16tg.pcf  12x18tg.pcf  16x22tg.pcf  24x36tg.pcf  6x10.pcf    6x13O.pcf   7x13B.pcf   7x14.pcf    8x16.pcf    9x18.pcf
10x17tg.pcf  12x24.pcf    16x24tg.pcf  4x6.pcf      6x10tg.pcf  6x13.pcf    7x13O.pcf   8x13B.pcf   9x15B.pcf   font_linux.zip

jezek@jeZenBook ~ 
$ xset fp+ /opt/tomenet-4.9.1/lib/xtra/fonts/graphical

jezek@jeZenBook ~ 
$ xset q
Keyboard Control:
...
Font Path:
  /usr/share/fonts/TTF,built-ins,/opt/tomenet-4.9.1/lib/xtra/fonts/graphical
DPMS (Display Power Management Signaling):
...
Note:the last "xset q" command is to see id the fonts dir is in the font path.
User avatar
darwin
Posts: 41
Joined: Mon Mar 22, 2010 8:30 am
Location: USA
Contact:

Re: can't get X terminal version

Post by darwin »

The programmers solved this on GitHub. It was in the guidebook or FAQ but my friend didn't read those, and I don't use Arch GNU/Linux.
Post Reply