unicode-combining: completely remove unicode combining characters when feature is disabled

This commit is contained in:
Daniel Eklöf 2020-05-01 12:05:38 +02:00
parent 66e5abdda3
commit 3474624c2c
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 26 additions and 2 deletions

View file

@ -442,6 +442,7 @@ render_cell(struct terminal *term, pixman_image_t *pix,
}
}
#if FOOT_UNICODE_COMBINING
/* Combining characters */
const struct combining_chars *comb_chars = &row->comb_chars[col];
for (size_t i = 0; i < comb_chars->count; i++) {
@ -461,6 +462,7 @@ render_cell(struct terminal *term, pixman_image_t *pix,
g->width, g->height);
pixman_image_unref(src);
}
#endif
/* Underline */
if (cell->attrs.underline) {