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 --- font.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'font.h') diff --git a/font.h b/font.h index d2b8274c..90a1b6a7 100644 --- a/font.h +++ b/font.h @@ -1,5 +1,6 @@ #pragma once -#include +#include +#include "terminal.h" -cairo_scaled_font_t *font_from_name(const char *name); +bool font_from_name(const char *name, struct font *result); -- cgit v1.3