summaryrefslogtreecommitdiff
path: root/src/entry_backend/harfbuzz.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/entry_backend/harfbuzz.h')
-rw-r--r--src/entry_backend/harfbuzz.h3
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;