mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-06 01:40:22 -05:00
unicode-combining: completely remove unicode combining characters when feature is disabled
This commit is contained in:
parent
66e5abdda3
commit
3474624c2c
5 changed files with 26 additions and 2 deletions
2
render.c
2
render.c
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue