<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Dec 18, 2017 at 8:12 AM, Akira TAGOH <span dir="ltr"><<a href="mailto:akira@tagoh.org" target="_blank">akira@tagoh.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Dec 18, 2017 at 3:26 AM, Behdad Esfahbod <<a href="mailto:behdad@behdad.org">behdad@behdad.org</a>> wrote:<br>
> Hi,<br>
><br>
> Should we add a FC_LIB_VERISION "libversion" element that is automatically<br>
> (ideally before FcDefaultSubstitute; but how?) set to fontconfig library<br>
<br>
</span>maybe doing that in the config file and read it early or put it in<br>
fonts.conf where is earlier than reading sub dirs? I have no idea more<br>
than that at this moment.<span class=""><br></span></blockquote><div><br></div><div>Sounds good.<br><br></div><div>I wonder if the library should warn if the config seems to be from another library version...<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
> version as returned by FC_VERSION?  This would allow third-party config<br>
> files to behave correctly with different versions of the library.  This was<br>
> motivated by seeing Twemoji's config file for example, which is needed for<br>
> older versions of fontconfig that didn't have proper emoji support, but not<br>
> with newer versions...<br>
><br>
> A constant is probably more appropriate, but a pattern element. But don't<br>
> know if those can be tested easily.<br>
><br>
> --<br>
> behdad<br>
> <a href="http://behdad.org/" rel="noreferrer" target="_blank">http://behdad.org/</a><br>
><br>
</span>> ______________________________<wbr>_________________<br>
> Fontconfig mailing list<br>
> <a href="mailto:Fontconfig@lists.freedesktop.org">Fontconfig@lists.freedesktop.<wbr>org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/fontconfig" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/fontconfig</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Akira TAGOH<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">behdad<br><a href="http://behdad.org/" target="_blank">http://behdad.org/</a></div>
</div></div>