On Mon, Dec 18, 2017 at 8:12 AM, Akira TAGOH <akira@xxxxxxxxx> wrote:
On Mon, Dec 18, 2017 at 3:26 AM, Behdad Esfahbod <behdad@xxxxxxxxxx> wrote:
> Hi,
>
> Should we add a FC_LIB_VERISION "libversion" element that is automatically
> (ideally before FcDefaultSubstitute; but how?) set to fontconfig library
maybe doing that in the config file and read it early or put it in
fonts.conf where is earlier than reading sub dirs? I have no idea more
than that at this moment.
Sounds good.
I wonder if the library should warn if the config seems to be from another library version...
> 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
> Fontconfig@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/fontconfig
>
--
Akira TAGOH
--
behdad
http://behdad.org/
http://behdad.org/
_______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/fontconfig