只是学习,然后尝试在我的系统中安装新字体。
到目前为止,我已经创建了一个目录“ fonts”,并将“ oregon”字体解压缩到该文件夹中。现在,字体在/ home / denny / fonts中。
如何将这些字体移动到/ usr / share / fonts?我还在此字体目录中创建了一个新文件夹“ oregon”。我认为所有默认字体都在此目录中。
我知道我在这里错过了一些东西。
谢谢丹尼
在home
目录中创建一个名为的文件夹.fonts
:
mkdir /home/$USER/.fonts
解压缩文件并将其移动到那里。现在从终端运行命令:
fc-cache -v
fc-cache-64 -v
并且该字体现在应该可用。
更多信息,请参见man fc-cache
:
DESCRIPTION
fc-cache scans the font directories on the system and builds font information cache files for applications using fontconfig
for their font handling.
If directory arguments are not given, fc-cache uses each directory in the current font configuration. Each directory is
scanned for font files readable by FreeType. A cache is created which contains properties of each font and the associated
filename. This cache is used to speed up application startup when using the fontconfig library.
Note that fc-cache must be executed once per architecture to generate font information customized for that architecture.
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句