diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-29 18:10:55 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-29 18:10:55 +0000 |
| commit | 4302d3eb680e1bd88724b8d67a6659f44bcdf789 (patch) | |
| tree | d70328d758ff8b22508425b0a7b848f63e1dccf1 /font.h | |
| parent | font: 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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |
