fixed font path for empty fontname
removed mprintf.h