看到各种字体配置方案里面都有刷新字体缓存的命令: sudo fc-cache -f
不是很知道这个字体缓存是什么东西? 重启电脑不能刷新字体缓存么?
弱弱地问一声: 刷新字体有什么用阿?
- cheneymx
- 帖子: 159
- 注册时间: 2007-03-13 4:59
- 来自: Erlangen
-
- 帖子: 1897
- 注册时间: 2006-09-12 14:09
- iblicf
- 帖子: 3766
- 注册时间: 2007-01-15 17:15
字体文件: *.ttf <---> 字体在哪?如何画字体? fontconfig <--->渲染引擎(具体画出来): xft
字体包含一些“属性”比如 ...名字,风格,粗斜 ... fontconfig/xft 需要用到 , fc-cache 生成这样一个描述信息
可以用 fc-cat |more 看看 , 它按字体目录做成cache 文件放在 /var/cache/fontconfig
以上是我的理解,不一定准确 ..
字体包含一些“属性”比如 ...名字,风格,粗斜 ... fontconfig/xft 需要用到 , fc-cache 生成这样一个描述信息
代码: 全选
iblicf@gentoo ~/.fonts $ fc-cache -help
usage: fc-cache [-frsvV?] [--force|--really-force] [--system-only] [--verbose] [--version] [--help] [dirs]
Build font information caches in [dirs]
(all directories in font configuration by default).
-f, --force scan directories with apparently valid caches
-r, --really-force erase all existing caches, then rescan
-s, --system-only scan system-wide directories only
-v, --verbose display status information while busy
-V, --version display font config version and exit
-?, --help display this help and exit
以上是我的理解,不一定准确 ..
上次由 iblicf 在 2007-09-21 20:01,总共编辑 1 次。
-
- 帖子: 1897
- 注册时间: 2006-09-12 14:09
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
- cheneymx
- 帖子: 159
- 注册时间: 2007-03-13 4:59
- 来自: Erlangen
- czdj2000
- 帖子: 78
- 注册时间: 2006-12-28 9:50