diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-29 18:12:33 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-29 18:12:33 +0000 |
| commit | d1b88f67e463fa2443efe903c3e2e736dd7282f3 (patch) | |
| tree | d70328d758ff8b22508425b0a7b848f63e1dccf1 /font.h | |
| parent | render: reset "last cursor" when resizing (diff) | |
| parent | font: set FT load and render flags from FontConfig properties (diff) | |
Merge branch 'use-freetype-to-render-glyphs'
Diffstat (limited to 'font.h')
| -rw-r--r-- | font.h | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -1,5 +1,11 @@ #pragma once -#include <cairo.h> +#include <stdbool.h> +#include <threads.h> -cairo_scaled_font_t *font_from_name(const char *name); +#include "terminal.h" + +bool font_from_name(const char *name, struct font *result); +bool font_glyph_for_utf8( + struct font *font, const char *utf8, struct glyph *glyph); +void font_destroy(struct font *font); |
