diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-28 10:09:22 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-28 10:09:22 +0000 |
| commit | cb02c9cf416815c5d55254d3c81647b28ca0aa47 (patch) | |
| tree | 8ae0eafee7802438b8a60199f55f167df19349b4 /font.h | |
| parent | render: poc: use freetype to render glyphs (diff) | |
font: load FreeType face, and set it's pixel sizes
Diffstat (limited to 'font.h')
| -rw-r--r-- | font.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,6 @@ #pragma once -#include <cairo.h> +#include <stdbool.h> +#include "terminal.h" -cairo_scaled_font_t *font_from_name(const char *name); +bool font_from_name(const char *name, struct font *result); |
