diff options
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); |
