mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 18:51:41 +02:00
Fix shaping test
This commit is contained in:
@@ -998,6 +998,8 @@ test_shape(PyObject UNUSED *self, PyObject *args) {
|
|||||||
if (face == NULL) return NULL;
|
if (face == NULL) return NULL;
|
||||||
font = calloc(1, sizeof(Font));
|
font = calloc(1, sizeof(Font));
|
||||||
font->face = face;
|
font->face = face;
|
||||||
|
font->hb_features[0] = hb_features[CALT_FEATURE];
|
||||||
|
font->num_hb_features = 1;
|
||||||
} else {
|
} else {
|
||||||
FontGroup *fg = font_groups;
|
FontGroup *fg = font_groups;
|
||||||
font = fg->fonts + fg->medium_font_idx;
|
font = fg->fonts + fg->medium_font_idx;
|
||||||
|
|||||||
Reference in New Issue
Block a user