fcft: fcft_glyph_for_wc() has been renamed to fcft_glyph_rasterize()

This commit is contained in:
Daniel Eklöf 2020-04-24 10:53:34 +02:00
parent 0b2006ecd5
commit f736d467d9
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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;