diff options
author | Akira TAGOH <akira@tagoh.org> | 2014-12-09 19:06:46 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2014-12-09 19:06:46 +0900 |
commit | 32ac7c75e8db0135ef37cf86f92d8b9be000c8bb (patch) | |
tree | 40936d06b364ffc4b1f3825fd01760522df53a14 /doc | |
parent | b732bf057f4b3ec3bac539803005e9c42d056b2a (diff) |
Returns False if no fonts found
https://bugs.freedesktop.org/show_bug.cgi?id=86950
Diffstat (limited to 'doc')
-rw-r--r-- | doc/fcconfig.fncs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/fcconfig.fncs b/doc/fcconfig.fncs index 10f5afc7..af328fc7 100644 --- a/doc/fcconfig.fncs +++ b/doc/fcconfig.fncs @@ -219,8 +219,9 @@ If <parameter>config</parameter> is NULL, the current configuration is used. @PURPOSE@ Add font file to font database @DESC@ Adds an application-specific font to the configuration. Returns FcFalse -if the fonts cannot be added (due to allocation failure). Otherwise returns FcTrue. -If <parameter>config</parameter> is NULL, the current configuration is used. +if the fonts cannot be added (due to allocation failure or no fonts found). +Otherwise returns FcTrue. If <parameter>config</parameter> is NULL, +the current configuration is used. @@ @RET@ FcBool @@ -231,8 +232,9 @@ If <parameter>config</parameter> is NULL, the current configuration is used. @DESC@ Scans the specified directory for fonts, adding each one found to the application-specific set of fonts. Returns FcFalse -if the fonts cannot be added (due to allocation failure). Otherwise returns FcTrue. -If <parameter>config</parameter> is NULL, the current configuration is used. +if the fonts cannot be added (due to allocation failure or no fonts found). +Otherwise returns FcTrue. If <parameter>config</parameter> is NULL, +the current configuration is used. @@ @RET@ void |