<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:timo.teras@iki.fi" title="Timo Teräs <timo.teras@iki.fi>"> <span class="fn">Timo Teräs</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>timo.teras@iki.fi
           </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#c33">Comment # 33</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:timo.teras@iki.fi" title="Timo Teräs <timo.teras@iki.fi>"> <span class="fn">Timo Teräs</span></a>
</span></b>
        <pre>(In reply to L A Walsh from <a href="show_bug.cgi?id=64766#c29">comment #29</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=64766#c3">comment #3</a>)
> > I have no idea how this can be improved though.
> ----
> Don't do it.

> Only scan the files that are newer than the directory change time.
> If no files are newer, no update.</span >

Please don't do this. When installing fonts via package manager (dpkg, apt,
yum, whatever) they will install new font, and set the timestamp to packaging
time, but the directory mtime is updated.

If possible use individual file's mtime and size, and compare against values
stored in cache. If either differs, the font file is dirty and needs
recalculation.</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>