diff options
author | Phil Jones <philj56@gmail.com> | 2022-11-20 18:51:26 +0000 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-11-20 18:51:26 +0000 |
commit | 8fb1b007ebe93efb6bf6d928edfd235b086ed199 (patch) | |
tree | 3baaca8f535f831d4ca1e7b25b72507e882d40ef /src/entry_backend/harfbuzz.h | |
parent | cd424929714021de0186d40154cbf56ff6b5d423 (diff) |
Add --font-features option.
Diffstat (limited to 'src/entry_backend/harfbuzz.h')
-rw-r--r-- | src/entry_backend/harfbuzz.h | 4 |
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; }; |