diff options
author | Phil Jones <philj56@gmail.com> | 2022-11-20 23:50:21 +0000 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-11-21 00:11:49 +0000 |
commit | 8ff917954773b293276c2eda31959acbecdc2421 (patch) | |
tree | 8ddbb35065032831faa0153a8a8fb25c4fd56137 /src/entry_backend/harfbuzz.h | |
parent | 8fb1b007ebe93efb6bf6d928edfd235b086ed199 (diff) |
Add --font-variations option.
Diffstat (limited to 'src/entry_backend/harfbuzz.h')
-rw-r--r-- | src/entry_backend/harfbuzz.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/entry_backend/harfbuzz.h b/src/entry_backend/harfbuzz.h index 4c45195..17b5945 100644 --- a/src/entry_backend/harfbuzz.h +++ b/src/entry_backend/harfbuzz.h @@ -7,6 +7,7 @@ #include FT_FREETYPE_H #include <harfbuzz/hb.h> +#define MAX_FONT_VARIATIONS 16 #define MAX_FONT_FEATURES 16 struct entry; @@ -19,7 +20,9 @@ struct entry_backend_harfbuzz { hb_font_t *hb_font; hb_buffer_t *hb_buffer; + hb_variation_t hb_variations[MAX_FONT_VARIATIONS]; hb_feature_t hb_features[MAX_FONT_FEATURES]; + uint8_t num_variations; uint8_t num_features; bool disable_hinting; |