From cb02c9cf416815c5d55254d3c81647b28ca0aa47 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 28 Jul 2019 12:09:22 +0200 Subject: font: load FreeType face, and set it's pixel sizes --- terminal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'terminal.h') diff --git a/terminal.h b/terminal.h index 1971d3f4..ed8adf0d 100644 --- a/terminal.h +++ b/terminal.h @@ -6,6 +6,9 @@ #include +#include +#include FT_FREETYPE_H + #include #include #include @@ -209,6 +212,7 @@ struct glyph_cache { }; struct font { + FT_Face face; cairo_scaled_font_t *font; struct { double position; -- cgit v1.3