<div dir="ltr">If your program detects duplicates updates the mtime of the directories, that triggers to rebuild caches as I said earlier. that isn't "nothing changed".<div><br></div><div>Anyway, we may need to think about this again. for instance, adding an API to enable/disable the cache updates automatically in fontconfig or get rid of it completely and giving a responsibility to the applications to do it may be good perhaps.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 29, 2016 at 2:22 PM, L. A. Walsh <span dir="ltr"><<a href="mailto:fonts@tlinx.org" target="_blank">fonts@tlinx.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Akira TAGOH wrote:<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Tue, Nov 29, 2016 at 8:40 AM, L. A. Walsh <<a href="mailto:fonts@tlinx.org" target="_blank">fonts@tlinx.org</a> <mailto:<a href="mailto:fonts@tlinx.org" target="_blank">fonts@tlinx.org</a>>> wrote:<br>
<br>
    Keith Packard wrote:<br>
<br>
        We might as well just stop attempting to automatically manage<br>
        the caches<br>
        and require that users run fc-cache manually whenever they<br>
        change the<br>
        set of installed fonts. That would push the whole problem out of<br>
        fontconfig and onto the user or distribution...<br>
         <br>
    ---<br>
       That would be preferable, since the user might want to install<br>
    100 fonts and then build a cache rather than have it rebuilt with<br>
    each font installed.<br>
<br>
<br>
That said you are facing this issue because you didn't do that.<br>
</blockquote></span>
---<br>
   I didn't install any fonts.<br>
<br>
   I ran a prog to look for duplicates and link them if<br>
it found any.<br>
<br>
   So reality is "nothing changed", but it regenerated the<br>
cache anyway.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
once we stop attempting to automatically creating/updating/removing caches, you'll see another problem, "hey, no fonts is available" ;)<br>
</blockquote></span>
----<br>
   Why doesn't windows have this problem?  At worse, they have to<br>
reboot, but usually, added fonts are available immediately.<span class=""><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thinking of seeing such issues many times, I'm wondering if leaving the cache creation to the users would be really a good idea.<br>
</blockquote></span>
====  Great -- yeah, never give users control of their computers -- treat<br>
them all like children.  If your prog didn't take so long to process 1<br>
new font, it wouldn't be an issue. <br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Akira TAGOH</div>
</div>