diff options
| author | Riley Beckett <rbeckettvt@gmail.com> | 2025-10-12 00:35:52 -0400 |
|---|---|---|
| committer | Riley Beckett <rbeckettvt@gmail.com> | 2025-10-12 01:53:54 -0400 |
| commit | 91759767b0c7793060f447fd545b639cf91b7ae3 (patch) | |
| tree | 352721239f5fccde336aec48d6ff6acdb3fbd6ed /main.c | |
| parent | d58f2e870b8f998262609b98f91d290b65ab80d3 (diff) | |
freetype/fontconfig base
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -6,6 +6,7 @@ #include "wayland.h" #include "graphics.h" #include "input_field.h" +#include "font.h" void poll_events(client_state* state); @@ -34,6 +35,13 @@ int main() { return 1; } + char* font = get_font("Monospace"); + printf("font: %s\n", font); + if (!init_freetype(&state, font)) { + fprintf(stderr, "Failed to Initalize FreeType\n"); + } + free(font); + // event loop while (state.running) { poll_events(&state); |
