src/font.c

changeset 88
6234b7ea48f3
parent 86
943bf9d7c6d6
--- a/src/font.c	Sat Apr 19 19:30:46 2025 +0200
+++ b/src/font.c	Sun Apr 20 15:41:16 2025 +0200
@@ -90,6 +90,7 @@
     struct asc_font_cache_entry entry;
     entry.font = font;
     cxmutstr fpath = asc_filesystem_combine_paths(cx_strcast(asc_context.font_path), cx_str(asc_font_filename(font.style)));
+    asc_dprintf("Load font from %" CX_PRIstr, CX_SFMT(fpath));
     entry.ttf = TTF_OpenFont(fpath.ptr, font.size);
     cx_strfree(&fpath);
     if (entry.ttf == NULL) {

mercurial