bug fix - font needs to load before main