src/test/font/sysfont.c
static int check_has_sysfont(void)
{
    int test = font_create_sysfont("", 10, 0);
    font_destroy(test);
    return test != 0;
}
/* Check whether system-provided fonts are available.  On some systems,
 * this requires the graphics subsystem to be initialized, so we call this
 * with a window open using run_tests_in_window(). */
Check whether system-provided fonts are available.  On some systems,
this requires the graphics subsystem to be initialized, so we call this
with a window open using run_tests_in_window().
Check whether system - provided fonts are available . On some systems this requires the graphics subsystem to be initialized so we call this with a window open using run_tests_in_window () .
static int check_has_sysfont(void)
{
    int test = font_create_sysfont("", 10, 0);
    font_destroy(test);
    return test != 0;
}
static int check_has_sysfont ( void ) { int test = font_create_sysfont ( " " , 10 , 0 ) ; font_destroy ( test ) ; return test != 0 ; }
Check whether system-provided fonts are available.
Check whether system - provided fonts are available .