FC_LIB_VERSION?

Behdad Esfahbod <[email protected]>
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <CAF63+7WF1CskVCFb7hC+eHVVAcrTHtTEUBSYD5LeH=_TKwgcMA@mail.gmail.com>
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/

_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.