mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-21 05:33:45 -04:00
font: set FT load and render flags from FontConfig properties
This commit is contained in:
parent
fe882bddba
commit
4302d3eb68
4 changed files with 129 additions and 21 deletions
4
font.h
4
font.h
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue