aboutsummaryrefslogtreecommitdiff
path: root/font.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-29 18:10:55 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-29 18:10:55 +0000
commit4302d3eb680e1bd88724b8d67a6659f44bcdf789 (patch)
treed70328d758ff8b22508425b0a7b848f63e1dccf1 /font.h
parentfont: populate glyph cache (ASCII characters only) when instantiating font (diff)
font: set FT load and render flags from FontConfig properties
Diffstat (limited to 'font.h')
-rw-r--r--font.h4
1 files changed, 3 insertions, 1 deletions
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 <stdbool.h>
+#include <threads.h>
+
#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);