You are not logged in.

#1 2016-05-13 13:54:17

eistaucher
Member
Registered: 2015-05-25
Posts: 6

[SOLVED] Problem with different fonts in xterm

Hi,

I want to use a font from the aur/oldschool-pc-fonts package (I don't know which one yet so I want to try a few first).

Currently I am using xterm but I don't know which String I have to pass in the ~/.Xresources file to the xterm*faceName command.
I tried to use xfontsel but it didn't list the oldschool fonts.
So I tried

Maybe you can tell me how xterm needs to call them...

So I tried some other terminals (lilyterm and sakura). Now I am able to select the fonts from a menu and it looks beautiful.
BUT: As soon as I start typing something, my cursor and everything I type is hidden.

When I press enter, the line is getting visible and the command is executed immediately.

Can anyone tell my how to solve these Problems?

Thanks a lot!

Last edited by eistaucher (2016-05-13 15:01:28)

Offline

#2 2016-05-13 14:20:06

Painless
Member
Registered: 2006-02-06
Posts: 234

Re: [SOLVED] Problem with different fonts in xterm

Hi,

The .Xdefaults parameter you need (for TrueType fonts in xterm) is xterm*faceName.

An example for you to work from:

xterm*faceName: xft:DejaVu Sans Mono:pixelsize=16:antialias=true:autohint=true

Replace "DejaVu Sans Mono" with the name of any monospace TrueType font installed on your PC.  Usually you will have "DejaVu Sans Mono" installed (but check).  You can experiment with changing pixelsize/autohint etc afterwards.

Offline

#3 2016-05-13 14:27:40

eistaucher
Member
Registered: 2015-05-25
Posts: 6

Re: [SOLVED] Problem with different fonts in xterm

Hi,

Thanks Painless for your Answer. I already tried this but I wasn't able to find out how the oldscool fonts are named but I will try again.

I just want to give an update about the other terminals. I found out that the cursorline isn't "hidden" at all, it is just not updated. As soon as my
mousepointer activates another window (or I am switching to another window by hotkey), the entered text appears immediately.

It seems like it isn't updated on a normal keystroke.

Any Idea from what this can be caused? I am btw using the i3 window manager.

Thanks,
eistaucher

Offline

#4 2016-05-13 14:34:42

Painless
Member
Registered: 2006-02-06
Posts: 234

Re: [SOLVED] Problem with different fonts in xterm

Hi,

I've never used the oldschool fonts, lilyterm or sakura, so I can't help you there

I'd recommend you try out some of the more mainstream fonts as detailed here: https://wiki.archlinux.org/index.php/fonts#Monospaced.

If you're like me, you will be switching fonts every few years or so!  smile

Last edited by Painless (2016-05-13 14:35:38)

Offline

#5 2016-05-13 14:42:05

Painless
Member
Registered: 2006-02-06
Posts: 234

Re: [SOLVED] Problem with different fonts in xterm

I also forgot to say that you can list the fonts installed on your system by running:

fc-list

The second field is the valid font name.  You may be able to identify some of your oldschool fonts this way.

Offline

#6 2016-05-13 15:01:04

eistaucher
Member
Registered: 2015-05-25
Posts: 6

Re: [SOLVED] Problem with different fonts in xterm

Painless wrote:
fc-list

The second field is the valid font name.  You may be able to identify some of your oldschool fonts this way.

Thats it! Thanks a lot!!!!

I am still wondering whats wrong with the other terminals but thats not so important....

Offline

#7 2016-05-13 15:42:15

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,438

Re: [SOLVED] Problem with different fonts in xterm

are you using latest xf86-video-intel?, there is bug in it which makes fonts invisible in terminal before pressing enter. Try downgrading xf86-video-intel.

Offline

Board footer

Powered by FluxBB