core/src/font.c
#include <SDL3/SDL.h> #include <SDL3_ttf/SDL_ttf.h> #include "apl385.h" #include "font.h" TTF_Font *font; void load_font() { SDL_IOStream *io = SDL_IOFromConstMem(apl385_ttf, apl385_ttf_len); font = TTF_OpenFontIO(io, true, FONT_SIZE); }