差分
このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン | ||
linux:fonts [2021/11/30 12:56] – 作成 ともやん | linux:fonts [2023/09/06 15:20] (現在) – [フォントのダウンロード] ともやん | ||
---|---|---|---|
行 1: | 行 1: | ||
====== フォント ====== | ====== フォント ====== | ||
+ | [[: | ||
+ | |||
+ | ===== Linux でのフォントのインストール ===== | ||
+ | ここでは、[[open_source: | ||
+ | |||
+ | ==== フォントのダウンロード ==== | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
+ | % Total % Received % Xferd Average Speed | ||
+ | | ||
+ | 0 | ||
+ | 100 23.0M 100 23.0M 0 | ||
+ | </ | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
+ | % Total % Received % Xferd Average Speed | ||
+ | | ||
+ | 0 | ||
+ | 100 38.5M 100 38.5M 0 | ||
+ | </ | ||
+ | |||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
+ | Archive: | ||
+ | | ||
+ | inflating: HackGen_NF_v2.9.0/ | ||
+ | inflating: HackGen_NF_v2.9.0/ | ||
+ | inflating: HackGen_NF_v2.9.0/ | ||
+ | inflating: HackGen_NF_v2.9.0/ | ||
+ | </ | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
+ | Archive: | ||
+ | | ||
+ | inflating: HackGen_v2.9.0/ | ||
+ | inflating: HackGen_v2.9.0/ | ||
+ | inflating: HackGen_v2.9.0/ | ||
+ | inflating: HackGen_v2.9.0/ | ||
+ | inflating: HackGen_v2.9.0/ | ||
+ | inflating: HackGen_v2.9.0/ | ||
+ | inflating: HackGen_v2.9.0/ | ||
+ | inflating: HackGen_v2.9.0/ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ==== インストール先確認 (フォントパス) ==== | ||
+ | 殆どの Linux ディストリビューションでは、Fontconfig が利用するフォントパスは < | ||
+ | <WRAP mintbl> | ||
+ | ^ フォントパス | ||
+ | | / | ||
+ | | / | ||
+ | | ~/ | ||
+ | | ~/ | ||
+ | </ | ||
+ | [[https:// | ||
+ | |||
+ | **Fedora**\\ | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result_long>< | ||
+ | <?xml version=" | ||
+ | < | ||
+ | <!-- / | ||
+ | < | ||
+ | < | ||
+ | |||
+ | <!-- | ||
+ | DO NOT EDIT THIS FILE. | ||
+ | IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED. | ||
+ | LOCAL CHANGES BELONG IN ' | ||
+ | |||
+ | The intent of this standard configuration file is to be adequate for | ||
+ | most environments. | ||
+ | have found problems with this configuration, | ||
+ | things that others will also want fixed. | ||
+ | to the fontconfig issue tracking system located at fontconfig.org | ||
+ | |||
+ | Note that the normal 'make install' | ||
+ | replace any existing fonts.conf file with the new version. | ||
+ | any local customizations in local.conf which this file references. | ||
+ | |||
+ | Keith Packard | ||
+ | --> | ||
+ | |||
+ | <!-- Font directory list --> | ||
+ | |||
+ | < | ||
+ | < | ||
+ | <dir prefix=" | ||
+ | <!-- the following element will be removed in the future --> | ||
+ | < | ||
+ | |||
+ | <!-- | ||
+ | Accept deprecated ' | ||
+ | --> | ||
+ | <match target=" | ||
+ | <test qual=" | ||
+ | < | ||
+ | </ | ||
+ | <edit name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <!-- | ||
+ | Accept alternate 'sans serif' spelling, replacing it with ' | ||
+ | --> | ||
+ | <match target=" | ||
+ | <test qual=" | ||
+ | < | ||
+ | </ | ||
+ | <edit name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <!-- | ||
+ | Accept deprecated ' | ||
+ | --> | ||
+ | <match target=" | ||
+ | <test qual=" | ||
+ | < | ||
+ | </ | ||
+ | <edit name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | <!-- | ||
+ | Accept alternate ' | ||
+ | --> | ||
+ | <match target=" | ||
+ | <test qual=" | ||
+ | < | ||
+ | </ | ||
+ | <edit name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <!-- | ||
+ | Load local system customization file | ||
+ | --> | ||
+ | < | ||
+ | |||
+ | <!-- Font cache directory list --> | ||
+ | |||
+ | < | ||
+ | < | ||
+ | <!-- the following element will be removed in the future --> | ||
+ | < | ||
+ | |||
+ | < | ||
+ | <!-- | ||
+ | Rescan configuration every 30 seconds when FcFontSetList is called | ||
+ | | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | **DietPi**\\ | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result_long>< | ||
+ | <?xml version=" | ||
+ | < | ||
+ | <!-- / | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | |||
+ | <!-- | ||
+ | DO NOT EDIT THIS FILE. | ||
+ | IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED. | ||
+ | LOCAL CHANGES BELONG IN ' | ||
+ | |||
+ | The intent of this standard configuration file is to be adequate for | ||
+ | most environments. | ||
+ | have found problems with this configuration, | ||
+ | things that others will also want fixed. | ||
+ | problems to the fontconfig bugzilla system located at fontconfig.org | ||
+ | |||
+ | Note that the normal 'make install' | ||
+ | replace any existing fonts.conf file with the new version. | ||
+ | any local customizations in local.conf which this file references. | ||
+ | |||
+ | Keith Packard | ||
+ | --> | ||
+ | |||
+ | <!-- Font directory list --> | ||
+ | |||
+ | < | ||
+ | < | ||
+ | <dir prefix=" | ||
+ | <!-- the following element will be removed in the future --> | ||
+ | < | ||
+ | |||
+ | <!-- | ||
+ | Accept deprecated ' | ||
+ | --> | ||
+ | <match target=" | ||
+ | <test qual=" | ||
+ | < | ||
+ | </ | ||
+ | <edit name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <!-- | ||
+ | Accept alternate 'sans serif' spelling, replacing it with ' | ||
+ | --> | ||
+ | <match target=" | ||
+ | <test qual=" | ||
+ | < | ||
+ | </ | ||
+ | <edit name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <!-- | ||
+ | Accept deprecated ' | ||
+ | --> | ||
+ | <match target=" | ||
+ | <test qual=" | ||
+ | < | ||
+ | </ | ||
+ | <edit name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <!-- | ||
+ | Ignore dpkg temporary files created in fonts directories | ||
+ | --> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <!-- | ||
+ | Load local system customization file | ||
+ | --> | ||
+ | <include ignore_missing=" | ||
+ | |||
+ | <!-- Font cache directory list --> | ||
+ | |||
+ | < | ||
+ | < | ||
+ | <!-- the following element will be removed in the future --> | ||
+ | < | ||
+ | |||
+ | < | ||
+ | <!-- | ||
+ | Rescan configuration every 30 seconds when FcFontSetList is called | ||
+ | | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== インストール ===== | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | ※**fc-list** は **fontconfig** パッケージに含まれている🤔\\ <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | </ | ||