[Fontconfig] FC_LIB_VERSION?

Behdad Esfahbod behdad at behdad.org
Sun Dec 17 18:26:43 UTC 2017


Hi,

Should we add a FC_LIB_VERISION "libversion" element that is automatically
(ideally before FcDefaultSubstitute; but how?) set to fontconfig library
version as returned by FC_VERSION?  This would allow third-party config
files to behave correctly with different versions of the library.  This was
motivated by seeing Twemoji's config file for example, which is needed for
older versions of fontconfig that didn't have proper emoji support, but not
with newer versions...

A constant is probably more appropriate, but a pattern element. But don't
know if those can be tested easily.

-- 
behdad
http://behdad.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig/attachments/20171217/7159af9c/attachment.html>


More information about the Fontconfig mailing list