Hello @zawertun
I have installed hack-fonts
package and I have this issue when I launch alacritty
:
$ fc-list | grep "Hack"
/usr/share/fonts/hack/Hack-Regular.ttf: Hack:style=Regular
/usr/share/fonts/hack/Hack-Italic.ttf: Hack:style=Italic
/usr/share/fonts/hack/Hack-Bold.ttf: Hack:style=Bold
/usr/share/fonts/hack/Hack-BoldItalic.ttf: Hack:style=Bold Italic
My alacritty
configuration: dotfiles/alacritty.yml.tmpl at 7b112dc90145f39e2784d8cf8ad15c86e8a3efc4 · stephane-klein/dotfiles · GitHub :
...
font:
normal:
family: Hack Nerd Font Mono
style: Regular
bold:
family: Hack Nerd Font Mono
style: Bold
italic:
family: Hack Nerd Font Mono
style: Italic
bold_italic:
family: Hack Nerd Font Mono
style: Bold Italic
size: 11
Do you know how can I fix it?
$ neofetch --stdout
stephane@fedora
---------------
OS: Fedora Linux 37 (Workstation Edition) x86_64
Host: 21CQCTO1WW ThinkPad T14s Gen 3
Kernel: 6.1.14-200.fc37.x86_64
Uptime: 8 hours, 25 mins
Packages: 2041 (rpm), 26 (flatpak)
Shell: zsh 5.9
Resolution: 1920x1200
DE: GNOME 43.3
WM: Mutter
WM Theme: Adwaita
Theme: Adwaita [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: gnome-terminal
CPU: AMD Ryzen 7 PRO 6850U with Radeon Graphics (16) @ 2.700GHz
GPU: AMD ATI Radeon 680M
Memory: 3698MiB / 30846MiB
Best regards,
Stéphane
zawertun
(Yaroslav Sidlovsky)
2
Hello!
Actually my package includes only the “Hack” font family.
“Hack Nerd Font” - is patched version of “Hack” and it’s not included in the package.
(you can find it here: https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/Hack)
I’ll try to include it.
пт, 10 мар. 2023 г. в 09:53, Stéphane Klein via Fedora Discussion <notifications@fedoraproject.discoursemail.com>:
1 Like
zawertun
(Yaroslav Sidlovsky)
3
Should be fixed in hack-fonts-3.003-2 (https://copr.fedorainfracloud.org/coprs/zawertun/hack-fonts/build/5621657/).
There is a new package hack-nerd-fonts that is recommended (weak dependency) by hack-fonts package.
It will be installed after the update.
пт, 10 мар. 2023 г. в 10:24, Ярослав Сидловский <zawertun@gmail.com>:
Sorry, I didn’t pay attention to the fact that this was not the “nerd” version
.
Before I tried to find a ready-made package, I had executed these instructions:
$ git clone --filter=blob:none --sparse https://github.com/ryanoasis/nerd-fonts.git ~/nerd-fonts
$ cd nerd-fonts
$ git sparse-checkout add patched-fonts/Hack
$ ./install.sh Hack
$ fc-list | grep "Hack"
/home/stephane/.local/share/fonts/NerdFonts/Hack Bold Italic Nerd Font Complete.ttf: Hack Nerd Font:style=Bold Italic
/home/stephane/.local/share/fonts/NerdFonts/Hack Regular Nerd Font Complete.ttf: Hack Nerd Font:style=Regular
/home/stephane/.local/share/fonts/NerdFonts/Hack Italic Nerd Font Complete.ttf: Hack Nerd Font:style=Italic
/home/stephane/.local/share/fonts/NerdFonts/Hack Bold Nerd Font Complete.ttf: Hack Nerd Font:style=Bold
But I encountered the same problems as indicated in the first comment.
Same error with:
$ sudo ./install.sh -S Hack
to install to global system path for all users.
$ sudo fc-list | grep "Hack"
/usr/local/share/fonts/NerdFonts/Hack Bold Nerd Font Complete.ttf: Hack Nerd Font:style=Bold
/usr/local/share/fonts/NerdFonts/Hack Regular Nerd Font Complete.ttf: Hack Nerd Font:style=Regular
/usr/local/share/fonts/NerdFonts/Hack Italic Nerd Font Complete.ttf: Hack Nerd Font:style=Italic
/usr/local/share/fonts/NerdFonts/Hack Bold Italic Nerd Font Complete.ttf: Hack Nerd Font:style=Bold Italic

Thanks! Perfect, my issue is fixed with your update 