You are not logged in.

#1 2021-04-24 12:41:45

excusix
Member
Registered: 2021-04-24
Posts: 3

Find out Arch Linux installer font

Hello everybody,

this is not really a problem with arch, but for a few days now, I'm trying to figure out the name of a font which is used in the arch installer.
I really like it and I'd like to use it for my gnome-terminal.

I know it's silly to spend so much time just for a font, but i got a little hooked on it because I don't understand how it can be so hard to figure out.
I already looked through all the fonts I found here: https://wiki.archlinux.org/index.php/fonts
Maybe I missed it, but I don't think it's there.

I noticed that one of my installed systems is using the same font (I did not change anything) during password request of my encrypted system partition (see image below).
I'm not that familiar with bootup process but I assumed this "encrypt" hook should be part of the initramfs, so I extracted it (lsinitcpio -x initramfs-linux-lts.img).
But I don't know where to look for. A full "grep -rni font" delivered no results.

https://i.ibb.co/SQyzdwF/20210421-161412.jpg

Does anyone have an idea how to find out?
Or does anyone maybe already know the name of this font?

Thanks for your help!

moderator edit -- replaced oversized image with link.
Pasting pictures and code

Last edited by 2ManyDogs (2021-04-24 12:45:27)

Offline

#3 2021-04-24 13:37:03

tucuxi
Member
From: Switzerland
Registered: 2020-03-08
Posts: 291

Re: Find out Arch Linux installer font

That is a bitmap font. In a desktop environment you would probably want to use scalable font instead.

Check /etc/vconsole.conf. You should find the font name there.

Offline

#4 2021-04-24 13:39:49

Psykorgasm
Member
Registered: 2011-11-24
Posts: 177

Re: Find out Arch Linux installer font

Offline

#5 2021-04-24 13:47:23

seth
Member
Registered: 2012-09-03
Posts: 57,348

Re: Find out Arch Linux installer font

Look at the image he posted, is that https://static.alexandre.deverteuil.net … 6.psfu.png ?

Offline

#6 2021-04-24 15:28:59

progandy
Member
Registered: 2012-05-17
Posts: 5,229

Re: Find out Arch Linux installer font

That looks like terminus I think. The kernel uses terminus (32pixel) for HiDPI resolutions. It is available in smaller sizes for the kernel as well as formats for use in the gui here:

https://archlinux.org/packages/communit … inus-font/
https://aur.archlinux.org/packages/terminus-font-ttf/

Last edited by progandy (2021-04-24 15:33:39)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#7 2021-04-24 16:53:07

excusix
Member
Registered: 2021-04-24
Posts: 3

Re: Find out Arch Linux installer font

Thank you all!
Now I'm much further.
progady is right, when I switch to a real console with Ctrl+F3 and enter "setfont ter-132b" I get exactly what I'm looking for.
So now I know the font. But I cannot set it in a console emulator like "gnome-terminal" or "xterm", I get "Couldn't get a file descriptor referring to the console." probably because it is a bitmap font as tucuxi mentioned.
I downloaded "terminus-font" packet but it seems to be incompatible with different terminals.
Gnome terminal shows a completely different, very ugly, extremely wide font.
Terminus show nothing at all, text is completely gone.

Maybe it's rather a gnome problem then, but the font is an arch package, right?

Any further ideas?

Thanks so far!

Offline

#8 2021-04-24 17:13:31

seth
Member
Registered: 2012-09-03
Posts: 57,348

Re: Find out Arch Linux installer font

Terminus is a bitmap font no matter what.
gnome-terminal supports the otb variant (pango scrapped pcf support) but you'll have to select and restart gnome-terminal (probably the server, in doubt re-login) in order to use it (what you describe sounds like it's resorting to sans because terminus isn't found and variable width fonts in TEs are horrible)

Offline

#9 2021-04-24 18:04:07

excusix
Member
Registered: 2021-04-24
Posts: 3

Re: Find out Arch Linux installer font

Re-login did the job, thanks!
Seems that the "b" in "ter-132b" stands for "bold".
Selecting "Terminus Bold" loads the non bold font in gnome-terminal, so not exactly the same.
But I can live with that.

Thank you all for your help!

Offline

#10 2021-04-24 20:02:05

seth
Member
Registered: 2012-09-03
Posts: 57,348

Re: Find out Arch Linux installer font

printf 'not \e[1mbold\e[0m anymore'

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB