You are not logged in.

#1 2024-07-12 16:43:10

Chaseis4344
Member
Registered: 2024-06-29
Posts: 6

[Solved] Installed Font not showing up in /usr/share/kbd/consolefonts

I'm trying to configure NeoVim but every time I do, I get font errors where it shows a box instead of a character. I think this is because I need to install a font to the console, so I found the font I want in pacman, "ttf-jetbrains-mono-nerd", but, I can't seem to figure out how to find where that font is now installed so I can get the name and set it for the console.

I have checked https://wiki.archlinux.org/title/Linux_console#Fonts  but the places mentioned in the article don't seem to contain my newly installed font.

I'm a little stumped, any help would be greatly appreciated. Thanks in advance.

EDIT: I figured out that I was setting up my terminal emulator (Tilix) after I had opened NeoVim which prevented it from actually changing the fonts until I restarted it and changed the settings again.

Last edited by Chaseis4344 (2024-07-12 20:58:59)

Offline

#2 2024-07-12 17:11:44

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,842
Website

Re: [Solved] Installed Font not showing up in /usr/share/kbd/consolefonts

/usr/share/kbd/consolefonts/ contains fonts to be used in the TTY. The ttf-jetbrains-mono-nerd package does not supply any TTY fonts.

How are you using neovim? Is it from a terminal emulator?

Some monospace fonts don't have complete coverage for all terminal characters so setting Jetbrains should fix that, it has very broad coverage.

EDIT: does this help?

~$ fc-match mono
JetBrainsMonoNerdFont-Regular.ttf: "JetBrainsMono Nerd Font" "Regular"
~$

Last edited by Head_on_a_Stick (2024-07-12 17:12:38)


Jin, Jîyan, Azadî

Offline

#3 2024-07-12 17:20:37

Chaseis4344
Member
Registered: 2024-06-29
Posts: 6

Re: [Solved] Installed Font not showing up in /usr/share/kbd/consolefonts

I'm using Tilix as my terminal emulator, and I'm just calling neovim from the command line from within Tilix.

When I set the Tilix's font and force it to be some form of JetBrains Mono, it still shows the same missing characters, so I figured I would have to install something lower down than the vconsole or at least at the vconsole level.

This is a big help, thank you so much

Last edited by Chaseis4344 (2024-07-12 17:21:44)

Offline

#4 2024-07-12 20:33:53

seth
Member
Registered: 2012-09-03
Posts: 64,258

Re: [Solved] Installed Font not showing up in /usr/share/kbd/consolefonts

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