From 685497fc8c07f69c32b88ece7df0726bcbddb054 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 10 Aug 2019 08:58:02 +0530 Subject: [PATCH] Fix shaping test --- kitty/fonts.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kitty/fonts.c b/kitty/fonts.c index 63d18e126..1287a39b2 100644 --- a/kitty/fonts.c +++ b/kitty/fonts.c @@ -998,6 +998,8 @@ test_shape(PyObject UNUSED *self, PyObject *args) { if (face == NULL) return NULL; font = calloc(1, sizeof(Font)); font->face = face; + font->hb_features[0] = hb_features[CALT_FEATURE]; + font->num_hb_features = 1; } else { FontGroup *fg = font_groups; font = fg->fonts + fg->medium_font_idx;