aboutsummaryrefslogtreecommitdiff
path: root/font.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-28 19:03:38 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-28 19:03:38 +0000
commitfe882bddbab2b3c75220976ba01cc998773fdfa5 (patch)
treeaf15d9b85202230687a94769c59a6b517ac112f8 /font.h
parentfont: add font_glyph_for_utf8() (diff)
font: populate glyph cache (ASCII characters only) when instantiating font
Diffstat (limited to 'font.h')
-rw-r--r--font.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/font.h b/font.h
index d8efd509..c02e4ac1 100644
--- a/font.h
+++ b/font.h
@@ -6,3 +6,4 @@
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);
+void font_destroy(struct font *font);