$ curl -LO https://github.com/yuru7/HackGen/releases/download/v2.9.0/HackGen_NF_v2.9.0.zip
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23.0M 100 23.0M 0 0 2776k 0 0:00:08 0:00:08 --:--:-- 3416k
$ curl -LO https://github.com/yuru7/HackGen/releases/download/v2.9.0/HackGen_v2.9.0.zip
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 38.5M 100 38.5M 0 0 3173k 0 0:00:12 0:00:12 --:--:-- 4180k
$ unzip HackGen_NF_v2.9.0.zip
Archive: HackGen_NF_v2.9.0.zip creating: HackGen_NF_v2.9.0/ inflating: HackGen_NF_v2.9.0/HackGen35ConsoleNF-Bold.ttf inflating: HackGen_NF_v2.9.0/HackGen35ConsoleNF-Regular.ttf inflating: HackGen_NF_v2.9.0/HackGenConsoleNF-Bold.ttf inflating: HackGen_NF_v2.9.0/HackGenConsoleNF-Regular.ttf
$ unzip HackGen_v2.9.0.zip
Archive: HackGen_v2.9.0.zip creating: HackGen_v2.9.0/ inflating: HackGen_v2.9.0/HackGen-Bold.ttf inflating: HackGen_v2.9.0/HackGen-Regular.ttf inflating: HackGen_v2.9.0/HackGen35-Bold.ttf inflating: HackGen_v2.9.0/HackGen35-Regular.ttf inflating: HackGen_v2.9.0/HackGen35Console-Bold.ttf inflating: HackGen_v2.9.0/HackGen35Console-Regular.ttf inflating: HackGen_v2.9.0/HackGenConsole-Bold.ttf inflating: HackGen_v2.9.0/HackGenConsole-Regular.ttf
/usr/share/fonts/
や ~/.local/share/fonts
です🤔\\
$ cat /etc/fonts/fonts.conf
Default configuration file
/usr/share/fonts
/usr/share/X11/fonts/Type1 /usr/share/X11/fonts/TTF /usr/local/share/fonts
fonts
~/.fonts
mono
monospace
sans serif
sans-serif
sans
sans-serif
system ui
system-ui
conf.d
/usr/lib/fontconfig/cache
fontconfig
~/.fontconfig
30
$ cat /etc/fonts/fonts.conf
Default configuration file
/usr/share/fonts
/usr/local/share/fonts
fonts
~/.fonts
mono
monospace
sans serif
sans-serif
sans
sans-serif
*.dpkg-tmp
*.dpkg-new
conf.d
/var/cache/fontconfig
fontconfig
~/.fontconfig
30
$ mkdir ~/.local/share/fonts $ mv HackGen_NF_v2.9.0/*.ttf ~/.local/share/fonts/ $ mv HackGen_v2.9.0/*.ttf ~/.local/share/fonts/ $ fc-list | grep HackGen
/home/tomoyan/.local/share/fonts/HackGenConsole-Bold.ttf: HackGen Console:style=Bold /home/tomoyan/.local/share/fonts/HackGenConsoleNF-Regular.ttf: HackGen Console NF:style=Regular /home/tomoyan/.local/share/fonts/HackGen35ConsoleNF-Regular.ttf: HackGen35 Console NF:style=Regular /home/tomoyan/.local/share/fonts/HackGen35ConsoleNFJ-Regular.ttf: HackGen35 Console NFJ:style=Regular /home/tomoyan/.local/share/fonts/HackGen-Bold.ttf: HackGen:style=Bold /home/tomoyan/.local/share/fonts/HackGen35-Bold.ttf: HackGen35:style=Bold /home/tomoyan/.local/share/fonts/HackGenConsole-Regular.ttf: HackGen Console:style=Regular /home/tomoyan/.local/share/fonts/HackGen35ConsoleNF-Bold.ttf: HackGen35 Console NF:style=Bold /home/tomoyan/.local/share/fonts/HackGenConsoleNFJ-Regular.ttf: HackGen Console NFJ:style=Regular /home/tomoyan/.local/share/fonts/HackGen35Console-Bold.ttf: HackGen35 Console:style=Bold /home/tomoyan/.local/share/fonts/HackGen35Console-Regular.ttf: HackGen35 Console:style=Regular /home/tomoyan/.local/share/fonts/HackGen-Regular.ttf: HackGen:style=Regular /home/tomoyan/.local/share/fonts/HackGen35-Regular.ttf: HackGen35:style=Regular /home/tomoyan/.local/share/fonts/HackGen35ConsoleNFJ-Bold.ttf: HackGen35 Console NFJ:style=Bold /home/tomoyan/.local/share/fonts/HackGenConsoleNF-Bold.ttf: HackGen Console NF:style=Bold /home/tomoyan/.local/share/fonts/HackGenConsoleNFJ-Bold.ttf: HackGen Console NFJ:style=Bold
$ sudo apt install fontconfig