mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-18 05:34:02 -04:00
font: font_from_name() returns an allocated font struct
This commit is contained in:
parent
3ca6f9fe0b
commit
a789230cf9
5 changed files with 21 additions and 17 deletions
2
font.h
2
font.h
|
|
@ -58,6 +58,6 @@ struct font {
|
|||
mtx_t lock;
|
||||
};
|
||||
|
||||
bool font_from_name(font_list_t names, const char *attributes, struct font *result);
|
||||
struct font *font_from_name(font_list_t names, const char *attributes);
|
||||
const struct glyph *font_glyph_for_wc(struct font *font, wchar_t wc);
|
||||
void font_destroy(struct font *font);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue