diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-01-15 18:39:48 -0500 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-02-13 16:54:06 -0800 |
commit | 6bffe1a95bfd6609358d38590ad638c688232575 (patch) | |
tree | 515b3053dcda6bab42b7a343572a85e3804f4f31 /doc | |
parent | 4074fd254e5ad707448d3665a034e0fbdf6de033 (diff) |
Add fc-scan too that runs FcFileScan/FcDirScan
This is quite similar to fc-query, but calling FcFileScan/FcDirScan instead
of FcFreeTypeQuery.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/fcfile.fncs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/fcfile.fncs b/doc/fcfile.fncs index 7a98044..1f324b1 100644 --- a/doc/fcfile.fncs +++ b/doc/fcfile.fncs @@ -29,7 +29,7 @@ @TYPE3@ FcFileCache * @ARG3@ cache @TYPE4@ FcBlanks * @ARG4@ blanks @TYPE5@ const FcChar8 * @ARG5@ file -@TYPE6@ FcBool% @ARG6@ force +@TYPE6@ FcBool% @ARG6@ force @PURPOSE@ scan a font file @DESC@ Scans a single file and adds all fonts found to <parameter>set</parameter>. @@ -61,15 +61,15 @@ returns FcFalse. @TYPE3@ FcFileCache * @ARG3@ cache @TYPE4@ FcBlanks * @ARG4@ blanks @TYPE5@ const FcChar8 * @ARG5@ dir -@TYPE6@ FcBool% @ARG6@ force -@PURPOSE@ DEPRECATED: formerly used to scan a font directory +@TYPE6@ FcBool% @ARG6@ force +@PURPOSE@ scan a font directory without caching it @DESC@ -This function does nothing aside from returning FcFalse. It used to scan an -entire directory and add all fonts found to -<parameter>set</parameter>. If <parameter>force</parameter> was FcTrue, then -the directory and all files within it were scanned even if information was -present in the per-directory cache file or <parameter>cache</parameter>. Any -subdirectories found were added to <parameter>dirs</parameter>. +If <parameter>cache</parameter> is not zero or if <parameter>force</parameter> +is FcFalse, this function currently returns FcFalse. Otherwise, it scans an +entire directory and adds all fonts found to <parameter>set</parameter>. +Any subdirectories found are added to <parameter>dirs</parameter>. Calling +this function does not create any cache files. Use FcDirCacheRead() if +caching is desired. @@ @RET@ FcBool |