diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2017-09-16 13:45:02 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2017-09-20 13:21:13 -0700 |
commit | 2544bc5343d84a1f7e793cdae3569150b0ec3d05 (patch) | |
tree | 50a56a3f589c0acf58dcee5b426359a887bcce9e /fontconfig | |
parent | c2fcde498a8b7dec012a8da8ffa78f72a65ac50d (diff) |
Add FcDontCare value to FcBool
This can be used for FC_VARIABLE=FcDontCare for example, to opt into getting
variable fonts for clients that support using them.
Diffstat (limited to 'fontconfig')
-rw-r--r-- | fontconfig/fontconfig.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fontconfig/fontconfig.h b/fontconfig/fontconfig.h index 56091ac6..0f4dcb96 100644 --- a/fontconfig/fontconfig.h +++ b/fontconfig/fontconfig.h @@ -72,8 +72,9 @@ typedef int FcBool; #define _FC_STRINGIFY(s) _FC_STRINGIFY_(s) #define FC_CACHE_VERSION _FC_STRINGIFY(FC_CACHE_VERSION_NUMBER) -#define FcTrue 1 #define FcFalse 0 +#define FcTrue 1 +#define FcDontCare 2 #define FC_FAMILY "family" /* String */ #define FC_STYLE "style" /* String */ |