diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2017-09-12 10:39:20 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2017-09-20 13:13:35 -0700 |
commit | 80e155c1c042d080772447d92c146501662ab85e (patch) | |
tree | 53f851254a4555670ab2c1317373b8a2e26aee9b /fontconfig | |
parent | de00bdb01f1c879b4d55d5f7ef31dfea0049a34b (diff) |
[varfonts] Add FC_FONT_VARIATIONS
This is for clients to passthru font variation settings. Modeled
similar to FC_FONT_FEATURES. Each element value is for one axis
settings, eg. "abcd=2.3" where 'abcd' is the OpenType Font Variations
axis tag.
Needs docs update.
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 f085aa05..f4635aa7 100644 --- a/fontconfig/fontconfig.h +++ b/fontconfig/fontconfig.h @@ -119,6 +119,7 @@ typedef int FcBool; #define FC_DECORATIVE "decorative" /* Bool - true if style is a decorative variant */ #define FC_LCD_FILTER "lcdfilter" /* Int */ #define FC_FONT_FEATURES "fontfeatures" /* String */ +#define FC_FONT_VARIATIONS "fontvariations" /* String */ #define FC_NAMELANG "namelang" /* String RFC 3866 langs */ #define FC_PRGNAME "prgname" /* String */ #define FC_HASH "hash" /* String (deprecated) */ |