[Fontconfig] fontconfig: Branch 'main'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Aug 24 09:39:48 UTC 2021

 fontconfig/fontconfig.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5d84745e7209d4c612302652723f92addfbb3364
Author: Akira TAGOH <akira at tagoh.org>
Date:   Tue Aug 24 18:22:30 2021 +0900

    Bump the cache version to 8
    Bump the cache version to avoid unexpected behavior in
    older version of fontconfig.
    There was no real incompatible features introduced in a cache.
    But the older version of fontconfig can't deal with variable fonts
    and then it failed. To avoid this breakage, you may want to choose
    one of options like:
    1) Applying this change to fontconfig in host and remove all the
    fontconfig caches and then regenerate them by fc-cache linked with
    older one and new one. or simply run applications.
    You'll see two versions of caches in the cache directories.
    2) Remove variable fonts on system and remove all the fontconfig
    caches too. then regenerate caches. You'll still see one version of
    caches there but without the entries of variable fonts.
    After that, the problem should be gone.

diff --git a/fontconfig/fontconfig.h b/fontconfig/fontconfig.h
index 1ae34ae..790f83d 100644
--- a/fontconfig/fontconfig.h
+++ b/fontconfig/fontconfig.h
@@ -67,7 +67,7 @@ typedef int		FcBool;
  * it means multiple copies of the font information.
 #define _FC_STRINGIFY_(s)    	#s
 #define _FC_STRINGIFY(s)    	_FC_STRINGIFY_(s)

More information about the Fontconfig mailing list