<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:freedesktop@behdad.org" title="Behdad Esfahbod <freedesktop@behdad.org>"> <span class="fn">Behdad Esfahbod</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Make fontconfig scanning faster"
href="https://bugs.freedesktop.org/show_bug.cgi?id=64766">bug 64766</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>freedesktop@behdad.org
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Make fontconfig scanning faster"
href="https://bugs.freedesktop.org/show_bug.cgi?id=64766#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Make fontconfig scanning faster"
href="https://bugs.freedesktop.org/show_bug.cgi?id=64766">bug 64766</a>
from <span class="vcard"><a class="email" href="mailto:freedesktop@behdad.org" title="Behdad Esfahbod <freedesktop@behdad.org>"> <span class="fn">Behdad Esfahbod</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=64766#c1">comment #1</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=64766#c0">comment #0</a>)
> > Looking at profiler output, most time when scanning a font is spent inside
> > of freetype below FT_Load_Glyph. (Something about running the truetype
> > bytecode interpreter...) Is that really needed for basic fontconfig
> > functionality?
>
> That is required to let fontconfig know what the glyph coverage a font has.</span >
We should force hinting off though.
<span class="quote">> > The 2nd case is worse: changing a single file in a directory containing
> > fonts forces the whole directory to be scanned. Can't caching be done on a
> > per-file basis?
>
> I don't see what you really mean. in fact fontconfig do cache a font per
> file.</span >
When a directory changes, we rescan the entire directory to rebuild the cache
for that dir.
<span class="quote">> > For some users this is a deal breaker, and they're asking for hacks to
> > remove fontconfig usage etc. It would be nice if fontconfig could solve this
> > issue by optimizing the scan process and making the caching more clever.
>
> I don't know how often it happens though, they may see something like
> annoyance in fontconfig without creating a cache before doing something on
> their fontconfig-based applications. this is why fontconfig is going to
> create a cache though.</span ></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>