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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/entry_backend/harfbuzz.h b/src/entry_backend/harfbuzz.h
index 68bb443..4c45195 100644
--- a/src/entry_backend/harfbuzz.h
+++ b/src/entry_backend/harfbuzz.h
@@ -7,6 +7,8 @@
#include FT_FREETYPE_H
#include <harfbuzz/hb.h>
+#define MAX_FONT_FEATURES 16
+
struct entry;
struct entry_backend_harfbuzz {
@@ -17,6 +19,8 @@ struct entry_backend_harfbuzz {
hb_font_t *hb_font;
hb_buffer_t *hb_buffer;
+ hb_feature_t hb_features[MAX_FONT_FEATURES];
+ uint8_t num_features;
bool disable_hinting;
};