mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-22 05:33:45 -04:00
font: load FreeType face, and set it's pixel sizes
This commit is contained in:
parent
90d357befb
commit
cb02c9cf41
6 changed files with 63 additions and 25 deletions
5
font.h
5
font.h
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue