aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'render.c')
-rw-r--r--render.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/render.c b/render.c
index 7aede98d..32f5669c 100644
--- a/render.c
+++ b/render.c
@@ -404,7 +404,7 @@ render_cell(struct terminal *term, pixman_image_t *pix,
struct fcft_font *font = attrs_to_font(term, &cell->attrs);
const struct fcft_glyph *glyph = cell->wc != 0
- ? fcft_glyph_for_wc(font, cell->wc, term->font_subpixel)
+ ? fcft_glyph_rasterize(font, cell->wc, term->font_subpixel)
: NULL;
int cell_cols = glyph != NULL ? max(1, glyph->cols) : 1;
@@ -1553,7 +1553,9 @@ render_search_box(struct terminal *term)
if (i == term->search.cursor)
draw_bar(term, buf->pix, font, &fg, x, y);
- const struct fcft_glyph *glyph = fcft_glyph_for_wc(font, term->search.buf[i], true);
+ const struct fcft_glyph *glyph = fcft_glyph_rasterize(
+ font, term->search.buf[i], true);
+
if (glyph == NULL)
continue;