<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Fix or improve docs on FcConfigAppFontAddDir or FcConfigAppFontAddFile return value"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86950">86950</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Fix or improve docs on FcConfigAppFontAddDir or FcConfigAppFontAddFile return value
</td>
</tr>
<tr>
<th>Product</th>
<td>fontconfig
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>library
</td>
</tr>
<tr>
<th>Assignee</th>
<td>fontconfig-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>freedesktop@behdad.org
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>freedesktop@behdad.org
</td>
</tr></table>
<p>
<div>
<pre>These functions return True of memory allocation didn't fail. This includes
the case that the file/directory name passed to them doesn't exist. This
confuses users of the API as they assume that a true return value means that
the font(s) were added.
We might be able to fix this to return False if the file/dir doesn't exist.
Might have a few surprises re fc-cache and related API, that might or might not
be improvements.
Or at least we should improve docs to note this.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>