<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Make fontconfig cache relocatable"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101889#c39">Comment # 39</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Make fontconfig cache relocatable"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101889">bug 101889</a>
from <span class="vcard"><a class="email" href="mailto:alexl@redhat.com" title="Alexander Larsson <alexl@redhat.com>"> <span class="fn">Alexander Larsson</span></a>
</span></b>
<pre>I tried this a bit, and overall it seems to work great. Initial app startup is
much much faster.
However, there seem to be an issue remaining. If a system font is in a
subdirectory of /usr/share/fonts it will not be picked up, because the subdirs
in the cache are stored by absolute pathname too. I think we need to strip
cache->dir from the paths in cache->dirs[] and apply the real dir in when we
add the subdirs in FcConfigAddCache().</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>