mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-21 01:40:16 -05:00
cairo-ft: remove all usages of cairo-ft
This commit is contained in:
parent
c399c329b6
commit
175dc9cf94
5 changed files with 4 additions and 78 deletions
4
render.c
4
render.c
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue