adjust imgui font system
[vg.git] / vg_build.h
index 7dd34b9b224f887a32e1297e68cd196ff976fb6b..b40ecd3c23545040484f0ed8bb560f085ce3f7a9 100644 (file)
@@ -9,6 +9,7 @@
 #include "vg_opt.h"
 #include "vg_log.h"
 #include "vg_string.h"
+#include "vg_build_font.h"
 
 /* we dont free dynamic vg_strs in this program. so, we dont care.. */
 const char *__asan_default_options() { return "detect_leaks=0"; }
@@ -448,6 +449,9 @@ vg_engine_default_config = {
 
 void vg_add_engine( struct vg_project *proj, struct vg_engine_config *config )
 {
+   /* building assets */
+   vg_build_default_font();
+
    if( !config ) config = &vg_engine_default_config;
    vg_str config_string;
    vg_strnull( &config_string, NULL, -1 );