From 4302d3eb680e1bd88724b8d67a6659f44bcdf789 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 29 Jul 2019 20:10:55 +0200 Subject: font: set FT load and render flags from FontConfig properties --- font.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'font.h') diff --git a/font.h b/font.h index c02e4ac1..192640a9 100644 --- a/font.h +++ b/font.h @@ -1,9 +1,11 @@ #pragma once #include +#include + #include "terminal.h" bool font_from_name(const char *name, struct font *result); bool font_glyph_for_utf8( - const struct font *font, const char *utf8, struct glyph *glyph); + struct font *font, const char *utf8, struct glyph *glyph); void font_destroy(struct font *font); -- cgit v1.3