cairo-ft: remove all usages of cairo-ft

This commit is contained in:
Daniel Eklöf 2019-07-28 12:45:01 +02:00
parent c399c329b6
commit 175dc9cf94
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 4 additions and 78 deletions

View file

@ -61,15 +61,17 @@ gseq_flush(struct terminal *term, struct buffer *buf)
if (gseq.count == 0)
return;
assert(NULL);
struct rgb fg = color_hex_to_rgb(gseq.foreground);
if (gseq.attrs.dim)
color_dim(&fg);
#if 0
cairo_set_scaled_font(buf->cairo, attrs_to_font(term, &gseq.attrs)->font);
cairo_set_source_rgb(buf->cairo, fg.r, fg.g, fg.b);
cairo_show_glyphs(buf->cairo, gseq.glyphs, gseq.count);
#endif
gseq.g = gseq.glyphs;
gseq.count = 0;
}