You are not logged in.
Hey, just installed the nerd fonts layout through the AUR package nerd-fonts-complete. I found this relevant Font Configuration wiki page and this one on manually installing Fonts.
As I understood, I need to move the font files to either the already specified font paths both for Font Config and Xserver or add the custom paths myself. Which I did.
/etc/X11/xorg.conf content:
Section "Module"
Load "modesetting"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "1:0:0"
Option "AllowEmptyInitialConfiguration"
EndSection
Section "Files"
FontPath "/usr/share/fonts/nerd-fonts-complete/ttf/"
EndSection
Output of grep /fonts /var/log/Xorg.0.log:
[ 4.914] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 4.916] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 4.916] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 4.916] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
/usr/share/fonts/nerd-fonts-complete/ttf/,
/usr/share/fonts/TTF,
/usr/share/fonts/OTF
Output of fc-list | grep -i hack:
rodrigo ~ fc-list | grep -i hack
/usr/share/fonts/nerd-fonts-complete/ttf/Hack Italic Nerd Font Complete Mono.ttf: Hack Nerd Font Mono:style=Italic
/usr/share/fonts/nerd-fonts-complete/ttf/Hack Bold Nerd Font Complete.ttf: Hack Nerd Font:style=Bold
/usr/share/fonts/nerd-fonts-complete/ttf/Hack Bold Italic Nerd Font Complete Mono.ttf: Hack Nerd Font Mono:style=Bold Italic
/usr/share/fonts/nerd-fonts-complete/ttf/Hack Regular Nerd Font Complete.ttf: Hack Nerd Font:style=Regular
/usr/share/fonts/nerd-fonts-complete/ttf/Hack Italic Nerd Font Complete.ttf: Hack Nerd Font:style=Italic
/usr/share/fonts/nerd-fonts-complete/ttf/Hack Regular Nerd Font Complete Mono.ttf: Hack Nerd Font Mono:style=Regular
/usr/share/fonts/nerd-fonts-complete/ttf/Hack Bold Italic Nerd Font Complete.ttf: Hack Nerd Font:style=Bold Italic
/usr/share/fonts/nerd-fonts-complete/ttf/Hack Bold Nerd Font Complete Mono.ttf: Hack Nerd Font Mono:style=Bold
Should I just move everything to the default paths?
Last edited by VanillaLandlord (2018-11-16 13:10:12)
Offline
Should I just move everything to the default paths?
What do you mean by default paths and what would you aim to achieve by that move?
Edit:
Oh and welcome to the arch linux forums VanillaLandlord.
Last edited by loqs (2018-10-21 18:18:10)
Offline
VanillaLandlord wrote:Should I just move everything to the default paths?
What do you mean by default paths and what would you aim to achieve by that move?
Edit:
Oh and welcome to the arch linux forums VanillaLandlord.
The paths specified by default as the "fonts paths", which apparently are:
/usr/share/fonts/TTF,
/usr/share/fonts/OTF
And by moving to said defalt paths, I was hoping the Xserver would be able to identify the new fonts.
Thank you!
Last edited by VanillaLandlord (2018-10-21 18:29:54)
Offline
Which application is unable to find the fonts using the X?
In /usr/share/fonts/nerd-fonts-complete/ttf/ did you run?
$ mkfontscale
$ mkfontdir
Offline
Which application is unable to find the fonts using the X?
In /usr/share/fonts/nerd-fonts-complete/ttf/ did you run?$ mkfontscale $ mkfontdir
I did now, still didn't work. I didn't before because I assumed it wasn't needed in more recent versions.
Edit: the application is the gnome-terminal.
Last edited by VanillaLandlord (2018-10-21 18:52:52)
Offline
gnome-terminal uses font-config and the output you posted shows font-config already listing fonts in /usr/share/fonts/nerd-fonts-complete/ttf.
How have you configured gnome-terminal to use those fonts?
Offline
gnome-terminal uses font-config and the output you posted shows font-config already listing fonts in /usr/share/fonts/nerd-fonts-complete/ttf.
How have you configured gnome-terminal to use those fonts?
The fonts are not listed in the preferences menu. Am I supposed to configure the font paths for gnome-terminal?
Edit: I found this workaround. But it really isn't the optimal solution since it forces me have the same font (including size) on all applications.
Last edited by VanillaLandlord (2018-10-21 19:12:35)
Offline
Offline
Ha! So gnome terminal filters out all non-monospace fonts... Thanks for your help!
Offline
See https://github.com/ryanoasis/nerd-fonts and the available single-width options
Offline
See https://github.com/ryanoasis/nerd-fonts and the available single-width options
I certainly will, thank you again
Offline
loqs wrote:See https://github.com/ryanoasis/nerd-fonts and the available single-width options
I certainly will, thank you again
Assuming its solved, can you please mark this as solved by editing your first post?
Offline