Index: trunk/src/camv-rnd.c =================================================================== --- trunk/src/camv-rnd.c (revision 700) +++ trunk/src/camv-rnd.c (revision 701) @@ -111,9 +111,12 @@ rnd_hidlib_uninit(); /* plugin unload */ } +void camv_font_init(void); + static void camv_main_init(void) { camv.lysel = -1; + camv_font_init(); camv_plug_io_act_init(); } Index: trunk/src/obj_text.c =================================================================== --- trunk/src/obj_text.c (revision 700) +++ trunk/src/obj_text.c (revision 701) @@ -39,6 +39,13 @@ #include #include "ttf2bbox/ttf2bbox.h" +#include + +static rnd_font_t embf_, *embf = &embf_; + +#include "font_internal.c" + + static ttf2bbox_t ttf; static int def_fid, ttf_inited = 0; @@ -204,3 +211,7 @@ return res; } +void camv_font_init(void) +{ + rnd_font_load_internal(embf, embf_font, sizeof(embf_font) / sizeof(embf_font[0]), embf_minx, embf_miny, embf_maxx, embf_maxy); +}