diff options
author | Akira TAGOH <akira@tagoh.org> | 2020-05-25 18:22:18 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2020-05-25 18:22:55 +0900 |
commit | 68d021b634d1bc53cf3ec1bd28a306500c68c23a (patch) | |
tree | 1e8a227d02570893d6520e38e4fd64271a4ae805 /fontconfig | |
parent | 528b17b2837c3b102acd90cc7548d07bacaccb1f (diff) | |
download | fontconfig-68d021b634d1bc53cf3ec1bd28a306500c68c23a.tar.gz |
Add FC_ORDER property into cache
"fontversion" used to be modified to sort out fonts as a technique.
But that lost the original purpose to do the version control between
releases.
This change adds the dedicated property into the cache.
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/226
Diffstat (limited to 'fontconfig')
-rw-r--r-- | fontconfig/fontconfig.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fontconfig/fontconfig.h b/fontconfig/fontconfig.h index c795245..50ecdf8 100644 --- a/fontconfig/fontconfig.h +++ b/fontconfig/fontconfig.h @@ -127,6 +127,7 @@ typedef int FcBool; #define FC_HASH "hash" /* String (deprecated) */ #define FC_POSTSCRIPT_NAME "postscriptname" /* String */ #define FC_FONT_HAS_HINT "fonthashint" /* Bool - true if font has hinting */ +#define FC_ORDER "order" /* Integer */ #define FC_CACHE_SUFFIX ".cache-" FC_CACHE_VERSION #define FC_DIR_CACHE_FILE "fonts.cache-" FC_CACHE_VERSION |