Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3149987
  • 博文数量: 117
  • 博客积分: 10003
  • 博客等级: 上将
  • 技术积分: 5405
  • 用 户 组: 普通用户
  • 注册时间: 2007-01-23 09:34
文章分类

全部博文(117)

文章存档

2011年(1)

2010年(10)

2009年(69)

2008年(37)

分类: LINUX

2009-10-20 15:53:09

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. On a subsequent run, fc-cache will augment the cache information files with the information for the new architecture.

Options

This program follows the usual GNU command line syntax, with long options starting with two dashes ('-'). A summary of options is included below.

-f --force
Force re-generation of apparently up-to-date cache files, overriding the timestamp checking.
-s --system-only
Only scan system-wide directories, omitting the places located in the user's home directory.
-v --verbose
Display status information while busy.
-? --help
Show summary of options.
-V --version
Show version of the program and exit.
dirs
A list of directories to scan for fonts.

Files

fonts.cache-2
These files are generated by fc-cache and contain maps from file names to font properties. They are read by the fontconfig library at application startup to locate appropriate fonts.

See Also

fc-list (1).

The fontconfig user's guide, in HTML format: /usr/share/doc/fontconfig/fontconfig-user.html.

Author

This manual page was written by Keith Packard <> and Josselin Mouette <>.

阅读(13220) | 评论(0) | 转发(0) |
0

上一篇:firefoxpreloader

下一篇:python 程序的优化

给主人留下些什么吧!~~