両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
linux:fonts [2022/08/19 06:59] – [インストール先確認] ともやん | linux:fonts [2023/09/06 15:20] (現在) – [フォントのダウンロード] ともやん |
---|
====== フォント ====== | ====== フォント ====== |
| [[:open_source:fonts|フォント]] (オープンソース) も参照🤤\\ |
| |
===== Linux でのフォントのインストール ===== | ===== Linux でのフォントのインストール ===== |
==== フォントのダウンロード ==== | ==== フォントのダウンロード ==== |
<WRAP color_term> | <WRAP color_term> |
<WRAP color_command><code> | <WRAP color_command><html><pre> |
$ curl -LO https://github.com/yuru7/HackGen/releases/download/v2.7.0/HackGen_NF_v2.7.0.zip | <b class=GRN>$</b> <b class=HIY>curl</b> <b class=HIK>-LO</b> https://github.com/yuru7/HackGen/releases/download/v2.9.0/HackGen_NF_v2.9.0.zip |
</code></WRAP> | </pre></html></WRAP> |
<WRAP color_result><code> | <WRAP color_result><html><pre> |
% Total % Received % Xferd Average Speed Time Time Time Current | % Total % Received % Xferd Average Speed Time Time Time Current |
Dload Upload Total Spent Left Speed | Dload Upload Total Spent Left Speed |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 |
100 42.0M 100 42.0M 0 0 2229k 0 0:00:19 0:00:19 --:--:-- 2223k | 100 23.0M 100 23.0M 0 0 2776k 0 0:00:08 0:00:08 --:--:-- 3416k |
</code></WRAP> | </pre></html></WRAP> |
| <WRAP color_command><html><pre> |
| <b class=GRN>$</b> <b class=HIY>curl</b> <b class=HIK>-LO</b> https://github.com/yuru7/HackGen/releases/download/v2.9.0/HackGen_v2.9.0.zip |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
| % 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 |
| </pre></html></WRAP> |
| |
<WRAP color_command><code> | <WRAP color_command><html><pre> |
$ unzip HackGen_NF_v2.7.0.zip | <b class=GRN>$</b> <b class=HIY>unzip</b> HackGen_NF_v2.9.0.zip |
</code></WRAP> | </pre></html></WRAP> |
<WRAP color_result><code> | <WRAP color_result><html><pre> |
Archive: HackGen_NF_v2.7.0.zip | Archive: HackGen_NF_v2.9.0.zip |
creating: HackGen_NF_v2.7.0/ | creating: HackGen_NF_v2.9.0/ |
inflating: HackGen_NF_v2.7.0/HackGen35ConsoleNF-Bold.ttf | inflating: HackGen_NF_v2.9.0/HackGen35ConsoleNF-Bold.ttf |
inflating: HackGen_NF_v2.7.0/HackGen35ConsoleNF-Regular.ttf | inflating: HackGen_NF_v2.9.0/HackGen35ConsoleNF-Regular.ttf |
inflating: HackGen_NF_v2.7.0/HackGen35ConsoleNFJ-Bold.ttf | inflating: HackGen_NF_v2.9.0/HackGenConsoleNF-Bold.ttf |
inflating: HackGen_NF_v2.7.0/HackGen35ConsoleNFJ-Regular.ttf | inflating: HackGen_NF_v2.9.0/HackGenConsoleNF-Regular.ttf |
inflating: HackGen_NF_v2.7.0/HackGenConsoleNF-Bold.ttf | </pre></html></WRAP> |
inflating: HackGen_NF_v2.7.0/HackGenConsoleNF-Regular.ttf | <WRAP color_command><html><pre> |
inflating: HackGen_NF_v2.7.0/HackGenConsoleNFJ-Bold.ttf | <b class=GRN>$</b> <b class=HIY>unzip</b> HackGen_v2.9.0.zip |
inflating: HackGen_NF_v2.7.0/HackGenConsoleNFJ-Regular.ttf | </pre></html></WRAP> |
</code></WRAP> | <WRAP color_result><html><pre> |
| 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 |
| </pre></html></WRAP> |
</WRAP> | </WRAP> |
| |
**Fedora**\\ | **Fedora**\\ |
<WRAP color_term> | <WRAP color_term> |
<WRAP color_command><code> | <WRAP color_command><html><pre> |
$ cat /etc/fonts/fonts.conf | <b class=GRN>$</b> <b class=HIY>cat</b> /etc/fonts/fonts.conf |
</code></WRAP> | </pre></html></WRAP> |
<WRAP color_result_long><code xml> | <WRAP color_result_long><code xml> |
<?xml version="1.0"?> | <?xml version="1.0"?> |
**DietPi**\\ | **DietPi**\\ |
<WRAP color_term> | <WRAP color_term> |
<WRAP color_command><code> | <WRAP color_command><html><pre> |
$ cat /etc/fonts/fonts.conf | <b class=GRN>$</b> <b class=HIY>cat</b> /etc/fonts/fonts.conf |
</code></WRAP> | </pre></html></WRAP> |
<WRAP color_result_long><code xml> | <WRAP color_result_long><code xml> |
<?xml version="1.0"?> | <?xml version="1.0"?> |
===== インストール ===== | ===== インストール ===== |
<WRAP color_term> | <WRAP color_term> |
<WRAP color_command><code> | <WRAP color_command><html><pre> |
$ mkdir ~/.local/share/fonts | <b class=GRN>$</b> <b class=HIY>mkdir</b> ~/.local/share/fonts |
$ mv HackGen_NF_v2.7.0/* ~/.local/share/fonts/ | <b class=GRN>$</b> <b class=HIY>mv</b> HackGen_NF_v2.9.0/*.ttf ~/.local/share/fonts/ |
$ fc-list | grep HackGen | <b class=GRN>$</b> <b class=HIY>mv</b> HackGen_v2.9.0/*.ttf ~/.local/share/fonts/ |
</code></WRAP> | <b class=GRN>$</b> <b class=HIY>fc-list</b> | <b class=HIY>grep</b> HackGen |
| </pre></html></WRAP> |
<WRAP color_result><html><pre> | <WRAP color_result><html><pre> |
| /home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>Console-Bold.ttf: <b class=RED>HackGen</b> Console:style=Bold |
/home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>ConsoleNF-Regular.ttf: <b class=RED>HackGen</b> Console NF:style=Regular | /home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>ConsoleNF-Regular.ttf: <b class=RED>HackGen</b> Console NF:style=Regular |
/home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>35ConsoleNF-Regular.ttf: <b class=RED>HackGen</b>35 Console NF:style=Regular | /home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>35ConsoleNF-Regular.ttf: <b class=RED>HackGen</b>35 Console NF:style=Regular |
/home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>35ConsoleNFJ-Regular.ttf: <b class=RED>HackGen</b>35 Console NFJ:style=Regular | /home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>35ConsoleNFJ-Regular.ttf: <b class=RED>HackGen</b>35 Console NFJ:style=Regular |
| /home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>-Bold.ttf: <b class=RED>HackGen</b>:style=Bold |
| /home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>35-Bold.ttf: <b class=RED>HackGen</b>35:style=Bold |
| /home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>Console-Regular.ttf: <b class=RED>HackGen</b> Console:style=Regular |
/home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>35ConsoleNF-Bold.ttf: <b class=RED>HackGen</b>35 Console NF:style=Bold | /home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>35ConsoleNF-Bold.ttf: <b class=RED>HackGen</b>35 Console NF:style=Bold |
/home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>ConsoleNFJ-Regular.ttf: <b class=RED>HackGen</b> Console NFJ:style=Regular | /home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>ConsoleNFJ-Regular.ttf: <b class=RED>HackGen</b> Console NFJ:style=Regular |
| /home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>35Console-Bold.ttf: <b class=RED>HackGen</b>35 Console:style=Bold |
| /home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>35Console-Regular.ttf: <b class=RED>HackGen</b>35 Console:style=Regular |
| /home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>-Regular.ttf: <b class=RED>HackGen</b>:style=Regular |
| /home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>35-Regular.ttf: <b class=RED>HackGen</b>35:style=Regular |
/home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>35ConsoleNFJ-Bold.ttf: <b class=RED>HackGen</b>35 Console NFJ:style=Bold | /home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>35ConsoleNFJ-Bold.ttf: <b class=RED>HackGen</b>35 Console NFJ:style=Bold |
/home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>ConsoleNF-Bold.ttf: <b class=RED>HackGen</b> Console NF:style=Bold | /home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>ConsoleNF-Bold.ttf: <b class=RED>HackGen</b> Console NF:style=Bold |
/home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>ConsoleNFJ-Bold.ttf: <b class=RED>HackGen</b> Console NFJ:style=Bold | /home/tomoyan/.local/share/fonts/<b class=RED>HackGen</b>ConsoleNFJ-Bold.ttf: <b class=RED>HackGen</b> Console NFJ:style=Bold</pre></html></WRAP> |
</pre></html></WRAP> | |
</WRAP> | </WRAP> |
※**fc-list** は **fontconfig** パッケージに含まれている🤔\\ <WRAP color_term> | ※**fc-list** は **fontconfig** パッケージに含まれている🤔\\ <WRAP color_term> |
<WRAP color_command><code> | <WRAP color_command><html><pre> |
$ sudo apt install fontconfig | <b class=GRN>$</b> <b class=HIY>sudo</b> apt install fontconfig |
</code></WRAP> | </pre></html></WRAP> |
</WRAP> | </WRAP> |
| |