Document skipping of fonts from FcFileScan/FcDirScan.

FcFileScan and FcDirScan will skip fonts under direction of the
configuration and default fontconfig policy.
This commit is contained in:
Keith Packard 2007-11-03 13:44:59 -07:00
parent 5d82c4c85d
commit 2ddce88cde
1 changed files with 5 additions and 2 deletions

View File

@ -36,7 +36,8 @@ Scans a single file and adds all fonts found to <parameter>set</parameter>.
If <parameter>force</parameter> is FcTrue, then the file is scanned even if If <parameter>force</parameter> is FcTrue, then the file is scanned even if
associated information is found in <parameter>cache</parameter>. If associated information is found in <parameter>cache</parameter>. If
<parameter>file</parameter> is a directory, it is added to <parameter>file</parameter> is a directory, it is added to
<parameter>dirs</parameter>. <parameter>dirs</parameter>. Whether fonts are found depends on fontconfig
poliy as well as the current configuration.
@@ @@
@RET@ FcBool @RET@ FcBool
@ -53,7 +54,9 @@ Scans an entire directory and adds all fonts found to
<parameter>set</parameter>. If <parameter>force</parameter> is FcTrue, then <parameter>set</parameter>. If <parameter>force</parameter> is FcTrue, then
the directory and all files within it are scanned even if information is the directory and all files within it are scanned even if information is
present in the per-directory cache file or <parameter>cache</parameter>. Any present in the per-directory cache file or <parameter>cache</parameter>. Any
subdirectories found are added to <parameter>dirs</parameter>. subdirectories found are added to <parameter>dirs</parameter>. Whether fonts
or directories are found depends on fontconfig
policy as well as the current configuration.
@@ @@
@RET@ FcBool @RET@ FcBool